You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Use hard-link copy (RocksUtils::link_dir) instead of rename in DBEngine::restore so
the source checkpoint is preserved after restore
- Explicitly drop the old DB handle via a temporary path before any filesystem
operations to release the RocksDB LOCK reliably
- Flush memtable + WAL before creating a checkpoint to guarantee all in-memory data
is captured in SST files
- Fix set_hard_state_commit to actually persist the commit index to RocksDB
(previously it only updated the in-memory field), and use commit_sync so the
write is fsync-ed before returning
- Fix purge_checkpoint to never delete the currently active checkpoint: only
consider directories whose mtime is strictly older than the current checkpoint
- Fix increment_inode_nlink / decrement_inode_nlink to accept the caller's
WriteBatch so that nlink changes and edge mutations are committed atomically
- Fix unlink operations to correctly propagate DeleteResult (block list) when
nlink reaches zero
0 commit comments