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

   A failed RocksDB snapshot restore can leave live sessions referring to a 
closed database or lose the checkpoint needed for retry. This change keeps a 
shared database owner and preserves the checkpoint until restore and reopening 
both succeed.
   
   - Hold the recovery lock across close, restore and reopen.
   - Keep pending recovery state after failures so the next attempt can retry.
   - Clean the checkpoint only after successful reopening.
   
   Based on current Apache master, preserving the merged ToplingDB provider 
checks and native resource management. This improves the shared 
RocksDB-compatible recovery path; it does not add a ToplingDB feature or 
promise recovery from arbitrary data corruption.
   
   Validation: Java 17 full-repository compilation and focused RocksDB session, 
snapshot restore and multi-graph regressions pass. Optional kernel double-bind 
fixture cases were not run in this environment. See `docs/rocksdb-recovery.md` 
for recovery and retry behavior.
   
   Doc - Done.
   


-- 
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