Merge branch 'cassandra-2.0' into cassandra-2.1

Conflicts:
	CHANGES.txt
This commit is contained in:
Marcus Eriksson 2014-03-12 18:17:22 +01:00
commit 019e338670
2 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@ Merged from 2.0:
* Fix accounting in FileCacheService to allow re-using RAR (CASSANDRA-6838)
* Fix static counter columns (CASSANDRA-6827)
* Restore expiring->deleted (cell) compaction optimization (CASSANDRA-6844)
* Fix CompactionManager.needsCleanup (CASSANDRA-6845)
* Avoid race-prone second "scrub" of system keyspace (CASSANDRA-6797)
* Pool CqlRecordWriter clients by inetaddress rather than Range
(CASSANDRA-6665)

View File

@ -564,7 +564,7 @@ public class CompactionManager implements CompactionManagerMBean
return false;
}
if (i == (ownedRanges.size() - 1))
if (i == (sortedRanges.size() - 1))
{
// we're at the last range and we found a key beyond the end of the range
return true;