tenant_migration_resume_oplog_application.js should account for resumeTokens being part of an application batch

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.0.2, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v5.0
    • Repl 2021-06-28
    • 9
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, the test sets the batchSizeLimit to 2 and expects that we hang after applying one batch (ie. applying 2 of the 3 insert entries here). However, it seems possible that a resumeToken oplog entry finds its way into the batch, which causes our expectations of the batch contents and the number of no-op oplog entries to be applied to be incorrect.

              Assignee:
              Jason Chan
              Reporter:
              Jason Chan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: