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

Problem: messages dropped due to HWM race #2161

Closed
bluca opened this issue Oct 13, 2016 · 1 comment
Closed

Problem: messages dropped due to HWM race #2161

bluca opened this issue Oct 13, 2016 · 1 comment

Comments

@bluca
Copy link
Member

bluca commented Oct 13, 2016

Using ZeroMQ in a system with throughput of several million messages per second I was observing occasional drops of small number of messages, even when HWM is set to a value sufficient to accommodate all possible bursts in the flow.

The problem seems be caused by a race between process_activate_write() and check_hwm() on peers_msgs_read variable in zmq::pipe_t.

@bluca
Copy link
Member Author

bluca commented Oct 13, 2016

Fixed by #1649

This fix was backported to 4.1, so using this issue for the NEWS.

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