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, afaik there should be one
already, if not let's create
--
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]