Skip to content

[Question] [Defrag and Compaction] - If Defrag and Compaction are "stop the world" operation #17312

Closed Answered by vivekpatani
jujiale asked this question in Q&A
Discussion options

You must be logged in to vote

According to my knowledge.

Compaction

Compaction is not a "stop the world" operation. But still should be used only after understanding the impact of compaction.

Defragmentation

Defragmentation is a "stop the world" operation.

As quoted from documentation

Note that defragmentation to a live member blocks the system from reading and writing data while rebuilding its states.
Note that defragmentation request does not get replicated over cluster. That is, the request is only applied to the local node. Specify all members in --endpoints flag or --cluster flag to automatically find all cluster members.

All these answers are only true for v3.5, for older versions you might find the answer…

Replies: 2 comments 4 replies

Comment options

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

@jmhbnz
Comment options

@jujiale
Comment options

@jujiale
Comment options

Answer selected by jujiale
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants