cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-6434) Repair-aware gc grace period
Date Tue, 22 Jul 2014 15:14:39 GMT


Jonathan Ellis commented on CASSANDRA-6434:

bq. I don't think that would work since max(repairtime) is dependent on compaction

Actually we don't really care *when* it was repaired; as long as it *has* been repaired. 
So really the logic should be, "if I'm compacting a repaired sstable, and it doesn't shadow
any data in other sstables, then I can drop the ts immediately."

bq. Lets use gcgs on unrepaired data until we always mark sstables as repaired.

I suppose we could do that, but the alternative of "don't drop tombstones at all until it's
repaired" is more technically correct.

> Repair-aware gc grace period 
> -----------------------------
>                 Key: CASSANDRA-6434
>                 URL:
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: sankalp kohli
>            Assignee: Marcus Eriksson
>             Fix For: 3.0
> Since the reason for gcgs is to ensure that we don't purge tombstones until every replica
has been notified, it's redundant in a world where we're tracking repair times per sstable
(and repairing frequentily), i.e., a world where we default to incremental repair a la CASSANDRA-5351.

This message was sent by Atlassian JIRA

View raw message