Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-22879

Bench.cpp should fail and report error on connection failure

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Performance
    • Server Tooling & Methods
    • ALL
    • 0

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-stm Backlog - Server Tooling and Methods (STM) (Inactive)
            david.daly@mongodb.com David Daly
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: