xiangfu0 commented on code in PR #17330:
URL: https://github.com/apache/pinot/pull/17330#discussion_r2599965567


##########
pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/minion/PinotHelixTaskResourceManager.java:
##########
@@ -958,6 +959,141 @@ private boolean hasTasksForTable(String taskName, String 
tableNameWithType) {
     }
   }
 
+  /**
+   * Get the server tenant name for a given table by looking up its 
configuration.
+   * Returns "unknown" if the table or tenant cannot be determined.
+   *
+   * @param tableName Table name with type (e.g., "myTable_OFFLINE")
+   * @return Server tenant name or "unknown"
+   */
+  private String getTenantForTable(String tableName) {
+    if (tableName == null || UNKNOWN_TABLE_NAME.equals(tableName)) {
+      return UNKNOWN_TABLE_NAME;

Review Comment:
   this should be `UNKNOWN_TENANT_NAME`, same for other lines.



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