Checkpoint commit: refactoring the request code in TIDS for better reuse