chenboat commented on a change in pull request #6778:
URL: https://github.com/apache/incubator-pinot/pull/6778#discussion_r645782963



##########
File path: 
pinot-controller/src/main/java/org/apache/pinot/controller/validation/RealtimeSegmentValidationManager.java
##########
@@ -67,6 +67,22 @@ public RealtimeSegmentValidationManager(ControllerConf 
config, PinotHelixResourc
     Preconditions.checkState(_segmentLevelValidationIntervalInSeconds > 0);
   }
 
+  @Override
+  protected void setUpTask() {
+    // Prefetch the LLC segment without segment store copy from ZK, which 
helps to alleviate ZK access.

Review comment:
       What does the callback do exactly? In `setUpPinotController()` of the 
ControllerStart, the controllerPeriodicTasks are setup after the 
`LeadControllerManager` init and the `registerAndConnectAsHelixParticipant()`. 
In `registerAndConnectAsHelixParticipant`, the table leadership is determined 
via Helix transition. Are you suggesting the Helix transition happens 
asynchronously? @mcvsubbu   @jackjlli 




-- 
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:
us...@infra.apache.org



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

Reply via email to