GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Issue 3567: Upgrade rocksdb version to avoid checksum mismatch error by zhaohaidao · Pull Request #3568 · apache/bookkeeper

Conversation

@zhaohaidao

@zhaohaidao zhaohaidao commented Oct 24, 2022 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Motivation

Rocksdb instance throws Checksum Mismatch exception frequently in high workload(2000MB/s with 3 bookies and 3 replica) with directio mode.
I checked the release history of rocksdb and found that checksum mismatch bug maybe fixed after 7.4.0. The fix is followed

  • Fixed a bug in WriteBatchInternal::Append() where WAL termination point in write batch was not considered and the function appends an incorrect number of checksums.

Changes

Upgrade rocksdb version to 7.4.5 to avoid checksum mismatch error
After rocksdb upgraded to 7.4.5. Checksum mismatch error no longer appears

Master Issue: #3567

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@zhaohaidao
Upgrade rocksdb version to avoid checksum mismatch error
5081853
@dlg99

dlg99 commented Oct 24, 2022

Copy link
Copy Markdown
Contributor

lgtm.
Please update license files (see #3026 as example)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

hangc0276
hangc0276 requested changes Oct 25, 2022
View reviewed changes

@hangc0276 hangc0276 left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

It upgrades the major version of the RocksDB(7.x), and I'm not sure whether it can compatible with the current RocksDB version (6.x). Does RocksDB 6.x contains this fix?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@hangc0276

hangc0276 commented Jan 11, 2023

Copy link
Copy Markdown
Contributor

@zhaohaidao Would you please start a discussion in the dev mail list for upgrading RocksDB to 7.x?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@hangc0276
hangc0276 requested review from dlg99, eolivelli, merlimat and zymap January 11, 2023 07:52
@hangc0276 hangc0276 assigned zhaohaidao Jan 11, 2023
@hangc0276 hangc0276 added the dependencies Pull requests that update a dependency file label Jan 11, 2023
@hangc0276 hangc0276 added this to the 4.17.0 milestone Jan 11, 2023
@dlg99 dlg99 mentioned this pull request Jan 11, 2023
RocksDB: segfault in org.rocksdb.WriteBatch::delete called from org.apache.bookkeeper.bookie.storage.ldb.EntryLocationIndex#removeOffsetFromDeletedLedgers #3734
Closed
@zhaohaidao

zhaohaidao commented Jan 19, 2023

Copy link
Copy Markdown
Contributor Author

@zhaohaidao Would you please start a discussion in the dev mail list for upgrading RocksDB to 7.x?

Ok, I will take the time to launch the discussion in the near future, thank you for reminding
@hangc0276

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@hangc0276

hangc0276 commented May 4, 2023

Copy link
Copy Markdown
Contributor

The RocksDB version has been upgraded to 7.9.2, close this PR.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@hangc0276 hangc0276 closed this May 4, 2023
@wanghenshui wanghenshui mentioned this pull request Mar 1, 2024
TODO 20240302 wanghenshui/wanghenshui.github.io#120
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@hangc0276 hangc0276 hangc0276 requested changes
@eolivelli eolivelli Awaiting requested review from eolivelli
@dlg99 dlg99 Awaiting requested review from dlg99
@merlimat merlimat Awaiting requested review from merlimat
@zymap zymap Awaiting requested review from zymap

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@zhaohaidao zhaohaidao

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Milestone

4.17.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@zhaohaidao @dlg99 @hangc0276
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.