Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Operability
-
Low Hanging Fruit
-
All
-
None
-
Description
When we log in compaction we use the compactionId (or taskId), because of this we can figure out the start and end log lines for compaction. The issue is, when you interrupt a compaction task, we don’t log the compactionId, we instead log the tableId; for this reason it is much harder to attribute the interrupt to a single compactionId
Examples
INFO 2020-07-15T18:04:51,670 [CompactionExecutor:144057] org.apache.cassandra.db.compaction.CompactionTask:158 - Compacting (5a463760-c700-11ea-8982-13c71a558319) [data/ks/table/ma-27-Data.db:level=0, data/ks/table/ ma-24-Data.db:level=0, ] INFO 2020-07-15T18:33:47,550 [CompactionExecutor:144057] org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor:1942 - Compaction interrupted: Compaction@057aa994-c35b-39ec-b74d-33fba2d13bbc(ks, table, 3105436904/8658590553)bytes