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 — Upgrade to RocksDB 9.9.3 by lhotari · Pull Request #4580 · apache/bookkeeper

Conversation

@lhotari

@lhotari lhotari commented Apr 15, 2025 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

Fix #4409

Motivation

Upgrade RocksDB to v.9.9.3 to pick up latest performance and stability improvements and fixes in deleteRanges.
Hopefully deleteRanges() is stable enough for us to try again perf improvements #3653 that were reverted previously.

Additional context

The upgrade/downgrade tests pass now. The problem was that format_version wasn't set in all cases and that resulted in using the default format_version=6 of RocksDB 9.x. There were multiple bugs in setting the format_version. The related fixes to address this are #4466, #4480, #4559 and #4560.

The RocksDB 9.0.0 release notes mention the default format_version change:

format_version=6 is the new default setting in BlockBasedTableOptions, for more robust data integrity checking. DBs and SST files written with this setting cannot be read by RocksDB versions before 8.6.0.

Changes

  • Changed RocksDB version, updated code to use changed API.
  • Refactored compatibility tests for easier maintainability when new versions get added
  • Dropped some upgrade/downgrade compatibility tests for very old versions
  • Updated instructions for running compatibility tests on Mac Apple Silicon with Docker Desktop

Sorry, something went wrong.

Uh oh!

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

