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

Tenant migration recipient unit test blocked due to a race when setting the failpoint

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.9.0-rc1, 5.0.0-rc0
    • Replication
    • None
    • Fully Compatible
    • ALL
    • v4.9
    • Repl 2021-05-03
    • 32

    Description

      Some unit tests in tenant_migration_recipient_service_test.cpp enables a failpoint after creating the tenant migration recipient instance. However since the instance is running in a separate thread, it is possible that by the time the failpoint is enabled, the instance code already ran past the failpoint, causing the test to block indefinitely while waiting on the failpoint to be entered.

      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: