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

In v4.0 branch, DBClientConnection::_checkConnection() can throw but still mark the connection successful

    • Service Arch
    • Fully Compatible
    • ALL

      The code here can re-throw the exception if it's not AuthenticationFailed but still keeps the `_failed` flag as false. Call `_markFailed(kSetFlag)` before throwing.

      Investigate if this problem occurs in later branches too. 

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: