C. Scott Andreas updated CASSANDRA-13258:
    Component/s: Compaction

> Rethink read-time defragmentation introduced in 1.1 (CASSANDRA-2503)
> --------------------------------------------------------------------
>                 Key: CASSANDRA-13258
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13258
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Compaction
>            Reporter: Nate McCall
>            Priority: Major
> tl,dr; we issue a Mutation(!) on a read when using STCS and there are more 
> than minCompactedThreshold SSTables encountered by the iterator. (See 
> org/apache/cassandra/db/SinglePartitionReadCommand.java:782)
> I can see a couple of use cases where this *might* be useful, but from a 
> practical stand point, this is an excellent way to exacerbate compaction 
> falling behind.
> With the introduction of other, purpose built compaction strategies, I would 
> be interested to hear why anyone would consider this still a good idea. Note 
> that we only do it for STCS so at best, we are inconsistent. 
> There are some interesting comments on CASSANDRA-10342 regarding this as well.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to