Skip to content

Conversation

@mergify
Copy link

@mergify mergify bot commented Sep 24, 2025

A quorum queue client that send a message during a network partition
that later caused a distribution disconnection would in some cases
never resend the lost message, even if kept in the pending buffer.
Subsequent sends would be accepted by the state machine but would
never be enqueued as there would be a missing sequence.

In the case of publishers that use pre-settled sends the pending
messages would have also been incorrectly removed from the
pending map.

To fix we removed timer resend aapproach and instead have the leader
send leader_change messages on node up to prompt any queue clients
to resend their pending buffer.


This is an automatic backport of pull request #14589 done by Mergify.

A queue client that send a message during a network partition
that later caused a distribution disconnection would in some cases
never resend the lost message, even if kept in the pending buffer.
Subsequent sends would be accepted by the state machine but would
never be enqueued as there would be a missing sequence.

In the case of publishers that use pre-settled sends the pending
messages would have also been incorrectly removed from the
pending map.

To fix we removed timer resend aapproach and instead have the leader
send leader_change messages on node up to prompt any queue clients
to resend their pending buffer.

(cherry picked from commit b66dc40)
@michaelklishin michaelklishin added this to the 4.2.0 milestone Sep 26, 2025
@michaelklishin michaelklishin merged commit 3bc6b4a into v4.2.x Sep 26, 2025
567 of 569 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v4.2.x/pr-14589 branch September 26, 2025 15:04
michaelklishin added a commit that referenced this pull request Sep 26, 2025
Quorum queues: fix resend issues after network partition (backport #14589) (backport #14605)
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.

3 participants