Skip to content

Recovering from exceeded quota requires defrag - should it? #16780

Answered by jmhbnz
ee-github asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @ee-github - My understanding is that recovering from an exceeded space quote should require a defragment.

After compacting the keyspace, the backend database may exhibit internal fragmentation. Any internal fragmentation is space that is free to use by the backend but still consumes storage space. Compacting old revisions internally fragments etcd by leaving gaps in backend database. Fragmented space is available for use by etcd but unavailable to the host filesystem. In other words, deleting application data does not reclaim the space on disk.
https://etcd.io/docs/v3.5/op-guide/maintenance/#defragmentation

The key fragments of that paragraph to me are "but still consumes storage s…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by ee-github
Comment options

You must be logged in to vote
4 replies
@jmhbnz
Comment options

@ee-github
Comment options

@tjungblu
Comment options

@ee-github
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants
Converted from issue

This discussion was converted from issue #16779 on October 16, 2023 21:24.