How does nodetool garbagecollect work on multiple data folders?

40 Views Asked by At

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

1

There are 1 best solutions below

0
Erick Ramirez On

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!