Skip to content

Disable RocksDB checksum verification on reads#5042

Merged
ahamlat merged 2 commits into
besu-eth:mainfrom
ahamlat:rocksdb-disable-checksum-on-reads
Feb 3, 2023
Merged

Disable RocksDB checksum verification on reads#5042
ahamlat merged 2 commits into
besu-eth:mainfrom
ahamlat:rocksdb-disable-checksum-on-reads

Conversation

@ahamlat

@ahamlat ahamlat commented Feb 3, 2023

Copy link
Copy Markdown
Contributor

Signed-off-by: Ameziane H ameziane.hamlat@consensys.net

PR description

This PR will disable checksum verification on RocksDB during Block retrieva.
We could't do it before because there is this issue in RocksDB, you can find more context here : facebook/rocksdb#11002

@matkt did a PR facebook/rocksdb#11099 and fixed the issue, we can now enable it in Besu.

Fixed Issue(s)

Documentation

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

Changelog

…ocksDB get methods

Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
…sDB reads

Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>

@matkt matkt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@ahamlat ahamlat marked this pull request as ready for review February 3, 2023 16:09
@ahamlat ahamlat merged commit 98f68ea into besu-eth:main Feb 3, 2023
jflo pushed a commit to jflo/besu that referenced this pull request Feb 5, 2023
* Add RocksDB readOptions with checksum verification set to false for RocksDB get methods
* Spotless + apply disabling checksum verification for unsegmented RocksDB reads

Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
jflo pushed a commit to jflo/besu that referenced this pull request Feb 5, 2023
* Add RocksDB readOptions with checksum verification set to false for RocksDB get methods
* Spotless + apply disabling checksum verification for unsegmented RocksDB reads

Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
Signed-off-by: Justin Florentine <justin+github@florentine.us>
shemnon pushed a commit to shemnon/besu that referenced this pull request Feb 8, 2023
* Add RocksDB readOptions with checksum verification set to false for RocksDB get methods
* Spotless + apply disabling checksum verification for unsegmented RocksDB reads

Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
ensi321 pushed a commit to ensi321/besu that referenced this pull request Feb 19, 2023
* Add RocksDB readOptions with checksum verification set to false for RocksDB get methods
* Spotless + apply disabling checksum verification for unsegmented RocksDB reads

Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
elenduuche pushed a commit to elenduuche/besu that referenced this pull request Aug 16, 2023
* Add RocksDB readOptions with checksum verification set to false for RocksDB get methods
* Spotless + apply disabling checksum verification for unsegmented RocksDB reads

Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
eum602 pushed a commit to lacchain/besu that referenced this pull request Nov 3, 2023
* Add RocksDB readOptions with checksum verification set to false for RocksDB get methods
* Spotless + apply disabling checksum verification for unsegmented RocksDB reads

Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
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.

2 participants