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

Lock a disk segment if in-flight heap contains its message #15

Open
fogfish opened this issue Oct 17, 2018 · 0 comments
Open

Lock a disk segment if in-flight heap contains its message #15

fogfish opened this issue Oct 17, 2018 · 0 comments

Comments

@fogfish
Copy link
Owner

fogfish commented Oct 17, 2018

In-flight capability implements a simple protocol that ensures message retransmission in case of consumer failure. In-flight heap is pure in-memory segment. Existed queue behaviour deletes the on-disk segment one its last message reads (delete happens during rotation). The crash of Erlang node will cause lost of in-flight heap. We need to ensure that disk segments are deleted only when its messages are acknowledged by consumer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant