Jason918 commented on code in PR #21203:
URL: https://github.com/apache/pulsar/pull/21203#discussion_r1329653497
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/AbstractReplicator.java:
##########
@@ -62,6 +63,8 @@ public abstract class AbstractReplicator {
protected final String replicatorPrefix;
+ protected final AtomicBoolean isDisconnected = new AtomicBoolean(false);
Review Comment:
Can we just use bool type? `isDisconnected` is only used in synchronized
methods.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]