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

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.3, 5.1.0-rc0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v5.0
    • Sprint:
      Repl 2021-08-09
    • Linked BF Score:
      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

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

              Dates

              Created:
              Updated:
              Resolved: