pub async fn storage_compact(force: bool, format: &str) -> Result<()>Expand description
Trigger Sled WAL flush / compaction.
When force is true the flush is executed unconditionally regardless of
the compaction scheduler’s policy. When force is false the scheduler
decides whether sufficient time has elapsed and the store is idle before
issuing the flush.
The function also reports current deduplication statistics so that the operator can see how effective write-time deduplication has been.