NewOplogFetcher should send term/lastCommittedOpTime in getMore request

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.3.4
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2020-02-24
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Similar to this unit test, we should call setCurrentTermAndLastCommittedOpTime before calling _cursor->more() in NewOplogFetcher to make the DBClientCursor send the term and lastKnownCommittedOpTime fields in the getMore request. This is needed for the first getMore request and when oplogFetcherUsesExhaust is off.

            Assignee:
            Lingzhi Deng
            Reporter:
            Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: