You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benedict (JIRA)" <ji...@apache.org> on 2015/06/01 21:12:19 UTC

[jira] [Updated] (CASSANDRA-9271) IndexSummaryManagerTest.testCompactionRace times out periodically

     [ https://issues.apache.org/jira/browse/CASSANDRA-9271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benedict updated CASSANDRA-9271:
--------------------------------
    Attachment: equivalent_tracker_unit_test.txt

I propose we remove the test and replace it with this single line. The goal of the test was to ensure we could not mark compacting the incorrect instance of an sstable. This test checks that.

> IndexSummaryManagerTest.testCompactionRace times out periodically
> -----------------------------------------------------------------
>
>                 Key: CASSANDRA-9271
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9271
>             Project: Cassandra
>          Issue Type: Test
>            Reporter: Ariel Weisberg
>            Assignee: Ariel Weisberg
>            Priority: Trivial
>              Labels: test-failure
>             Fix For: 2.1.6
>
>         Attachments: equivalent_tracker_unit_test.txt
>
>
> The issue is that the amount of time the test takes is highly variable to it being biased towards creating a condition where the test has to retry the compaction it is attempting.
> Solution is to decrease the bias by having https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/ColumnFamilyStore.java#L2522 check every millisecond instead of every 100 milliseconds.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)