refactor(provider): split StaticFileProvider::check_consistency into file and storage checks
Split the monolithic check_consistency method into two separate methods
to enable RocksDB consistency checks to run between file healing and
storage pruning phases.
e7713c6
1 day ago
by yongkangc
+0.2%
feat(provider): add StaticFileProvider::check_file_consistency for NippyJar healing
Add a minimal check_file_consistency() method that only heals NippyJar
file-level issues (corrupted jars, interrupted writes). It does not
compare against database checkpoints or prune data.
check_consistency() now calls check_file_consistency() internally.
This enables RocksDB consistency checks to run between file healing
and storage pruning phases, as needed by PR #20478.