Expose getLatestOplogTimestamp() in aggregation cursor command responses on oplog

XMLWordPrintableJSON

    • Fully Compatible
    • Sharding 2020-09-07
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      • 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:
            Alexander Taskov (Inactive)
            Reporter:
            Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: