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

Add a database transaction to the Output Manager Service when encumbering a received output #2172

Closed
philipr-za opened this issue Aug 27, 2020 · 1 comment
Assignees
Labels
A-wallet Area - related to the wallet C-enhancement Category - New feature or request

Comments

@philipr-za
Copy link
Contributor

We have seen some occurence of an intermittent bug where if the direct and propagated transaction messages arrive at a receiver in rapid succession we can have clashes in the Output Manager database because receiving a transaction requires multiple database operations. When they operations are interleaved and cause an error it breaks the inbound transaction.

The operations in the transaction and output manager services for receiving a transaction should be encapsulated in a database transaction somehow to be completely atomic to avoid this.

@philipr-za philipr-za self-assigned this Aug 27, 2020
@stringhandler stringhandler moved this to Selected for development in Tari Esme Testnet Nov 16, 2022
@stringhandler stringhandler added this to the Stagenet Freeze milestone Nov 16, 2022
@stringhandler stringhandler added A-wallet Area - related to the wallet C-enhancement Category - New feature or request labels Nov 16, 2022
Repository owner moved this from Selected for development to Done in Tari Esme Testnet Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-wallet Area - related to the wallet C-enhancement Category - New feature or request
Projects
Archived in project
Development

No branches or pull requests

3 participants