Bench.cpp should fail and report error on connection failure

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Performance
    • Server Tooling & Methods
    • ALL
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Bench.cpp uses BenchRunWorkerStateGuard to synchronize worker threads in benchRun after establishing connections to the mongod. If the connection attempt fails, the guard is skipped, and the remaining workers wait forever for the failed thread.

      The exception handling code should decrement the counter used by BenchRunWorkerStateGuard so the other threads don't hang, and should signal a failure.

            Assignee:
            Backlog - Server Tooling and Methods (STM) (Inactive)
            Reporter:
            David Daly (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: