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

NewOplogFetcher should send term/lastCommittedOpTime in getMore request

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.4
    • None
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2020-02-24

    Description

      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.

      Attachments

        Activity

          People

            lingzhi.deng@mongodb.com Lingzhi Deng
            lingzhi.deng@mongodb.com Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: