cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <>
Subject [jira] Commented: (CASSANDRA-161) occasional CME in getKeyRange
Date Wed, 13 May 2009 09:26:45 GMT


Hudson commented on CASSANDRA-161:

Integrated in Cassandra #73 (See [])
    test to more reliably reproduce CME during range.  fix by locking out compact during range
patch by jbellis; reviewed by Eric Evans for 
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
them.  Since the read thread's "snapshot" doesn't include the new merged sstable, it incorrectly
the caller that the key does not exist.
patch by jbellis; reviewed by Eric Evans for 
fix race condition between when memtable is replaced as the active one and when it's added
the set of historical (pending flush) memtables.
patch by jbellis; reviewed by Eric Evans for 

> occasional CME in getKeyRange
> -----------------------------
>                 Key: CASSANDRA-161
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>             Fix For: 0.3
>         Attachments: 0001-CASSANDRA-161-fix-race-condition-between-when-memtable.txt,
0002-fix-race-condition-in-compaction-it-was-possible-fo.txt, 0003-test-to-more-reliably-reproduce-CME-during-range.-f.patch
>    [testng] java.util.ConcurrentModificationException
>    [testng]     at java.util.HashMap$HashIterator.nextEntry(
>    [testng]     at java.util.HashMap$
>    [testng]     at java.util.Collections$UnmodifiableCollection$
>    [testng]     at org.apache.cassandra.db.Table.getKeyRange(
>    [testng]     at org.apache.cassandra.db.ColumnFamilyStoreTest.testCompactions(
>    [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.

View raw message