Skip to content
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

[FIXED] Durable subscriptions miss messages after cluster restart #591

Merged
merged 1 commit into from Jun 29, 2018

Conversation

kozlovic
Copy link
Member

If a durable subscription (can apply to durable queues too) is
created with a start position other than SequenceStart, and this
subscription receive some messages, then is closed. At that time
either more messages are sent or there were already more messages
in the channel, then after a cluster restart (all nodes are
restarted), then when the durable (queue) is resumed, it would
seem to not receive any messages in the channel. Only new messages
produced after the cluster is restarted would be delivered.

Signed-off-by: Ivan Kozlovic ivan@synadia.com

If a durable subscription (can apply to durable queues too) is
created with a start position other than SequenceStart, and this
subscription receive some messages, then is closed. At that time
either more messages are sent or there were already more messages
in the channel, then after a cluster restart (all nodes are
restarted), then when the durable (queue) is resumed, it would
seem to not receive any messages in the channel. Only new messages
produced after the cluster is restarted would be delivered.

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 91.835% when pulling d022f0c on fix_cluster_sub_start_seq into 4ae7148 on master.

@kozlovic kozlovic merged commit 0b01f4b into master Jun 29, 2018
@kozlovic kozlovic deleted the fix_cluster_sub_start_seq branch October 24, 2018 20:33
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.

None yet

2 participants