Commitlog files are pre-allocated and reused, not deleted. This improves productivity. See here for more details .
The command log is used if the node descends before the memtable has been reset to SSTable. This is done by replaying the commitlog to recreate the memtable. When you make a flash, then the space in commitlog can be recovered and reused.
source
share