Add replication metadata document to $backupCursor results

XMLWordPrintableJSON

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

      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 (Inactive)
              Reporter:
              Daniel Gottlieb (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: