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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.0.2, 5.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • v5.0
    • Repl 2021-06-28
    • 9

    Description

      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.

      Attachments

        Activity

          People

            jason.chan@mongodb.com Jason Chan
            jason.chan@mongodb.com Jason Chan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: