Skip to content

fix: update rocksdb version from v8.1.1 to v9.7.4 in external.cmake#35214

Open
yihaoDeng wants to merge 1 commit intomainfrom
fix/updateCmake
Open

fix: update rocksdb version from v8.1.1 to v9.7.4 in external.cmake#35214
yihaoDeng wants to merge 1 commit intomainfrom
fix/updateCmake

Conversation

@yihaoDeng
Copy link
Copy Markdown
Contributor

Description

Issue(s)

  • Close/close/Fix/fix/Resolve/resolve: Issue Link

Checklist

Please check the items in the checklist if applicable.

  • Is the user manual updated?
  • Are the test cases passed and automated?
  • Is there no significant decrease in test coverage?

Copilot AI review requested due to automatic review settings April 22, 2026 12:31
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the RocksDB third-party dependency download in CMake to use RocksDB v9.7.4 instead of v8.1.1, affecting external builds driven by cmake/external.cmake.

Changes:

  • Bump RocksDB source tarball URL from v8.1.1 to v9.7.4.
  • Update the corresponding URL_HASH value for the RocksDB tarball.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread cmake/external.cmake
Comment on lines +1151 to +1156
# URL https://github.com/facebook/rocksdb/archive/refs/tags/v9.7.4.tar.gz
# URL_HASH MD5=204ed2b16eb1850b56d8e91e24ce7c0d
get_from_local_if_exists("https://github.com/facebook/rocksdb/archive/refs/tags/v9.7.4.tar.gz")
ExternalProject_Add(ext_rocksdb
URL ${_url}
URL_HASH MD5=3b4c97ee45df9c8a5517308d31ab008b
URL_HASH MD5=204ed2b16eb1850b56d8e91e24ce7c0d
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the RocksDB dependency from version 8.1.1 to 9.7.4. It is recommended to use SHA256 instead of MD5 for the URL hash to provide better integrity assurance and maintain consistency with other modern dependencies in the project.

Comment thread cmake/external.cmake
ExternalProject_Add(ext_rocksdb
URL ${_url}
URL_HASH MD5=3b4c97ee45df9c8a5517308d31ab008b
URL_HASH MD5=204ed2b16eb1850b56d8e91e24ce7c0d
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.

medium

Consider using SHA256 instead of MD5 for the URL_HASH. MD5 is considered cryptographically weak and is prone to collision attacks. Using SHA256 would provide better integrity assurance and maintain consistency with other modern dependencies in this file, such as OpenSSL (line 858) and Azure SDK (line 1421).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants