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

Oplog Fetcher Mock should account for StartingPoint::kSkipFirstDoc

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Replication

      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.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            jason.chan@mongodb.com Jason Chan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: