Skip to content

Conversation

@kjnilsson
Copy link
Contributor

Refactoring to better handle cases where previously the next offset spec
would try to attach to the eof position even though this can vary depending
on whether the log is being written to during reader init. This would result
in many unexpected_chunk_id exceptions during load.

Also refactoring and simplifying other aspects of reader init to make
code clearer and in some cases faster.

Refactoring to better handle cases where previously the `next` offset spec
would try to attach to the eof position even though this can vary depending
on whether the log is being written to during reader init. This would result
in many unexpected_chunk_id exceptions during load.
t
Also refactoring and simplifying other aspects of reader init to make
code clearer and in some cases faster.
@kjnilsson kjnilsson force-pushed the osiris-log-init-refactoring branch from a6003d1 to 0ab12d3 Compare September 8, 2021 13:58
@kjnilsson kjnilsson merged commit 05e5cc9 into master Sep 9, 2021
acogoluegnes added a commit to rabbitmq/rabbitmq-stream-java-client that referenced this pull request Sep 9, 2021
rabbitmq/osiris#50 should fix
the "next" offset problem.

References #26
@michaelklishin michaelklishin deleted the osiris-log-init-refactoring branch September 9, 2021 10:09
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