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

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9.0-rc1, 5.0.0-rc0
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.9
    • Sprint:
      Repl 2021-05-03
    • Linked BF Score:
      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

            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: