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

Use single DB transaction for fetching ledger range and ledgers in getTransactions #338

Merged
merged 5 commits into from
Dec 17, 2024

Conversation

aditya1702
Copy link
Contributor

@aditya1702 aditya1702 commented Dec 13, 2024

What

Closes #334

Why

We want to get the same view of the db and avoid any race conditions when accessing without a db txn.

Known limitations

NA

@aditya1702 aditya1702 changed the title Use single DB transaction for fetching ledger range and ledgers Use single DB transaction for fetching ledger range and ledgers in getTransactions Dec 13, 2024
@aditya1702 aditya1702 self-assigned this Dec 13, 2024
@aditya1702 aditya1702 marked this pull request as ready for review December 13, 2024 22:12
Copy link
Contributor

@tamirms tamirms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me but we should investigate the integration test failures

@aditya1702
Copy link
Contributor Author

looks good to me but we should investigate the integration test failures

@tamirms The integration tests and e2e test failures are being investigated by @2opremio here - #339

@aditya1702 aditya1702 merged commit 3290b80 into stellar:main Dec 17, 2024
19 checks passed
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.

Use a single DB transaction within getTransactions
2 participants