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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0-rc1, 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v4.9
    • Repl 2021-05-03
    • 32

      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.

            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: