tenant_migration_timeseries_retryable_write_oplog_cloning.js should get donorDoc before being garbage collected

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Wenbin Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: