jackjlli opened a new pull request #6725:
URL: https://github.com/apache/incubator-pinot/pull/6725
## Description
This PR explicitly enables lead controller resource.
The purpose of this feature is to separate hardware of Helix controller and
Pinot controller as well as logically separate per-table functionality in all
clusters.
After enabling lead controller resource, the controller host listed under
`CONTROLLER/LEADER` ZNode only denotes the helix lead controller in the cluster.
The lead Pinot controller for each of the tables can be found by the
following APIs:
Get the leaders for all the tables in the cluster
GET /leader/tables
Given a table name, return the partition id and lead controller instance id
GET /leader/tables/{tableName}
Details can be found in doc:
https://cwiki.apache.org/confluence/display/PINOT/Controller+Separation+between+Helix+and+Pinot
## Upgrade Notes
Does this PR prevent a zero down-time upgrade? (Assume upgrade order:
Controller, Broker, Server, Minion)
* [ ] Yes (Please label as **<code>backward-incompat</code>**, and complete
the section below on Release Notes)
Does this PR fix a zero-downtime upgrade introduced earlier?
* [ ] Yes (Please label this as **<code>backward-incompat</code>**, and
complete the section below on Release Notes)
Does this PR otherwise need attention when creating release notes? Things to
consider:
- New configuration options
- Deprecation of configurations
- Signature changes to public methods/interfaces
- New plugins added or old plugins removed
* [ ] Yes (Please label this PR as **<code>release-notes</code>** and
complete the section on Release Notes)
## Release Notes
This PR explicitly enabled lead controller resource. The controller host
listed in `CONTROLLER/LEADER` ZNode only denotes the helix lead controller in
the cluster. The actual logic (like controller periodic tasks, realtime segment
completion) of Pinot lead controller is distributed to each of the Pinot only
controllers.
After enabling this feature, Helix controller and Pinot controller don't
have to be run in the same hardware.
## Documentation
See
https://cwiki.apache.org/confluence/display/PINOT/Controller+Separation+between+Helix+and+Pinot
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]