rohityadav1993 commented on code in PR #17754:
URL: https://github.com/apache/pinot/pull/17754#discussion_r2850933265


##########
pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/realtime/PinotLLCRealtimeSegmentManager.java:
##########
@@ -1803,6 +1805,27 @@ IdealState ensureAllPartitionsConsuming(TableConfig 
tableConfig, List<StreamConf
               updateInstanceStatesForNewConsumingSegment(instanceStatesMap, 
latestSegmentName, null, segmentAssignment,
                   instancePartitionsMap);
             }
+          } else if (latestSegmentZKMetadata.getStatus() == Status.IN_PROGRESS
+              && _isPartialOfflineReplicaRepairEnabled) {
+            // Handle case where some replicas are OFFLINE while others are 
CONSUMING

Review Comment:
   It is a harmless addition but I think this is not needed in this scenario. 
Segments are supposed to be IN_PROGRESS in metadata and we are not creating  
new consuming segment with a different metadata and neither we are making any 
change to segment state in IdealState



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to