You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by GitBox <gi...@apache.org> on 2021/03/06 22:45:33 UTC
[GitHub] [curator] cammckenzie commented on a change in pull request #380: [CURATOR-590] Add option to disable parent creation for PersistentNode
cammckenzie commented on a change in pull request #380:
URL: https://github.com/apache/curator/pull/380#discussion_r588940740
##########
File path: curator-recipes/src/main/java/org/apache/curator/framework/recipes/nodes/PersistentNode.java
##########
@@ -73,8 +73,10 @@
private final AtomicReference<byte[]> data = new AtomicReference<byte[]>();
private final AtomicReference<State> state = new AtomicReference<State>(State.LATENT);
private final AtomicBoolean authFailure = new AtomicBoolean(false);
+ private volatile boolean parentCreationFailure;
Review comment:
Should this be an AtomicBoolean for consistency with the approach used for authFailure?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org