Compaction

Collection-wide manual compaction

/ Compaction, / Operations, / Storage

Collection-wide manual compaction #

Reclaiming disk no longer means waiting for the background cadence or poking shards one by one. One request runs a merge pass on every started primary copy of the collection, cluster-wide:

curl -X POST http://127.0.0.1:28000/my-collection/_compact \
  -H 'Authorization: Bearer pz_bootstrap_key'

The response reports the queued batch job per hosting node — job id plus how many local primary passes it covers — so a node-level failure fails the row, not the request:

...