lhotari commented on code in PR #23634:
URL: https://github.com/apache/pulsar/pull/23634#discussion_r1859014323
##########
pulsar-broker-common/src/main/java/org/apache/pulsar/common/configuration/VipStatus.java:
##########
@@ -55,7 +55,7 @@ public class VipStatus {
// when there's more than 1 seconds from the previous check.
// If it's less than that, the previous result of the deadlock check would
be reused.
private static final long DEADLOCK_DETECTED_INTERVAL = 1000L;
- private static volatile boolean brokerIsHealthy = true;
+ private static volatile boolean lastCheckStatusResult = true;
Review Comment:
Make this an instance field by removing `static`.
--
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]