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

Tailer.toEnd() may not position on the last queue entry after crash #1272

Open
alamar opened this issue Dec 15, 2022 · 0 comments
Open

Tailer.toEnd() may not position on the last queue entry after crash #1272

alamar opened this issue Dec 15, 2022 · 0 comments
Labels

Comments

@alamar
Copy link
Contributor

alamar commented Dec 15, 2022

Related to #1269

tailer.direction(BACKWARDS).toEnd() also seems to use approximate excerpts count and thus may position on second-to-last entry. This will often be used to read the latest entry to determine where to resume writing data, but seems to be unsafe to use.

For some reason, it always seem to happen when cycle roll-over happened while the queue producer was offline.

ChronicleEnterprise/Chronicle-Queue-Enterprise#333 is affected by this issue as well.

@tgd tgd added the review label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants