You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2009/05/12 17:51:45 UTC

[jira] Commented: (CASSANDRA-161) occasinal CME in getKeyRange

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

Jonathan Ellis commented on CASSANDRA-161:
------------------------------------------

02
    fix race condition in compaction -- it was possible for a read thread to "snapshot" ssTables_, then have
    the compactor thread delete those (after merging them into a new file) before the read thread checked   
    them.  Since the read thread's "snapshot" doesn't include the new merged sstable, it incorrectly tells  
    the caller that the key does not exist.                                                                 

01
    CASSANDRA-159 fix race condition between when memtable is replaced as the active one and when it's added to
    the set of historical (pending flush) memtables                                                            

these patches also fix the heisenbugs in NameSort and TimeSort tests.

> occasinal CME in getKeyRange
> ----------------------------
>
>                 Key: CASSANDRA-161
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-161
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>         Attachments: 0001-CASSANDRA-161-fix-race-condition-between-when-memtable.txt, 0002-fix-race-condition-in-compaction-it-was-possible-fo.txt
>
>
>    [testng] java.util.ConcurrentModificationException
>    [testng]     at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
>    [testng]     at java.util.HashMap$KeyIterator.next(HashMap.java:828)
>    [testng]     at java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1010)
>    [testng]     at org.apache.cassandra.db.Table.getKeyRange(Table.java:903)
>    [testng]     at org.apache.cassandra.db.ColumnFamilyStoreTest.testCompactions(ColumnFamilyStoreTest.java:426)
>    [testng] ... Removed 22 stack frames

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