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

1404 race condition in cartographer subgraph queries #1414

Merged
merged 5 commits into from
Jun 14, 2022

Conversation

preethamr
Copy link
Collaborator

Description

There is a race condition between the cartographer queries to origin and destination side of the transfer. The end state of the transfer in the DB differs depends on the ordering of these two queries.

Type of change

  • Docs change / dependency upgrade
  • Configuration / tooling changes
  • Refactoring
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Requires changes in customer code

High-level change(s) description - from the user's perspective

Resolve race conditions and allow origin and destination side updates to DB be idempotent and order independent.

Related Issue(s)

#1404
Fixes
#1404

Related pull request(s)

@preethamr preethamr linked an issue Jun 14, 2022 that may be closed by this pull request
@preethamr preethamr requested a review from rhlsthrm June 14, 2022 10:24
@preethamr preethamr merged commit ea1310c into main Jun 14, 2022
@preethamr preethamr deleted the 1404-race-condition-in-cartographer-subgraph-queries branch June 14, 2022 15:24
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.

Race condition in cartographer subgraph queries
2 participants