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

revert to TransactionDB to resolve 'busy' exception #3720

Merged
merged 1 commit into from
Apr 14, 2022

Conversation

garyschulte
Copy link
Contributor

PR description

Revert to TransactionDB to resolve 'busy' exception from OptimisticTransactionDB.

As I understand it, we originally went to OptimisticTransctionDB in order to support deleteRange() for our implementation of RocksDBColumnarKeyBValueStore.clear(). In light of the change to the clear implementation in #3634, we do not need to use OptimisticTransactionDB.

Currently in Draft while testing and while discussing the merits of sticking with OptimisticTransactionDB for locking performance.

Fixed Issue(s)

fixes #3719

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if
    updates are required.

Changelog

Copy link
Contributor

@matkt matkt left a comment

Choose a reason for hiding this comment

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

Good catch. LGTM

…ansactionDB

Signed-off-by: garyschulte <garyschulte@gmail.com>
@sonarcloud
Copy link

sonarcloud bot commented Apr 14, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@garyschulte garyschulte merged commit 9619f94 into hyperledger:main Apr 14, 2022
@garyschulte garyschulte deleted the bugfix-3719-rocksdb-busy branch April 14, 2022 14:26
garyschulte added a commit to garyschulte/besu that referenced this pull request May 2, 2022
…ansactionDB (hyperledger#3720)

Signed-off-by: garyschulte <garyschulte@gmail.com>
@cai-dclab
Copy link

hi
Is this issue released already? I can't find the change log, but I noticed the 22.4.0 version already fixed this issue.
I just want to confirm.

@macfarla
Copy link
Contributor

Yes this has been released. Must have missed it in the changelog!

eum602 pushed a commit to lacchain/besu that referenced this pull request Nov 3, 2023
…ansactionDB (hyperledger#3720)

Signed-off-by: garyschulte <garyschulte@gmail.com>
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.

bug: RocksDB "busy" exceptions
4 participants