Expand description
waratah compact: offline flush + full-range compaction of an existing
RocksDB data-dir.
Opens each targeted storage brick in this process (like import --offline)
and compacts it so the on-disk layout matches the current tuning:
- hexastore axes open with the stats collectors attached, so
waratah.statsSST properties are re-collected from the compaction output; - the registry opens with the registry tuning (32 KiB SST blocks), so existing files are rewritten at the new block size โ existing files keep their original block size until a compaction rewrites them.
Targets run sequentially: one compaction saturates a spinning disk, and parallel full-range compactions would just interleave their streams.
Structsยง
- SstStats ๐
- On-disk SST summary for one store directory (before/after progress lines).
Enumsยง
- Compact
Target - One compaction target.
Constantsยง
- CANONICAL_
ORDER ๐
Functionsยง
- compact_
axis ๐ - Flush + full-range compaction of one hexastore axis.
- compact_
registry ๐ - Flush + full-range compaction of the string registry.
- run
- Flush and compact targets of an existing data-dir, sequentially.