Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-68583

Log the checkpoint timestamp on backup cursor open and extend

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • Execution Team 2022-09-05, Execution Team 2022-09-19

      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.

            Assignee:
            adrian.gonzalez@mongodb.com Adrian Gonzalez Montemayor
            Reporter:
            josef.ahmad@mongodb.com Josef Ahmad
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: