Create oplog buffer iterator for resharding

XMLWordPrintableJSON

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

      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 Tan
              Reporter:
              Max Hirschhorn
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: