Correct. It's also worth noting that if you delete log files and restart C* the CompactionLogger will then find the earliest available file number starting from 0. You'll have to explore what you can use to configure proper log rotation as the CompactionLogger doesn't use the logging system to write out to files.
raft.so - Cassandra consulting, support, and managed services On Fri, Apr 9, 2021 at 7:38 PM Jens Fischer <j.fisc...@sonnen.de> wrote: > Hi Erik, > > thank you for the link, very instructive. > > To summarise my understanding of your mail, the code and my experiments: > > - as long as the compaction logger is running it will write into the same > “compaction.log" file > - if a new logger gets started (for example through restart of the > Cassandra Node) the file current file will be moved to > “compaction-<sequence number>.log” and a new “compaction.log" file will be > created > - files will never be archived (compressed) or deleted > > Correct? > > Best > Jens > Geschäftsführer: Jean-Baptiste Cornefert, Oliver Koch, Bianca Swanston > Amtsgericht Kempten/Allgäu, Registernummer: 10655, Steuernummer > 127/137/50792, USt.-IdNr. DE272208908 >