apache / apache/pinot

Manually trigger periodic task using controller api.

Open
#7,155 4 comments 1 reaction 1 assignee Claimed by @amrishlal View on GitHub
Dominant language
Java
Stars
6.1k
Forks
1.5k
Avg merge
1d 21h
Merged PRs (30d)
189

Description

I discussed this with @mcvsubbu a bit. Setup controller api to allow for manually triggering a periodic task. When the controller gets a request to manually execute a periodic task, it will send a broadcast helix message to all the controllers in the cluster for executing the periodic task against the tables. Upon getting the broadcast message, each controller will run the specified periodic task against the tables for which it is the lead controller. Lead controllers will then respond back to the originating controller with status information regarding periodic task execution which will be returned back to the user for information purposes. It will also be useful to allow for fetching status information of recent periodic tasks executions (without necessarily manually executing a periodic task), so that user can find out status of recent periodic task executions.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.