All reactions
@lhotari lhotari mentioned this pull request Apr 16, 2025
Upgrade Apache Commons libraries to compatible versions #4582
Merged
@lhotari
lhotari force-pushed the lh-rocksdb-9.x branch from 1609dd6 to 82045f6 Compare April 16, 2025 07:02
@lhotari lhotari mentioned this pull request Apr 16, 2025
Upgrade RocksDB to version 9.2.1 #4422
Closed
@lhotari lhotari changed the title [WIP] Upgrade to RocksDB 9.9.3 Upgrade to RocksDB 9.9.3 Apr 16, 2025
@lhotari
lhotari requested review from dlg99, eolivelli, hangc0276, merlimat, nicoloboschi and zymap April 16, 2025 08:13
@lhotari lhotari self-assigned this Apr 16, 2025
@lhotari lhotari added this to the 4.18.0 milestone Apr 16, 2025
@lhotari
lhotari requested review from StevenLuMT and hezhangjian April 16, 2025 08:14
hezhangjian pushed a commit that referenced this pull request Apr 16, 2025
@lhotari
Upgrade Apache Commons libraries to compatible versions (#4582)
bcd6b52
### Motivation

While working on #4580, I noticed that the Commons Compress version and the Commons Codec library version aren't compatible. It causes a ClassDefNotFoundError in running tests which were using some specific methods of docker-java.
While exploring this, I noticed that Apache Commons library versions haven't been kept up-to-date for a long time and it's better to handle that for 4.18.0 release.

### Changes

- upgrade commons-cli from 1.2 to 1.9.0
- upgrade commons-codec from 1.6 to 1.18.0
- upgrade commons-io from 2.17.0 to 2.19.0
- upgrade commons-lang3 from 3.6 to 3.17.0
- upgrade commons-compress from 1.26.0 to 1.27.0
lhotari added 7 commits April 16, 2025 17:11
@lhotari
Upgrade to RocksDB 9.9.3
02030f1
@lhotari
Refactor compatibility tests and fix issue with RocksDB 9.x compatibi…
9f97233
…lity tests
@lhotari
Fix logging in integration tests
774ec2a
@lhotari
Upgrade Zookeeper version in integration tests
88f491f
@lhotari
Update README
297c8da
@lhotari
Fix formatting
db5d3cd
@lhotari
Fix formatting
46f835a
@lhotari
lhotari force-pushed the lh-rocksdb-9.x branch from c6ef70e to 46f835a Compare April 16, 2025 14:12
lhotari added a commit that referenced this pull request Apr 16, 2025
@lhotari
Upgrade Apache Commons libraries to compatible versions (#4582)
fab4780
While working on #4580, I noticed that the Commons Compress version and the Commons Codec library version aren't compatible. It causes a ClassDefNotFoundError in running tests which were using some specific methods of docker-java.
While exploring this, I noticed that Apache Commons library versions haven't been kept up-to-date for a long time and it's better to handle that for 4.18.0 release.

- upgrade commons-cli from 1.2 to 1.9.0
- upgrade commons-codec from 1.6 to 1.18.0
- upgrade commons-io from 2.17.0 to 2.19.0
- upgrade commons-lang3 from 3.6 to 3.17.0
- upgrade commons-compress from 1.26.0 to 1.27.0

(cherry picked from commit bcd6b52)
lhotari added a commit that referenced this pull request Apr 16, 2025
@lhotari
Upgrade Apache Commons libraries to compatible versions (#4582)
a01aa11
While working on #4580, I noticed that the Commons Compress version and the Commons Codec library version aren't compatible. It causes a ClassDefNotFoundError in running tests which were using some specific methods of docker-java.
While exploring this, I noticed that Apache Commons library versions haven't been kept up-to-date for a long time and it's better to handle that for 4.18.0 release.

- upgrade commons-cli from 1.2 to 1.9.0
- upgrade commons-codec from 1.6 to 1.18.0
- upgrade commons-io from 2.17.0 to 2.19.0
- upgrade commons-lang3 from 3.6 to 3.17.0
- upgrade commons-compress from 1.26.0 to 1.27.0

(cherry picked from commit bcd6b52)
@lhotari

lhotari commented Apr 17, 2025

Copy link
Copy Markdown
Member Author

@hangc0276 @dlg99 @eolivelli @Ghatage Please review. The upgrade/downgrade tests pass now. Previously there was a problem that format_version wasn't set in all cases and that resulted in using the default format_version=6 of RocksDB 9.x. This was fixed by PRs #4466, #4480, #4559 and #4560.

All reactions

Sorry, something went wrong.

Uh oh!

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

@lhotari
lhotari requested a review from Ghatage April 17, 2025 07:08
zymap
zymap approved these changes Apr 18, 2025
View reviewed changes
StevenLuMT
StevenLuMT approved these changes Apr 19, 2025
View reviewed changes

@StevenLuMT StevenLuMT left a comment

Copy link
Copy Markdown
Member

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.

Great jobs

Sorry, something went wrong.

Uh oh!

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

All reactions
merlimat
merlimat approved these changes Apr 22, 2025
View reviewed changes
@merlimat
merlimat merged commit fabe44b into apache:master Apr 22, 2025
priyanshu-ctds pushed a commit to datastax-archive/datastax--bookkeeper that referenced this pull request Jul 11, 2025
@lhotari @priyanshu-ctds
Upgrade Apache Commons libraries to compatible versions (apache#4582)
41859a2
While working on apache#4580, I noticed that the Commons Compress version and the Commons Codec library version aren't compatible. It causes a ClassDefNotFoundError in running tests which were using some specific methods of docker-java.
While exploring this, I noticed that Apache Commons library versions haven't been kept up-to-date for a long time and it's better to handle that for 4.18.0 release.

- upgrade commons-cli from 1.2 to 1.9.0
- upgrade commons-codec from 1.6 to 1.18.0
- upgrade commons-io from 2.17.0 to 2.19.0
- upgrade commons-lang3 from 3.6 to 3.17.0
- upgrade commons-compress from 1.26.0 to 1.27.0

(cherry picked from commit bcd6b52)
(cherry picked from commit fab4780)
sandeep-ctds pushed a commit to datastax-archive/datastax--bookkeeper that referenced this pull request Jul 22, 2025
@lhotari @sandeep-ctds
Upgrade Apache Commons libraries to compatible versions (apache#4582)
733ba0d
While working on apache#4580, I noticed that the Commons Compress version and the Commons Codec library version aren't compatible. It causes a ClassDefNotFoundError in running tests which were using some specific methods of docker-java.
While exploring this, I noticed that Apache Commons library versions haven't been kept up-to-date for a long time and it's better to handle that for 4.18.0 release.

- upgrade commons-cli from 1.2 to 1.9.0
- upgrade commons-codec from 1.6 to 1.18.0
- upgrade commons-io from 2.17.0 to 2.19.0
- upgrade commons-lang3 from 3.6 to 3.17.0
- upgrade commons-compress from 1.26.0 to 1.27.0

(cherry picked from commit bcd6b52)
(cherry picked from commit fab4780)
manas-ctds pushed a commit to datastax-archive/datastax--bookkeeper that referenced this pull request Feb 27, 2026
@lhotari @manas-ctds
Upgrade Apache Commons libraries to compatible versions (apache#4582)
2d2318c
While working on apache#4580, I noticed that the Commons Compress version and the Commons Codec library version aren't compatible. It causes a ClassDefNotFoundError in running tests which were using some specific methods of docker-java.
While exploring this, I noticed that Apache Commons library versions haven't been kept up-to-date for a long time and it's better to handle that for 4.18.0 release.

- upgrade commons-cli from 1.2 to 1.9.0
- upgrade commons-codec from 1.6 to 1.18.0
- upgrade commons-io from 2.17.0 to 2.19.0
- upgrade commons-lang3 from 3.6 to 3.17.0
- upgrade commons-compress from 1.26.0 to 1.27.0

(cherry picked from commit bcd6b52)
(cherry picked from commit a01aa11)
dlg99 pushed a commit to datastax-archive/datastax--bookkeeper that referenced this pull request Feb 27, 2026
@lhotari @dlg99
Upgrade Apache Commons libraries to compatible versions (apache#4582)
7294e63
While working on apache#4580, I noticed that the Commons Compress version and the Commons Codec library version aren't compatible. It causes a ClassDefNotFoundError in running tests which were using some specific methods of docker-java.
While exploring this, I noticed that Apache Commons library versions haven't been kept up-to-date for a long time and it's better to handle that for 4.18.0 release.

- upgrade commons-cli from 1.2 to 1.9.0
- upgrade commons-codec from 1.6 to 1.18.0
- upgrade commons-io from 2.17.0 to 2.19.0
- upgrade commons-lang3 from 3.6 to 3.17.0
- upgrade commons-compress from 1.26.0 to 1.27.0

(cherry picked from commit bcd6b52)
(cherry picked from commit a01aa11)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@merlimat merlimat merlimat approved these changes
@zymap zymap zymap approved these changes
@StevenLuMT StevenLuMT StevenLuMT approved these changes
@dlg99 dlg99 Awaiting requested review from dlg99
@hangc0276 hangc0276 Awaiting requested review from hangc0276
@eolivelli eolivelli Awaiting requested review from eolivelli
@nicoloboschi nicoloboschi Awaiting requested review from nicoloboschi
@hezhangjian hezhangjian Awaiting requested review from hezhangjian
@Ghatage Ghatage Awaiting requested review from Ghatage

Uh oh!

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

Assignees

@lhotari lhotari

Labels

None yet

Projects

None yet

Milestone

4.18.0

Development

Successfully merging this pull request may close these issues.

Task: upgrade RocksDB

Uh oh!

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

4 participants

@lhotari @merlimat @zymap @StevenLuMT
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.