jayeshchoudhary commented on code in PR #15584: URL: https://github.com/apache/pinot/pull/15584#discussion_r2049173800
########## pinot-controller/src/main/resources/app/utils/PinotMethodUtils.ts: ########## @@ -1008,6 +1009,12 @@ const rebalanceBrokersForTableOp = (tableName) => { return response.data; }); }; +// Runs the RealtimeSegmentValidationManager periodic task for a given table +const repairTableOp = (tableName, tableType) => { + return runPeriodicTask('RealtimeSegmentValidationManager', tableName, tableType).then((response) => { + return response.data; + }); +}; Review Comment: please create a taskType enum and use it here. -- 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