TODO: Get rid of CleanShutdownFile in 0.
TODO: Get rid of CleanShutdownFile in 0.8.2
A temporary file that is being used for log cleaning
a file that is scheduled to be deleted
an index file
a log file
A temporary file used when swapping files into the log
Make log segment file name from offset bytes.
Make log segment file name from offset bytes. All this does is pad out the offset number with zeros so that ls sorts the files numerically.
The offset to use in the file name
The filename
Construct an index file name in the given dir using the given base offset
Construct an index file name in the given dir using the given base offset
The directory in which the log will reside
The base offset of the log file
Construct a log file name in the given dir with the given base offset
Construct a log file name in the given dir with the given base offset
The directory in which the log will reside
The base offset of the log file
Parse the topic and partition out of the directory name of a log
Helper functions for logs