Files
kumomta/docs/reference/kcli/spool-compact.md
Wez Furlong 41291a4afb docs: mark generated pages with an @generated marker
The documentation generators now stamp each page they emit with an
@generated comment so that tooling can tell generated pages apart from
hand-written ones. Update the table-of-contents generator to skip YAML
front matter when picking a page title, since the marker is now stored
there.
2026-10-05 13:22:26 +01:00

26 lines
693 B
Markdown

---
# @generated by kcli markdown-help
tags:
- ops
- debugging
---
# kcli spool-compact
Forces a flush and full compaction of the named spool.
Primarily a diagnostic and test helper. For rocksdb-backed spools this calls flush() followed by a full-keyspace compact_range(). For other spool kinds it is a no-op.
If the underlying storage reports an error during the operation (for example, a missing or corrupt SST file in a rocksdb spool), the error is reported to the caller and the command exits non-zero.
**Usage:** `kcli spool-compact --name <NAME>`
## Options
* `--name <NAME>` — Name of the spool to compact, matching a name passed to `kumo.define_spool` in the policy