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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.0.3, 5.1.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • v5.0
    • Repl 2021-08-09
    • 33

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: