Skip to content
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

Merged
merged 5 commits into from
Jan 31, 2024
Merged

fix: resolve source graph in separate query #151

merged 5 commits into from
Jan 31, 2024

Conversation

blake-regalia
Copy link
Contributor

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.

@dlamoris dlamoris linked an issue Jan 24, 2024 that may be closed by this pull request
}
}

bind(
Copy link
Contributor

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

Copy link
Contributor

@dlamoris dlamoris left a 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)

Copy link

@dlamoris dlamoris merged commit 712dbf7 into develop Jan 31, 2024
5 checks passed
@dlamoris dlamoris deleted the hotfix/0.1.2 branch January 31, 2024 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mitigate model load diff calculation issues on neptune
2 participants