KV

Compact compacts the event history in the etcd key-value store. The key-value store should be periodically compacted or the event history will continue to grow indefinitely.

post/v3/kv/compaction

Request

Request body

physicalboolean

physical is set so the RPC will wait until the compaction is physically applied to the local database such that compacted entries are totally removed from the backend database.

revisionstring int64

revision is the key-value store revision for the compaction operation.

Response

A successful response.

Changes

No recorded changes to this operation across all 1 revision of this API.