Use code other than TemporarilyUnavailable for ConnectionPool request rejection

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Workload Scheduling
    • Fully Compatible
    • Workload Scheduling 2025-06-23
    • 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:
            Patrick Freed
            Reporter:
            Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: