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

Kafka Merge is getting stall because of intermediate partition offset state #666

Closed
akrambek opened this issue Dec 29, 2023 · 0 comments · Fixed by #661
Closed

Kafka Merge is getting stall because of intermediate partition offset state #666

akrambek opened this issue Dec 29, 2023 · 0 comments · Fixed by #661
Assignees
Labels
bug Something isn't working

Comments

@akrambek
Copy link
Contributor

Describe the bug

This is a current understanding of the issue

zilla: offset <= stable <= latest
which means offset <= stable, stable <= latest, offset <= latest
kafka: offset < stable <= high water mark
which means offset < stable, stable <= high water mark, offset < high water mark

Due to this invariant sometimes we may get into a state where the fix to send a flush when stableOffset or latestOffset has advanced (with no records) after records have been sent or caught up to the latest offset so at least one FLUSH was already sent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant