Rohit Thakur
Rohit Thakur

Reputation: 264

How does nodetool garbagecollect work on multiple data folders?

How nodetool garbagecollect removes the shadowed data from the SStable of data0 folder when the tombstone is present in the SStable of data1 folder.

Upvotes: 0

Views: 66

Answers (1)

Erick Ramirez
Erick Ramirez

Reputation: 16393

JBOD configurations (multiple data directories) do not come into play with the garbagecollect command because partitions do not span across directories.

Another way of saying it is that the token ranges are mapped to specific disks so fragments of a partition (which hashes into a token value) will only ever be stored on the same disk. Cheers!

Upvotes: 1

Related Questions