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

Log session id associated with the backup cursor

    • Storage Execution
    • Fully Compatible
    • v7.0, v6.3, v6.0, v5.0, v4.4
    • Execution NAMR Team 2023-07-10, Execution NAMR Team 2023-07-24

      At present the log message reporting establishement of a backup cursor does not include a session id used by the client.

      {"t":{"$date":"2023-05-31T09:46:31.715+10:00"},"s":"I",  "c":"STORAGE",  "id":24200,   "ctx":"conn11","msg":"Opened backup cursor","attr":{"backupId":{"uuid":{"$uuid":"eb00127c-48f6-42ba-a638-f6da12c19e4e"}},"term":-1}}
      

      This makes it hard to diagnose situations when the backup cursor does not get reaped for a long time.

      It would be helpful to include a session id in the log message as well.

            Assignee:
            shinyee.tan@mongodb.com Shin Yee Tan
            Reporter:
            dmitry.ryabtsev@mongodb.com Dmitry Ryabtsev
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: