Skip to content

Miscellaneous minor improvements in stream SAC coordinator #14106

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 23, 2025

Conversation

acogoluegnes
Copy link
Contributor

This commit handles edge cases in the stream SAC coordinator to make sure it does not crash during execution. Most of these edge cases consist in an inconsistent state, so there are very unlikely to happen.

This commit also makes sure there is no duplicate in the consumer list of a group. Consumers are also now identified only by their connection PID and their subscription ID, as now the timestamp they contain in their state does not allow a field-by-field comparison.

@acogoluegnes acogoluegnes added this to the 4.1.2 milestone Jun 23, 2025
@acogoluegnes acogoluegnes force-pushed the stream-sac-coord-optimization branch from 6b98a52 to 112d2b6 Compare June 23, 2025 08:39
This commit handles edge cases in the stream SAC coordinator to make
sure it does not crash during execution. Most of these edge cases
consist in an inconsistent state, so there are very unlikely to happen.

This commit also makes sure there is no duplicate in the consumer list
of a group. Consumers are also now identified only by their connection
PID and their subscription ID, as now the timestamp they contain in
their state does not allow a field-by-field comparison.
@acogoluegnes acogoluegnes force-pushed the stream-sac-coord-optimization branch from 112d2b6 to b4f7d46 Compare June 23, 2025 08:47
@acogoluegnes acogoluegnes marked this pull request as ready for review June 23, 2025 11:02
@acogoluegnes acogoluegnes merged commit 6e7058e into main Jun 23, 2025
844 of 848 checks passed
@acogoluegnes acogoluegnes deleted the stream-sac-coord-optimization branch June 23, 2025 11:49
@michaelklishin michaelklishin modified the milestones: 4.1.2, 4.2.0 Jun 23, 2025
michaelklishin added a commit that referenced this pull request Jun 23, 2025
Miscellaneous minor improvements in stream SAC coordinator (backport #14106)
acogoluegnes added a commit that referenced this pull request Jun 23, 2025
When the state comes from V4 and the current module is V5.

References #14106
acogoluegnes added a commit that referenced this pull request Jun 23, 2025
When the state comes from V4 and the current module is V5.

References #14106

(cherry picked from commit 4e7e0f0)
michaelklishin pushed a commit that referenced this pull request Jun 25, 2025
When the state comes from V4 and the current module is V5.

References #14106
LoisSotoLopez pushed a commit to cloudamqp/rabbitmq-server that referenced this pull request Jul 16, 2025
When the state comes from V4 and the current module is V5.

References rabbitmq#14106
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.

2 participants