You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2022/04/22 17:58:28 UTC

[GitHub] [pinot] Jackie-Jiang commented on a diff in pull request #8574: Add minion health check endpoint

Jackie-Jiang commented on code in PR #8574:
URL: https://github.com/apache/pinot/pull/8574#discussion_r856457431


##########
pinot-controller/src/main/java/org/apache/pinot/controller/BaseControllerStarter.java:
##########
@@ -493,7 +493,7 @@ protected void configure() {
 
   private ServiceStatus.ServiceStatusCallback generateServiceStatusCallback(HelixManager helixManager) {
     return new ServiceStatus.ServiceStatusCallback() {
-      private boolean _isStarted = false;
+      private volatile boolean _isStarted = false;

Review Comment:
   Good catch. `_statusDescription` might also need to be `volatile`



-- 
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: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org