Use code other than TemporarilyUnavailable for ConnectionPool request rejection

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • 0

      ConnectionPool currently uses the TemporarilyAvailable error code when rejecting connection acquisition attempts. This code has some issues though (see SERVER-105251), so we should update this to use a new code specific to this case (e.g. PooledConnectionAcquisitionRejected). This new error code should also be in the SystemOverloaded category to ensure it receives the SystemOverloaded error label.

            Assignee:
            Michael Popov
            Reporter:
            Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: