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

Strict log reading mode #100

Open
kjnilsson opened this issue Aug 8, 2022 · 0 comments
Open

Strict log reading mode #100

kjnilsson opened this issue Aug 8, 2022 · 0 comments

Comments

@kjnilsson
Copy link
Contributor

We already have a "strict" or "absolute" means of attaching to a log by using {abs, Offset} - this mode will error if the offset does not exist in the log. However this does not take into account the case where retention overtakes a log reader. In this case it will simply just resume reading at the next segment.

Consider extending the absolute|strict "mode" to error whenever it tries to open the next segment it expects to exist and it doesn't and it isn't at the end of the stream.

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

No branches or pull requests

1 participant