After reviewing the RocksInodeStore, I realized it’s not strictly necessary. All metadata operations on fs_dir are already persisted to RocksDB, and the current usage in the codebase is mainly to reload and reconstruct the entire directory tree.
Given that, I don’t think RocksDB is the only viable option for checkpointing. Would it be possible to serialize the in-memory view to a file and use that instead? Removing RocksDB could potentially simplify the design and improve overall metadata performance.
I might have misunderstood the design, and I’d really appreciate it if you could share more about the rationale behind this approach.
After reviewing the RocksInodeStore, I realized it’s not strictly necessary. All metadata operations on fs_dir are already persisted to RocksDB, and the current usage in the codebase is mainly to reload and reconstruct the entire directory tree.
Given that, I don’t think RocksDB is the only viable option for checkpointing. Would it be possible to serialize the in-memory view to a file and use that instead? Removing RocksDB could potentially simplify the design and improve overall metadata performance.
I might have misunderstood the design, and I’d really appreciate it if you could share more about the rationale behind this approach.