shounakmk219 opened a new pull request, #14829: URL: https://github.com/apache/pinot/pull/14829
# Description Minion task can be triggered by 3 ways as of now 1. Cron schedule 2. Manual schedule 3. Adhoc task execution To identify which actor triggered a particular task run, this PR injects the information in task configs so that it gets tracked in zk for reference. The `triggeredBy` info is also made available on `TaskDebugInfo` and `SubtaskDebugInfo`. ## Refactor on `PinotTaskManager` There were too many derivations of schedule methods in PinotTaskManager based on what combination of tables and task types are supposed to be scheduled. This made the changes on schedule inputs hard to manage. This PR adds a wrapper class `TaskSchedulingContext` that will be passed to only one `scheduleTasks()` method to achieve all the derivations. -- 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