Github user aweisberg commented on a diff in the pull request:
https://github.com/apache/cassandra/pull/224#discussion_r187434990
--- Diff: src/java/org/apache/cassandra/db/ColumnFamilyStore.java ---
@@ -1868,7 +1866,7 @@ public void compactionDiskSpaceCheck(boolean enable)
public void cleanupCache()
{
- Collection<Range<Token>> ranges =
StorageService.instance.getLocalRanges(keyspace.getName());
+ Collection<Range<Token>> ranges =
StorageService.instance.getLocalReplicas(keyspace.getName()).asRangeSet();
--- End diff --
Same.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]