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

Return ErrorCodes::NetworkTimeout in LDAP connection pool

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 7.3.3, 8.0.0-rc5, 7.0.11
    • Affects Version/s: 7.3.0-rc7, 8.0.0-rc2
    • Component/s: None
    • None
    • Server Security
    • Fully Compatible
    • v8.0, v7.3, v7.0
    • Security 2024-04-29, Security 2024-05-13
    • 200

      Today, the LDAP connection pool returns OperationFailed when its alarm triggers before the system LDAP library returns a response. This contrasts with the system LDAP libraries, which return NetworkTimeout when they are unable to get a reply from the remote LDAP host.

      Since NetworkTimeout is retriable and also more informative than OperationFailed, we should change the error code returned.

            Assignee:
            varun.ravichandran@mongodb.com Varun Ravichandran
            Reporter:
            varun.ravichandran@mongodb.com Varun Ravichandran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: