HDDS-14225. [DO NOT MERGE] Upgrade RocksDB from 7.7.3 to 10.4.2#9813
Draft
smengcl wants to merge 3 commits intoapache:masterfrom
Draft
HDDS-14225. [DO NOT MERGE] Upgrade RocksDB from 7.7.3 to 10.4.2#9813smengcl wants to merge 3 commits intoapache:masterfrom
smengcl wants to merge 3 commits intoapache:masterfrom
Conversation
Generated-by: GPT-5.3-Codex
adoroszlai
reviewed
Feb 24, 2026
Contributor
adoroszlai
left a comment
There was a problem hiding this comment.
Thanks @smengcl for working on this.
We should detect OS at runtime, not build time. Single build (on any OS) should create binaries for all supported operating systems.
-
dependencyManagementin root POM should include an entry forrocksdbjniartifact with each supported classifier, as well as the non-classified artifact:<dependency> <groupId>org.rocksdb</groupId> <artifactId>rocksdbjni</artifactId> <version>${rocksdb.version}</version> </dependency> <dependency> <groupId>org.rocksdb</groupId> <artifactId>rocksdbjni</artifactId> <version>${rocksdb.version}</version> <classifier>linux64</classifier> </dependency> <dependency> <groupId>org.rocksdb</groupId> <artifactId>rocksdbjni</artifactId> <version>${rocksdb.version}</version> <classifier>osx</classifier> </dependency> ...
-
hdds-rocks-nativeshould unpack all of these -
other modules should continue depending on platform-independent
rocksdbjni(no classifier)
Thus changes in most pom.xml files are not needed, nor is rocksdbjni.classifier.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Generated-by: GPT-5.3-Codex
What changes were proposed in this pull request?
Bump RocksDB version from 7.7.3 to 10.4.2. While maintaining compatibility and not breaking anything.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-14225
How was this patch tested?