[SERVER-68583] Log the checkpoint timestamp on backup cursor open and extend Created: 05/Aug/22  Updated: 29/Oct/23  Resolved: 02/Sep/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Josef Ahmad Assignee: Adrian Gonzalez Montemayor
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2022-09-05, Execution Team 2022-09-19
Participants:

 Description   

Today's log output with default verbosity:

{"t":{"$date":"2022-08-05T13:39:38.784+00:00"},"s":"I",  "c":"STORAGE",  "id":24200,   "ctx":"conn18","msg":"Opened backup cursor","attr":{"backupId":{"uuid":{"$uuid":"d948cccf-bc63-4c31-90b0-1c23af3b6728"}},"term":1}}
{"t":{"$date":"2022-08-05T13:40:54.015+00:00"},"s":"I",  "c":"STORAGE",  "id":24201,   "ctx":"conn18","msg":"Extending backup cursor","attr":{"backupId":{"uuid":{"$uuid":"d948cccf-bc63-4c31-90b0-1c23af3b6728"}},"extendTo":{"$timestamp":{"t":1659706720,"i":1}}}}
{"t":{"$date":"2022-08-05T13:40:54.019+00:00"},"s":"I",  "c":"STORAGE",  "id":24202,   "ctx":"conn18","msg":"Backup cursor has been extended","attr":{"backupId":{"uuid":{"$uuid":"d948cccf-bc63-4c31-90b0-1c23af3b6728"}},"extendTo":{"$timestamp":{"t":1659706720,"i":1}}}}
{"t":{"$date":"2022-08-05T13:41:05.512+00:00"},"s":"I",  "c":"STORAGE",  "id":24203,   "ctx":"conn18","msg":"Closed backup cursor","attr":{"backupId":{"uuid":{"$uuid":"d948cccf-bc63-4c31-90b0-1c23af3b6728"}}}}

For diagnostics, it would be useful to add the checkpoint timestamp the cursor is opened or extended at.



 Comments   
Comment by Githook User [ 02/Sep/22 ]

Author:

{'name': 'Adrian Gonzalez', 'email': 'adriangonzalezmontemayor@gmail.com', 'username': 'adriangzz'}

Message: SERVER-68583 Add checkpoint timestamp to logs

SERVER-68583 Add checkpoint timestamp to logs

Update log ID and update message to new format
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/9b837c8ca93b0c387205663c36de2efa93ff4b81

Generated at Thu Feb 08 06:11:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.