Skip to content

refactor: Update rocksdb #5568

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Jul 24, 2025
Merged

refactor: Update rocksdb #5568

merged 16 commits into from
Jul 24, 2025

Conversation

bthomee
Copy link
Collaborator

@bthomee bthomee commented Jul 16, 2025

High Level Overview of Change

This PR updates RocksDB to its latest version. RocksDB is backward-compatible, so even though this is a major version bump, databases created with previous versions will continue to function.

The external RocksDB folder is removed, as the latest version available via Conan Center no longer needs custom patches.

Context of Change

Updating dependencies is now possible due to the switch to Conan 2.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (non-breaking change that only restructures code)
  • Performance (increase or change in throughput and/or latency)
  • Tests (you added tests for code that already exists, or your new feature included in this PR)
  • Documentation update
  • Chore (no impact to binary, e.g. .gitignore, formatting, dropping support for older tooling)
  • Release

Copy link

codecov bot commented Jul 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.8%. Comparing base (b2960b9) to head (360a7aa).
Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           develop   #5568     +/-   ##
=========================================
- Coverage     78.8%   78.8%   -0.0%     
=========================================
  Files          814     814             
  Lines        71204   71204             
  Branches      8335    8335             
=========================================
- Hits         56103   56102      -1     
- Misses       15101   15102      +1     

see 3 files with indirect coverage changes

Impacted file tree graph

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Base automatically changed from bthomee/updates to develop July 18, 2025 16:55
@bthomee bthomee requested review from legleux and Bronek July 18, 2025 17:57
Copy link
Collaborator

@Bronek Bronek left a comment

Choose a reason for hiding this comment

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

Nice !

@bthomee
Copy link
Collaborator Author

bthomee commented Jul 21, 2025

@ximinez can you please take this PR for a spin on your Windows machine, to make sure it builds fine? Although it builds on the Windows CI runners, the It does not override paths to dependencies when building with Visual Studio. comment referencing the need for our own patched version of RocksDB v9.7.3 warrants a double-check.

@bthomee bthomee marked this pull request as draft July 21, 2025 18:06
Bronek added a commit that referenced this pull request Jul 24, 2025
@bthomee bthomee marked this pull request as ready for review July 24, 2025 17:41
@bthomee bthomee added the Ready to merge *PR author* thinks it's ready to merge. Has passed code review. Perf sign-off may still be required. label Jul 24, 2025
Copy link
Collaborator

@ximinez ximinez left a comment

Choose a reason for hiding this comment

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

Builds and runs tests successfully in my Windows environment, in all configurations that I usually use.

@bthomee bthomee merged commit 5c2a3a2 into develop Jul 24, 2025
27 checks passed
@bthomee bthomee deleted the bthomee/updates2 branch July 24, 2025 18:53
ximinez added a commit that referenced this pull request Jul 24, 2025
…to ximinez/lending-refactoring-3

* XRPLF/ximinez/lending-refactoring-2:
  refactor: Update rocksdb (#5568)
  Switch instrumentation workflow to use dependencies (#5607)
  chore: Rename conan profile to `default` (#5599)
  Include `network_id` in validations and subscription stream responses (#5579)
  Add support for `DomainID` in `MPTokenIssuance` transactions (#5509)
  chore: Remove unused code after flow cross retirement (#5575)
  Remove obsolete owner pays fee feature and XRPL_ABANDON stanza (#5550)
  refactor: Makes HashRouter flags more type-safe (#5371)
  Fix clang-format CI job (#5598)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready to merge *PR author* thinks it's ready to merge. Has passed code review. Perf sign-off may still be required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants