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

Oplog Fetcher Mock should account for StartingPoint::kSkipFirstDoc

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Replication

    Description

      The OplogFetcherMock currently will always call _enqueueDocumentsFn with the entire range of documents it receives. However, we should do something similar to the OplogFetcher where we check the StartingPoint strategy and if it equals kSkipFirstDoc, we should not include the first doc to be enqueued into the buffer.

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            jason.chan@mongodb.com Jason Chan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: