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] Respect consumer's starting seq, even if in the future #6253

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MauriceVanVeen
Copy link
Member

When using a replicated stream a consumer with a starting sequence could be created on a follower that's ever so slightly behind on applies. If the starting sequence is higher than the stream's last sequence we would clamp it down.
We should not be clamping it down, and must respect what the user/client gave us. That ensures any messages the user/client gets are always message.seq>=starting_seq as well.

However, if the consumer is used for mirroring/sourcing then we should still clamp down.

Signed-off-by: Maurice van Veen [email protected]

@MauriceVanVeen MauriceVanVeen requested a review from a team as a code owner December 13, 2024 14:23
@MauriceVanVeen MauriceVanVeen force-pushed the maurice/consumer-respect-start-seq branch from 6902961 to a1d3f00 Compare December 13, 2024 14:31
@MauriceVanVeen MauriceVanVeen force-pushed the maurice/consumer-respect-start-seq branch from a1d3f00 to 31b599f Compare December 23, 2024 15:15
@MauriceVanVeen MauriceVanVeen force-pushed the maurice/consumer-respect-start-seq branch from 31b599f to 900fd35 Compare December 23, 2024 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.

2 participants