Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-6192

Ignore gc_grace when all replicas have ACKed the delete

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Urgent
    • Resolution: Duplicate
    • None
    • None
    • None

    Description

      When a client issues a delete with a consistency level >= QUORUM, all replicas are contacted, even though the coordinator may return the answer before all responses arrive if QUORUM. Therefore, in the usual case when all replicas are alive, the coordinator will know when a delete has been ACKed by all replicas responsible for that data. In this situation I think it would be beneficial if the coordinator could notify the replicas that that tombstone is safe to purge on the next compaction, regardless of the gc_grace value.

      This would make tombstones disappear much faster than they normally would.

      Attachments

        Activity

          People

            Unassigned Unassigned
            edevil André Cruz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: