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

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Jason Chan
            Reporter:
            jason.chan@mongodb.com Jason Chan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: