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

XMLWordPrintableJSON

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

      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
            Reporter:
            Wenbin Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: