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

Properly set error responses in NetworkInterfaceASIO when we fail to get a connection from the pool

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.1.6
    • 3.1.5
    • Networking
    • None
    • Fully Compatible
    • ALL
    • Platform 6 07/17/15

    Description

      The bug causing the auth failures is here:

                  ResponseStatus status(exceptionToStatus());
                  asio::post(_io_service, [this, op, status]() { return _completeOperation(op); });
                  return;
      

      We should set the ResponseStatus constructed from the exception as the result of executing the command, but we don't. As a result, we don't hit special logic in TopologyCoordinatorImpl::processHeartbeatResponse that is used for handling authentication failures in heartbeats.

      Attachments

        Activity

          People

            adam.midvidy Adam Midvidy
            samantha.ritter@mongodb.com Samantha Ritter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: