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

Investigate removing "oplogEnd" from the backup cursor metadata response

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • RSS Sydney
    • PopcornChicken - 2024-09-17

      There are a couple of problems with the current implementation to report the "oplogEnd" timestamp.

      1. The timestamp is fetched outside the critical section where we ensure no checkpoint took place. This can result in the "oplogEnd" timestamp being reported as less than the checkpoint timestamp the backup cursor was opened against.
      2. The "oplogEnd" timestamp is not majority committed. It is the last applied optime, and can be rolled back.

      If we remove this, it would only be in the $backupCursor and not $backupCursorExtend.

            Assignee:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Reporter:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: