Skip to content

Add nonLeaderCleanUp with tables parameters in PinotTaskGenerator#13509

Merged
jackjlli merged 1 commit intomasterfrom
add-signiture-to-clean-up-tasks
Jul 9, 2024
Merged

Add nonLeaderCleanUp with tables parameters in PinotTaskGenerator#13509
jackjlli merged 1 commit intomasterfrom
add-signiture-to-clean-up-tasks

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