cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedict (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-9271) IndexSummaryManagerTest.testCompactionRace times out periodically
Date Mon, 01 Jun 2015 19:12:19 GMT

     [ 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)

Mime
View raw message