Skip to content

Be ultra lazy in loading lazy indices during index deletion.

Compare
Choose a tag to compare
@efeg efeg released this 07 Jan 23:26
da84506

Avoid initialization of logSegment indices during deleteIfExists in case the logSegment indices have not been initialized before. This helps with overall resource usage of Kafka server, as well as prevents flaky errors while deleting log segments due to java.io.IOException: No such file or directory.