Github user MichaelScofield commented on the issue:
https://github.com/apache/zookeeper/pull/584
@anmolnar Sorry for the late response. I think what @lvfangmin wants to put
here, is that `createNode()` is called in single thread, so the race condition
does not exist. **IF** there
Github user MichaelScofield commented on the issue:
https://github.com/apache/zookeeper/pull/584
@anmolnar Thanks for the `computeIfAbsent` suggestion. Modified codes
accordingly.
@breed @lvfangmin I'm aware that `createNode` is single-threaded, and the
race condition I rev
GitHub user MichaelScofield opened a pull request:
https://github.com/apache/zookeeper/pull/584
ZOOKEEPER-3102: Potential race condition when create ephemeral nodes.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com