Hi,
experimenting with log compaction, I see Kafka go through all the steps,
in particular I see positive messages in log-cleaner.log and *.deleted
files. Yet once the *.deleted segment files have disappeared, the
segment and index files with size 0 are still kept.
I stopped and restarted Kafka and saw several rounds of the log cleaner
go by, but the empty files stay:
-rw-rw-r-- 1 0 Aug 5 11:58 00000000000000000000.index
-rw-rw-r-- 1 0 Aug 5 11:58 00000000000000000000.log
-rw-rw-r-- 1 0 Aug 5 11:58 00000000000000000051.index
-rw-rw-r-- 1 0 Aug 5 11:58 00000000000000000051.log
-rw-rw-r-- 1 0 Aug 5 11:58 00000000000000000096.index
-rw-rw-r-- 1 0 Aug 5 11:58 00000000000000000096.log
[... snip ...]
-rw-rw-r-- 1 92041 Aug 5 11:58 00000000000000000680.log
-rw-rw-r-- 1 0 Aug 5 11:58 00000000000000000727.index
-rw-rw-r-- 1 199822 Aug 5 11:58 00000000000000000727.log
-rw-rw-r-- 1 10485760 Aug 5 11:58 00000000000000000781.index
-rw-rw-r-- 1 95972 Aug 5 11:58 00000000000000000781.log
Is this expected behavior or is there yet another configuration option
that defines when these get purged?
Harald.