You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Nirmal Ranganathan (JIRA)" <ji...@apache.org> on 2010/08/03 19:08:17 UTC

[jira] Updated: (CASSANDRA-1279) heisenbug in RoundRobinSchedulerTest

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

Nirmal Ranganathan updated CASSANDRA-1279:
------------------------------------------

    Attachment: 1279-v3.patch

The scheduler will only have 1 token at anytime and the run/release of each thread is synchronized, effectively running only one thread at a time. So hopefully no threading inconsistencies occur.

> heisenbug in RoundRobinSchedulerTest
> ------------------------------------
>
>                 Key: CASSANDRA-1279
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1279
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7 beta 1
>            Reporter: Jonathan Ellis
>            Assignee: Nirmal Ranganathan
>             Fix For: 0.7 beta 1
>
>         Attachments: 1279-v3.patch, Cassandra-1279-v2.patch, Cassandra-1279.patch
>
>
> Occasionally I see this error in the test suite:
>     [junit] Testcase: testScheduling(org.apache.cassandra.scheduler.RoundRobinSchedulerTest):	FAILED
>     [junit] 
>     [junit] junit.framework.AssertionFailedError: 
>     [junit] 	at org.apache.cassandra.scheduler.RoundRobinSchedulerTest.testScheduling(RoundRobinSchedulerTest.java:90)
>     [junit] 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.