Skip to content

Have SQL connection pool handle racy uncancellable timeout.#1620

Merged
vietj merged 1 commit into5.0from
pool-handle-uncancellable-timeout-5.0
Feb 12, 2026
Merged

Have SQL connection pool handle racy uncancellable timeout.#1620
vietj merged 1 commit into5.0from
pool-handle-uncancellable-timeout-5.0

Conversation

@vietj
Copy link
Member

@vietj vietj commented Feb 12, 2026

Motivation:

The SQL connection pool resource acquisition completion can race against the acquisition timeout.

Changes:

When the acquisition timeout cannot be cancelled, the resource should be recycled and the promise should not be completed.

@vietj vietj added this to the 5.0.8 milestone Feb 12, 2026
Motivation:

The SQL connection pool resource acquisition completion can race against the acquisition timeout.

Changes:

When the acquisition timeout cannot be cancelled, the resource should be recycled and the promise should not be completed.
@vietj vietj force-pushed the pool-handle-uncancellable-timeout-5.0 branch from 91050de to 01d8e96 Compare February 12, 2026 10:43
@vietj vietj merged commit e290886 into 5.0 Feb 12, 2026
18 checks passed
@vietj vietj deleted the pool-handle-uncancellable-timeout-5.0 branch February 12, 2026 10:50
@vietj vietj linked an issue Feb 12, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Promise already completed error when connection timeout timer kicks in

1 participant