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

fix: only initial backtracking up to start offset when far behind #109

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

Conversation

pvlugter
Copy link
Contributor

We've already fixed the heartbeat on backtracking idle in #104. When looking at that issue, we also noticed that there was both the initial backtracking queries up to the initial offset, and then it later switched to more backtracking, even though it was far behind. Not essential to fix this, but we can correct it now.

Update the check to be up to or ahead of the initial offset. Extend the test to cover this scenario.

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.

1 participant