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

feat: use shared DB transaction for updates in ledger state #106

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

agaffney
Copy link
Contributor

This adds support for managing a transaction across both DB backends. It uses this new support for creating a shared transaction for "atomic" write operations and using it for all operations that update the DB.

Fixes #105

@agaffney agaffney force-pushed the feat/ledger-state-txn-update branch 3 times, most recently from 0c85aa4 to eeb6601 Compare August 27, 2024 02:36
wolf31o2
wolf31o2 previously approved these changes Aug 27, 2024
@agaffney agaffney force-pushed the feat/ledger-state-txn-update branch 2 times, most recently from f68ac7c to a9e108c Compare August 27, 2024 17:17
This adds support for managing a transaction across both DB backends. It
uses this new support for creating a shared transaction for "atomic" write
operations and using it for all operations that update the DB.

Fixes #105
@agaffney agaffney force-pushed the feat/ledger-state-txn-update branch from a9e108c to 494d767 Compare August 27, 2024 17:20
@agaffney agaffney merged commit 657e8ae into main Aug 27, 2024
6 checks passed
@agaffney agaffney deleted the feat/ledger-state-txn-update branch August 27, 2024 17:51
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 transaction through all updates during a ledger write operation
2 participants