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

Create oplog buffer iterator for resharding

    • Fully Compatible
    • Sharding 2020-08-24, Sharding 2020-09-21, Sharding 2020-10-05

      We likely want to have the oplog buffer iterator's getNext() return a mongo::Future. A ready future would be returned when Pipeline::getNext() returns a Document. When Pipeline::getNext() returns boost::none, a future which waits until the oplog fetcher inserts another document into the oplog buffer collection, then constructs a new Pipeline, and finally returns the Document returned by calling Pipeline::getNext().

            Assignee:
            randolph@mongodb.com Randolph Tan
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: