Add comments before getting the checkpoint lock.