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

tenant_migration_timeseries_retryable_write_oplog_cloning.js should get donorDoc before being garbage collected

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.3, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v5.0
    • Repl 2021-08-09
    • 33

      There is a race condition in tenant_migration_timeseries_retryable_write_oplog_cloning.js. The test calls tenantMigrationTest.runMigraition() which automatically forgets migration and so the donorDoc could already be garbage collected before the test tries to lookup for the donorDoc and thus returns null.

            Assignee:
            wenbin.zhu@mongodb.com Wenbin Zhu
            Reporter:
            wenbin.zhu@mongodb.com Wenbin Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: