Skip to content

Fix a tie_binding_to_dest_with_keep_while_cond exception on certain auto-delete exchanges#16824

Merged
michaelklishin merged 1 commit into
mainfrom
rabbitmq-server-16823
Jun 27, 2026
Merged

Fix a tie_binding_to_dest_with_keep_while_cond exception on certain auto-delete exchanges#16824
michaelklishin merged 1 commit into
mainfrom
rabbitmq-server-16823

Conversation

@michaelklishin

Copy link
Copy Markdown
Collaborator

The migration ties an auto-delete exchange to having at least one outbound binding (that is, where the exchange in question is the source) via a keep_while condition.

An exchange without such bindings (e.g. an exchange-to-exchange destination or an alternate-exchange target) cannot satisfy it, so Khepri rejects the write with keep_while_conditions_not_met.

Such exchanges should be skipped, matching the behavior on the exchange.declare path.

References #16590 #16587 #14902 #15954.
Closes #16823.

@mergify

mergify Bot commented Jun 27, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@michaelklishin michaelklishin force-pushed the rabbitmq-server-16823 branch from a3f7147 to 33d85c4 Compare June 27, 2026 01:10
@mergify mergify Bot added the make label Jun 27, 2026
@michaelklishin michaelklishin force-pushed the rabbitmq-server-16823 branch from 33d85c4 to d49d492 Compare June 27, 2026 01:19
… auto-delete exchanges

The migration ties an auto-delete exchange to having at least one
outbound binding (that is, where the exchange in question
is the source) via a `keep_while` condition.

An exchange without such bindings (e.g. an exchange-to-exchange
destination or an `alternate-exchange` target) cannot satisfy it,
so Khepri rejects the write with `keep_while_conditions_not_met`.

Such exchanges should be skipped, matching the behavior
on the `exchange.declare` path.

References #16590 #16587.
Closes #16823.
@michaelklishin michaelklishin force-pushed the rabbitmq-server-16823 branch from d49d492 to 0b3c150 Compare June 27, 2026 01:30
@michaelklishin michaelklishin merged commit 7720027 into main Jun 27, 2026
188 checks passed
@michaelklishin michaelklishin deleted the rabbitmq-server-16823 branch June 27, 2026 02:44
michaelklishin added a commit that referenced this pull request Jun 27, 2026
Fix a `tie_binding_to_dest_with_keep_while_cond` exception on certain auto-delete exchanges (backport #16824)
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