-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: resolve source graph in separate query #151
Conversation
} | ||
} | ||
|
||
bind( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's no need for all the binds here since it's just getting srcgraph
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/Open-MBEE/flexo-mms-layer1-service/pull/151/files#diff-f2a7130214501d39d26dcd3aa11666bdc0b1dd468985297a7006936889535f12R270-R284
is no longer needed and for whatever reason neptune is doing, is still causing issues when there's 2 or more locks (?srcSnapshot can have multiple results)
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
Resolves
?srcGraph
in a separate query prior to the transaction to avoid a critical performance issue with Neptune. Checks to make sure the result is distinct (1 result) and substitutes the variable in the subsequent transaction update.