Skip to content

Apply the per-node connection_max limit to AMQP 1.0 connections (backport #16300)#16301

Merged
michaelklishin merged 1 commit intov4.3.xfrom
mergify/bp/v4.3.x/pr-16300
May 4, 2026
Merged

Apply the per-node connection_max limit to AMQP 1.0 connections (backport #16300)#16301
michaelklishin merged 1 commit intov4.3.xfrom
mergify/bp/v4.3.x/pr-16300

Conversation

@mergify
Copy link
Copy Markdown

@mergify mergify Bot commented May 4, 2026

Historically, the connection_max limit was only
enforced by the AMQP 0-9-1 reader,
even though its documented meaning
("the maximum allowed number of client connections per node")
implicitly covers connections of all core protocols.

AMQP 1.0 is a core protocol these days on par
with AMQP 0-9-1, so the same limit should apply to it.

The change is node-local and mixed version cluster-safe: the modified v1 connection record is entirely local and not persisted, and the "protocol hand-off" contract between the AMQP 0-9-1 and AMQP 1.0 reader modules is also entirely node-local.

Further Comments

References #16299


This is an automatic backport of pull request #16300 done by [Mergify](https://mergify.com).

Historically, the `connection_max` limit was only
enforced by the AMQP 0-9-1 reader,
even though its documented meaning
("the maximum allowed number of client connections per node")
implicitly covers connections of all core protocols.

AMQP 1.0 is a core protocol these days on par
with AMQP 0-9-1, so the same limit should
apply to it.

The change is node-local and mixed version cluster-safe:
the modified `v1` connection record is entirely local
and not persisted, and the "protocol hand-off" contract
between the AMQP 0-9-1 and AMQP 1.0 reader modules
is also entirely node-local.

References #16299

(cherry picked from commit 4cfe6ec)
@mergify mergify Bot added the make label May 4, 2026
@michaelklishin michaelklishin added this to the 4.3.1 milestone May 4, 2026
@michaelklishin michaelklishin merged commit 09671ca into v4.3.x May 4, 2026
189 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v4.3.x/pr-16300 branch May 4, 2026 22:27
michaelklishin added a commit that referenced this pull request May 4, 2026
michaelklishin added a commit that referenced this pull request May 4, 2026
michaelklishin added a commit that referenced this pull request May 4, 2026
Apply the per-node `connection_max` limit to AMQP 1.0 connections (backport #16300) (backport #16301)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant