Skip to content

Note that the API server uses a second database connection pool - #76430

Merged
pierrejeambrun merged 1 commit into
apache:mainfrom
jason810496:docs/newsfragment-api-server-async-pool
Nov 4, 2026
Merged

pierrejeambrun merged 1 commit into
apache:mainfrom
jason810496:docs/newsfragment-api-server-async-pool

Conversation

@jason810496

Copy link
Copy Markdown
Member

related: #76416 (comment)

Since 3.4.0 each API server worker has a second (async) database connection pool, sized by the same sql_alchemy_pool_size / sql_alchemy_max_overflow settings, so it can open up to twice as many connections. The 3.4.0 release notes do not say so, which matters for anyone sizing PgBouncer or max_connections. This adds a significant newsfragment, to be backported to v3-4-test so it lands in the 3.4.0 release notes.


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

Generated-by: Claude Code (Opus 5.5) following the guidelines

The per-worker connection limit doubles in 3.4.0, and the release notes
did not say so, so deployments sizing PgBouncer or max_connections would
not know to account for it.
@jason810496 jason810496 added the backport-to-v3-4-test Backport to v3-4-test label Nov 4, 2026
@jason810496
jason810496 marked this pull request as ready for review November 4, 2026 11:15
@jason810496 jason810496 self-assigned this Nov 4, 2026
@jason810496 jason810496 added this to the Airflow 3.4.0 milestone Nov 4, 2026

@pierrejeambrun pierrejeambrun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice thanks

@pierrejeambrun
pierrejeambrun merged commit 671be47 into apache:main Nov 4, 2026
89 of 102 checks passed
@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Backport successfully created: v3-4-test

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
✅ v3-4-test PR Link

pierrejeambrun pushed a commit to astronomer/airflow that referenced this pull request Nov 4, 2026
…he#76430)

The per-worker connection limit doubles in 3.4.0, and the release notes
did not say so, so deployments sizing PgBouncer or max_connections would
not know to account for it.

(cherry picked from commit 671be47)
pierrejeambrun pushed a commit that referenced this pull request Nov 4, 2026
…n pool (#76430) (#76434)

The per-worker connection limit doubles in 3.4.0, and the release notes
did not say so, so deployments sizing PgBouncer or max_connections would
not know to account for it.
(cherry picked from commit 671be47)

Co-authored-by: Jason(Zhe-You) Liu <68415893+jason810496@users.noreply.github.com>
pierrejeambrun added a commit that referenced this pull request Nov 4, 2026
…) (#76433)

The per-worker connection limit doubles in 3.4.0, and the release notes
did not say so, so deployments sizing PgBouncer or max_connections would
not know to account for it.

(cherry picked from commit 671be47)

Co-authored-by: Jason(Zhe-You) Liu <68415893+jason810496@users.noreply.github.com>
vatsrahul1001 pushed a commit that referenced this pull request Nov 5, 2026
…n pool (#76430) (#76434)

The per-worker connection limit doubles in 3.4.0, and the release notes
did not say so, so deployments sizing PgBouncer or max_connections would
not know to account for it.
(cherry picked from commit 671be47)

Co-authored-by: Jason(Zhe-You) Liu <68415893+jason810496@users.noreply.github.com>
vatsrahul1001 pushed a commit that referenced this pull request Nov 9, 2026
…) (#76433)

The per-worker connection limit doubles in 3.4.0, and the release notes
did not say so, so deployments sizing PgBouncer or max_connections would
not know to account for it.

(cherry picked from commit 671be47)

Co-authored-by: Jason(Zhe-You) Liu <68415893+jason810496@users.noreply.github.com>
vatsrahul1001 pushed a commit that referenced this pull request Nov 27, 2026
…) (#76433)

The per-worker connection limit doubles in 3.4.0, and the release notes
did not say so, so deployments sizing PgBouncer or max_connections would
not know to account for it.

(cherry picked from commit 671be47)

Co-authored-by: Jason(Zhe-You) Liu <68415893+jason810496@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-to-v3-4-test Backport to v3-4-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants