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

Add a command to allow querying local.oplog.rs through mongos for the head of oplog timestamp

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Replication

      There is a need for Mongosync to query the earliest timestamp on the source cluster, from which it can open a change stream. In the sharding cluster case, it would require Mongosync to know

      max(<ts of oldest oplog entry> for each shard)

      After a discussion with Max and Bernard here , we found there is currently no good way to do it. We will need a special command to allow mongos to return this value.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            huan.li@mongodb.com Huan Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated: