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

NewOplogFetcher should send term/lastCommittedOpTime in getMore request

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

      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@mongodb.com Lingzhi Deng
            Reporter:
            lingzhi.deng@mongodb.com Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: