Race condition in ShutdownBehavior test in dbclient_grpc_stream_test.cpp

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0, 8.2.6
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • Fully Compatible
    • ALL
    • v8.2
    • N&O 2026-01-19
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This is due to a race condition in the ShutdownBehavior test where the second server thread may actually acquire and update the firstRun atomic before the first server thread, causing the first server thread to fail the ASSERT_NOT_OK(ping.getStatus()) check, and therefore not be properly cleaned up by the reactor leading to the invariant failure.

      See this comment on BF-39873 for details and reproduction.

            Assignee:
            Cole Harbeck
            Reporter:
            Cole Harbeck
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: