npawar commented on code in PR #8663:
URL: https://github.com/apache/pinot/pull/8663#discussion_r878902060


##########
pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/realtime/PinotLLCRealtimeSegmentManager.java:
##########
@@ -855,14 +855,19 @@ private Map<Integer, SegmentZKMetadata> 
getLatestSegmentZKMetadataMap(String rea
    * idealState.
    * If so, it should create the new segments in idealState.
    *
+   * If the consuming segment is deleted:

Review Comment:
   Mention here that this happens only if the special flag  is set



##########
pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/realtime/PinotLLCRealtimeSegmentManager.java:
##########
@@ -1121,39 +1131,26 @@ IdealState ensureAllPartitionsConsuming(TableConfig 
tableConfig, PartitionLevelS
           // 3. we should never end up with some replicas ONLINE and some 
OFFLINE.

Review Comment:
   remove the "Resolved in " from point number 2, now that your PR handles 
this. I think that comment was making some assumptions that this will never 
happen after correcting the bug in that 2980 PR



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