cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedict (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-9271) IndexSummaryManagerTest.testCompactionRace times out periodically
Date Mon, 01 Jun 2015 16:47:18 GMT


Benedict commented on CASSANDRA-9271:

It may fix this behaviour, but unfortunately I am -1 on using Thread.yield(). It depends on
the priority of the thread, and that is generally not good practice. It could lead to spinning
burning a full CPU flat out until compactions acquiesce. I don't like making application behaviour
even slightly less good in order to fix a problematic test.

As I stated above, it should be possible to modify this test to simply mark and unmark compacting
directly, rather than actually perform a major compaction.

> IndexSummaryManagerTest.testCompactionRace times out periodically
> -----------------------------------------------------------------
>                 Key: CASSANDRA-9271
>                 URL:
>             Project: Cassandra
>          Issue Type: Test
>            Reporter: Ariel Weisberg
>            Assignee: Ariel Weisberg
>            Priority: Trivial
>              Labels: test-failure
>             Fix For: 2.1.6
> 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
check every millisecond instead of every 100 milliseconds.

This message was sent by Atlassian JIRA

View raw message