Skip to content

Conversation

@mergify
Copy link

@mergify mergify bot commented Sep 26, 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.
This is an automatic backport of pull request #14605 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)
(cherry picked from commit db98d6e)
@michaelklishin michaelklishin added this to the 4.1.5 milestone Sep 26, 2025
@michaelklishin michaelklishin merged commit 2f47fcb into v4.1.x Sep 26, 2025
276 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v4.1.x/pr-14605 branch September 26, 2025 17:22
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.

3 participants