Jackie-Jiang commented on code in PR #9735:
URL: https://github.com/apache/pinot/pull/9735#discussion_r1014569713
##########
pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/PinotHelixResourceManager.java:
##########
@@ -730,22 +730,29 @@ public String getActualTableName(String tableName) {
*/
/**
- * Returns the segments for the given table.
+ * Returns the segments for the given table from the ideal state.
*
* @param tableNameWithType Table name with type suffix
* @param shouldExcludeReplacedSegments whether to return the list of
segments that doesn't contain replaced segments.
* @return List of segment names
*/
public List<String> getSegmentsFor(String tableNameWithType, boolean
shouldExcludeReplacedSegments) {
Review Comment:
Yes. Checked all the usage of them and moved the ones to clean up the orphan
segments (e.g. when deleting the table or all segments) to use
`getSegmentsFromPropertyStore()`
--
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]