alanwang67 commented on code in PR #4692:
URL: https://github.com/apache/cassandra/pull/4692#discussion_r3245925348
##########
src/java/org/apache/cassandra/db/compaction/CompactionManager.java:
##########
@@ -823,7 +846,15 @@ public Iterable<SSTableReader>
filterSSTables(LifecycleTransaction transaction)
transaction.cancel(sstable);
skippedSStables++;
}
+ else if (!needsCleanupAccord)
+ {
+ sstableIter.remove();
+ transaction.cancel(sstable);
+ skippedSStables++;
+ this.incompleteOperation = true;
+ }
}
+
logger.info("Skipping cleanup for {}/{} sstables for {}.{}
since they are fully contained in owned ranges (full ranges: {}, transient
ranges: {})",
Review Comment:
Added to the log message which case we fall under when we skip the SSTable.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]