Exception in ContinuousAddRemoveShard thread loop does not trigger test failure

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • ALL
    • 0
    • 1
    • 🟩 Routing and Topology
    • None
    • None
    • None
    • None
    • None
    • None

      The ContinuousAddRemoveShard thready body catches exceptions and logs them but then exits without triggering a failure. Based on the ContinuousStepdown hook, I believe that the desired behavior would be to mark the test as failed.

      If it is preferable to log the error but allow the test to succeed, the exception handler should ensure that the thread fully signals its idle state before exiting, so that resmoke does not wait on it indefinitely.

            Assignee:
            Unassigned
            Reporter:
            Justin Seyster
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: