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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to