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

Use --oplogMinRetentionHours in tenant_migration_multi_writes.js to prevent the oplog from being truncated

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.3.0, 5.2.2
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • v5.2
    • Server Serverless 2021-12-27
    • 49

    Description

      tenant_migration_multi_writes.js is a stress test that runs a ton of writes during tenant migrations, and it's possible for the donor's oplog to get truncated out from under the recipient's oplog fetcher. If this happens, the migration will abort before hitting abortTenantMigrationBeforeLeavingBlockingState and so we'll time out waiting to hit this failpoint. We can use the --oplogMinRetentionHours storage option to prevent the oplog from being truncated.

      Attachments

        Activity

          People

            janna.golden@mongodb.com Janna Golden
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: