Details
Description
It is possible that the checkpoint thread is not ready by the time the compact thread starts compaction. If we leave it as is we are at the mercy of the system thread scheduler. We need to make sure that the thread sequence is guaranteed.