java - Should Compaction within gc_grace_seconds Preserve Tombstones? -
If I delete a line (making a tombstone), and gc_grace_seconds
Yes, the GPS_Grace_seconds are expected to avoid the tombstone, the reason is that if a row is in the node position node , Then there should be an opportunity to spread that node later. When the node returns online and you run the nodetool repair
, you can delete it. If you do not repair within gc_grace_seconds, your deleted records may return from the dead.
If you are running a single-node cluster, you can safely set GC_Grace_screens in 0. Because there is no other nodes which can be deleted deleted.
On this page, take a look at the repair, and GC_Grace_second.
Comments
Post a Comment