/[Apache-SVN]
ViewVC logotype

Revision 774023


Jump to revision: Previous Next
Author: jbellis
Date: Tue May 12 19:11:21 2009 UTC (14 years, 10 months ago)
Changed paths: 3
Log Message:
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.
patch by jbellis; reviewed by Eric Evans for CASSANDRA-161

Changed paths

Path Details
Directoryincubator/cassandra/trunk/src/java/org/apache/cassandra/db/ColumnFamilyStore.java modified , text changed
Directoryincubator/cassandra/trunk/test/unit/org/apache/cassandra/CleanupHelper.java modified , text changed
Directoryincubator/cassandra/trunk/test/unit/org/apache/cassandra/db/NameSortTest.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26