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

NewOplogFetcher should send term/lastCommittedOpTime in getMore request

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.4
    • Component/s: Replication
    • Labels:
      None

      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

          Issue Links

            Activity

              People

              Assignee:
              lingzhi.deng Lingzhi Deng
              Reporter:
              lingzhi.deng Lingzhi Deng
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: