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


##########
pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/realtime/PinotLLCRealtimeSegmentManager.java:
##########
@@ -1066,13 +1066,14 @@ public void segmentStoppedConsuming(LLCSegmentName 
llcSegmentName, String instan
 
     String realtimeTableName = 
TableNameBuilder.REALTIME.tableNameWithType(llcSegmentName.getTableName());
     String segmentName = llcSegmentName.getSegmentName();
-    LOGGER.info("Marking CONSUMING segment: {} OFFLINE on instance: {}", 
segmentName, instanceName);
+
     try {
       HelixHelper.updateIdealState(_helixManager, realtimeTableName, 
idealState -> {
         assert idealState != null;
         Map<String, String> stateMap = 
idealState.getInstanceStateMap(segmentName);
         String state = stateMap.get(instanceName);

Review Comment:
   We should count this as a bug. When segment is removed from IS, we shouldn't 
retry. We should log some info instead of letting it throw NPE.



-- 
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-unsubscr...@pinot.apache.org

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