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

Docs for IMap.putAll() do not mention the lack of atomicity in the invocation #7256

Closed
StanAccy opened this issue Jan 5, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@StanAccy
Copy link

commented Jan 5, 2016

Current Javadocs for IMap.putAll() (available here: http://docs.hazelcast.org/docs/latest/javadoc/com/hazelcast/core/IMap.html) do not mention the fact that .putAll() is not atomic.

It could partially complete. In a non WAN-replicated environment this might not be an issue, but when WAN replication is being used with <queue-full-behavior>THROW_EXCEPTION</queue-full-behavior> there's a significant possibility that putAll() will fail at some point, and a partial update will have taken place across the WAN. This partial completion nature of putAll() is not documented, and it would be helpful if it was.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.