mirror of https://github.com/apache/cassandra
Fix race introduced by CASSANDRA-2503
patch by jbellis; reviewed by slebresne for CASSANDRA-3482 git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-1.0@1200998 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5771a1c836
commit
ce6460cdfc
|
|
@ -10,6 +10,7 @@
|
|||
* report compression ratio in CFSMBean (CASSANDRA-3393)
|
||||
* fix incorrect size exception during streaming of counters (CASSANDRA-3481)
|
||||
* (CQL) fix for counter decrement syntax (CASSANDRA-3418)
|
||||
* Fix race introduced by CASSANDRA-2503 (CASSANDRA-3482)
|
||||
Merged from 0.8:
|
||||
* Make counter shard merging thread safe (CASSANDRA-3178)
|
||||
* fix updating CF row_cache_provider (CASSANDRA-3414)
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@ public class CollationController
|
|||
// "hoist up" the requested data into a more recent sstable
|
||||
if (sstablesIterated >= cfs.getMinimumCompactionThreshold() && cfs.getCompactionStrategy() instanceof SizeTieredCompactionStrategy)
|
||||
{
|
||||
RowMutation rm = new RowMutation(cfs.table.name, new Row(filter.key, returnCF));
|
||||
RowMutation rm = new RowMutation(cfs.table.name, new Row(filter.key, returnCF.cloneMe()));
|
||||
try
|
||||
{
|
||||
rm.applyUnsafe(); // skipping commitlog is fine since we're just de-fragmenting existing data
|
||||
|
|
|
|||
Loading…
Reference in New Issue