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

Expose getLatestOplogTimestamp() in aggregation cursor command responses on oplog

    • Fully Compatible
    • Sharding 2020-09-07

      • Add syntax to aggregate command to allow QueryPlannerParams::TRACK_LATEST_OPLOG_TS to be set. Some care must be taken to reject user requests which attempt to set the parameter for a non-oplog namespace.
      • Add Timestamp latestOplogTimestamp to the CursorResponse type.
        • CursorResponseBuilder::setLatestOplogTimestamp() should likely be called in all the same places CursorResponseBuilder::setPostBatchResumeToken() is being called today.
        • If latestOplogTimestamp.isNull() then omit the field from the cursor command response.

            Assignee:
            alex.taskov@mongodb.com Alexander Taskov (Inactive)
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: