mirror of https://github.com/apache/cassandra
fixed bug in CompactionManager.needsCleanup
Patch by Dmitrij Koniajev, reviewed by marcuse for CASSANDRA-6845.
This commit is contained in:
parent
19444ea165
commit
05da045bbf
|
|
@ -4,7 +4,7 @@
|
|||
* 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)
|
||||
|
||||
2.0.6
|
||||
* Avoid race-prone second "scrub" of system keyspace (CASSANDRA-6797)
|
||||
|
|
|
|||
|
|
@ -493,7 +493,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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue