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

Add replication metadata document to $backupCursor results

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.3
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Storage NYC 2018-08-27

      If replication is enabled, the $backupCursor document source should additionally return a metadata document with three fields:

      {
        checkpointTImestamp: <BSONTimestamp>,
        oplogStart: <OpTime>,
        oplogEnd: <OpTime>
      }
      

      getLastStableCheckpointTimestamp should be used to acquire the checkpointTimestamp. Additionally, the design document dictates how to obtain the oplog start/end optimes.

      Note that during initial sync, the checkpointTimestamp may not exist. A backup in that state is of questionable value, but this project will not prohibit an application from taking one.

            Assignee:
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Reporter:
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: