Oplog Fetcher Mock should account for StartingPoint::kSkipFirstDoc

XMLWordPrintableJSON

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

      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:
            [DO NOT USE] Backlog - Replication Team
            Reporter:
            Jason Chan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: