Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nonLeaderCleanUp with tables parameters in PinotTaskGenerator #13509

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

jackjlli
Copy link
Member

This PR adds the nonLeaderCleanUp method with the list of table names as the parameter in the PinotTaskGenerator interface.

When the tasks are scheduled, the current controller may not always be the lead controller for the tables that were assigned to this controller (e.g. due to hardware uplift, downlift, maintenance), so there might be stale information like metrics that are left in this controller. Adding the nonLeaderCleanup override method in PinotTaskGenerator helps clean up the stale information.

@jackjlli jackjlli force-pushed the add-signiture-to-clean-up-tasks branch from 632e155 to 03d68d7 Compare July 8, 2024 17:04
@jackjlli jackjlli force-pushed the add-signiture-to-clean-up-tasks branch from 03d68d7 to 48dfc0d Compare July 8, 2024 20:06
@jackjlli jackjlli merged commit 9cbc095 into master Jul 9, 2024
20 checks passed
@jackjlli jackjlli deleted the add-signiture-to-clean-up-tasks branch July 9, 2024 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants