[
https://issues.apache.org/jira/browse/ZOOKEEPER-2726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928698#comment-15928698
]
ASF GitHub Bot commented on ZOOKEEPER-2726:
-------------------------------------------
GitHub user knusbaum opened a pull request:
https://github.com/apache/zookeeper/pull/197
ZOOKEEPER-2726: Patch for ZOOKEEPER-2693 introduces potential race condition
#196
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/knusbaum/zookeeper ZOOKEEPER-2726-3.4
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/197.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #197
----
commit 39e66833c6efaa1a25aaac97aa523deea4853f08
Author: Kyle Nusbaum <[email protected]>
Date: 2017-03-16T19:06:46Z
Synchronizing 4-letter-word methods
----
> Patch for ZOOKEEPER-2693 introduces potential race condition
> ------------------------------------------------------------
>
> Key: ZOOKEEPER-2726
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2726
> Project: ZooKeeper
> Issue Type: Bug
> Reporter: Kyle Nusbaum
>
> We noticed when porting the patch, that isEnabled is not thread-safe.
> Synchronizing it and resetWhitelist should solve the issue.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)