You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hugegraph.apache.org by "imbajin (via GitHub)" <gi...@apache.org> on 2026/10/04 06:52:10 UTC

[PR] fix(build): align RocksDB and JRaft runtime (1/4) [hugegraph]

imbajin opened a new pull request, #3265:
URL: https://github.com/apache/hugegraph/pull/3265

   ## Purpose of the PR
   
   Align the standard RocksDB and JRaft runtime. Older JRaft calls APIs removed by RocksDB 8.x, preventing Raft storage initialization in PD/Store and in Server with `raft.mode=true`.
   
   This is part 1 of [hugegraph/hugegraph#179](https://github.com/hugegraph/hugegraph/issues/179); optional Topling integration is separate.
   
   ## Main Changes
   
   | Component | Before | After |
   |---|---|---|
   | PD | RocksDB 6.29.5 + JRaft 1.3.13 | RocksDB 8.10.2 + JRaft 1.3.14 |
   | Store | RocksDB 7.7.3 + JRaft 1.3.13 | RocksDB 8.10.2 + JRaft 1.3.14 |
   | Server | RocksDB 8.10.2 + JRaft 1.3.11 | RocksDB 8.10.2 + JRaft 1.3.14 |
   
   - Use shared RocksDB/JRaft version properties and matching dependency/license metadata.
   - Remove Store metrics unavailable in RocksDB 8.x and document dashboard/alert changes.
   - Keep a small synthetic SST/WAL compatibility test under the test module, outside production distributions. CI resolves actual POM versions and runs only changed, deduplicated RocksDB pairs; unresolved versions fail explicitly.
   - Preserve Markdown paragraphs and disable inherited IDE typing-wrap for Markdown.
   
   ## Verifying these changes
   
   Locally reproduced Server's old JRaft/RocksDB ABI failure. The updated package passed real single-node Server Raft writes, snapshot creation and independent-JVM restarts, alongside a clean compile, focused Server/Store tests and distribution dependency checks. JRaft-only changes correctly skip the unchanged RocksDB compatibility pairs. Three independent read-only reviews found no actionable issues.
   
   Still required before merge: real old PD/Store service-data upgrade/restart, live Store metric checks and current-head CI. The synthetic fixture and single-node Server regression do not establish cluster failover or service-level upgrade acceptance.
   
   ## Does this PR potentially affect the following parts?
   
   - [x] Dependencies: RocksDB and JRaft; release metadata updated.
   - [x] Other affects: removed Store monitoring metrics.
   
   ## Documentation Status
   
   - [x] `Doc - Done`: [upgrade, rollback and metric guidance](https://github.com/hugegraph/hugegraph/blob/task/topling-split-runtime/docs/rocksdb-upgrade.md), linked from the READMEs.
   
   Same source branch as [hugegraph/hugegraph#262](https://github.com/hugegraph/hugegraph/pull/262). Both PRs remain open for review.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


Re: [PR] fix(build): align RocksDB and JRaft runtime (1/4) [hugegraph]

Posted by "imbajin (via GitHub)" <gi...@apache.org>.
imbajin merged PR #3265:
URL: https://github.com/apache/hugegraph/pull/3265


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


Re: [PR] fix(build): align RocksDB and JRaft runtime (1/4) [hugegraph]

Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #3265:
URL: https://github.com/apache/hugegraph/pull/3265#issuecomment-5977506881

   ## [Codecov](https://app.codecov.io/gh/apache/hugegraph/pull/3265?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   :white_check_mark: All modified and coverable lines are covered by tests.
   :white_check_mark: Project coverage is 93.25%. Comparing base ([`176fb56`](https://app.codecov.io/gh/apache/hugegraph/commit/176fb56dd747ef0f60a126cf721aa12d17627c31?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`e7c2b59`](https://app.codecov.io/gh/apache/hugegraph/commit/e7c2b59c0123c6c4564ed6c34113600cbe062a7d?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
   :warning: Report is 1 commits behind head on master.
   
   <details><summary>Additional details and impacted files</summary>
   
   
   
   ```diff
   @@              Coverage Diff              @@
   ##             master    #3265       +/-   ##
   =============================================
   + Coverage     41.57%   93.25%   +51.68%     
   + Complexity     7311       65     -7246     
   =============================================
     Files           793        9      -784     
     Lines         69106      267    -68839     
     Branches       9258       22     -9236     
   =============================================
   - Hits          28730      249    -28481     
   + Misses        37098        8    -37090     
   + Partials       3278       10     -3268     
   ```
   </details>
   
   [:umbrella: View full report in Codecov by Harness](https://app.codecov.io/gh/apache/hugegraph/pull/3265?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).   
   :loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
   <details><summary> :rocket: New features to boost your workflow: </summary>
   
   - :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org