cassandra

What is gc grace in Cassandra


I was watching DS201 course on Datastax and the lecturer started using the term "GC GRACE" out of nowhere.

What exactly are "GC Grace" and "gc_grace_seconds" ?


Solution

  • 'gc_grace_seconds' is the time (in seconds, defined in Table properties) cassandra keep Tombstone so that other nodes which might been down during deletion of data can know the changes.

    Go through this link for more