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

DBConnectionPool doesn't return code `ShutdownInProgress` when it is being shut down

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0-rc0
    • Affects Version/s: 3.4.9, 3.5.13
    • Component/s: Networking
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Sharding 2017-10-02
    • 0

      Some sharding code paths (such as migration commit) rely on a shutdown code to be specified in order to gracefully terminate.

      The DBConnectionPool stops working when the server starts the shutdown sequence, but returns code 17382, which cannot be used to infer a shutdown.

      We should make it return a ErrorCodes::ShutdownInProgress instead.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: