maedhroz commented on code in PR #4559:
URL: https://github.com/apache/cassandra/pull/4559#discussion_r2887537510


##########
src/java/org/apache/cassandra/db/compaction/writers/CompactionAwareWriter.java:
##########
@@ -97,7 +98,10 @@ public CompactionAwareWriter(ColumnFamilyStore cfs,
         sstableWriter = SSTableRewriter.construct(cfs, txn, keepOriginals, 
maxAge, earlyOpenAllowed);
         minRepairedAt = CompactionTask.getMinRepairedAt(nonExpiredSSTables);
         pendingRepair = CompactionTask.getPendingRepair(nonExpiredSSTables);
-        coordinatorLogOffsets = 
CompactionTask.getCoordinatorLogOffsets(nonExpiredSSTables);
+
+        coordinatorLogOffsets = 
DatabaseDescriptor.getMutationTrackingEnabled() ? 
CompactionTask.getCoordinatorLogOffsets(nonExpiredSSTables)

Review Comment:
   Yeah, my initial fear here was that we would hit 
`MutationTrackingService.instance().isDurablyReconciled(id)` in 
`purgeTransfers()` potentially, but we should never even startup. I'll revert 
this.



-- 
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]

Reply via email to