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
CounterServiceDemo: concurrent mass increment blocks clients #39
Comments
Looks like |
Looks like the culprit is |
The reason why
So messages with indices 37 and 38 will not get appended to the log of B until the resend_task kicks in (by default every 1000 ms). Suggested solutions:
|
OK, I chose solution 1 |
…he index, so we make sure that all updates are received in the same order (established by NAKACK2) [#39]
… the index, so we make sure that all updates are received in the same order (established by NAKACK2) [#39] - Upgrade Mapdb to version 1.0.8 - Changed JGroups version to 3.6.+ (snapshot)
When running 2 (or more) instances of
CounterServiceDemo
and incrementing the same counter from 2 instances at the same time (e.g. press[9]
and pick1000
increments), then both instances block.A preliminary investigation showed that the issue is with
REDIRECT
.The text was updated successfully, but these errors were encountered: