cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulo Motta (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-14079) Prevent compaction strategies from looping indefinitely
Date Thu, 30 Nov 2017 10:52:00 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-14079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16272515#comment-16272515
] 

Paulo Motta commented on CASSANDRA-14079:
-----------------------------------------

Adding patch that adds a test to reproduce issue and breaks out of {{getNextBackgroundTask}}
loop if the previous candidate is equal to the current.

3.11 patch: [branch|https://github.com/pauloricardomg/cassandra/tree/3.11-14079]

CI looks good.

> Prevent compaction strategies from looping indefinitely
> -------------------------------------------------------
>
>                 Key: CASSANDRA-14079
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14079
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Paulo Motta
>            Assignee: Paulo Motta
>            Priority: Minor
>
> As a result of CASSANDRA-13948, LCS was looping indefinitely trying to generate the same
candidates for SSTables which were not on the tracker.
> We should add a protection on compaction strategies against looping indefinitely to avoid
similar bugs in the future.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message