...
Get the leaders for all the tables in the cluster
GET /leader/tables
lead controller resource enabled | lead controller resource disabled |
---|
{
"leadControllerResourceEnabled": true,
"leadControllerEntryMap": {
"leadControllerResource_0": {
"tableNames": [
"testTable1_OFFLINE"
],
"leadControllerId": "Controller_172.25.124.150_9000"
},
...
"leadControllerResource_23": {
"tableNames": ["testTable2_REALTIME"],
"leadControllerId": "Controller_172.25.124.150_9008"
}
}
}
| {
"leadControllerResourceEnabled": false,
"leadControllerEntryMap": {
|
"leadControllerResource_0": {
"tableNames": [
"testTable_OFFLINE"
],
"leadControllerId": "172.25.124.150_9000"
,
...
"leadControllerResource_23": { "tableNames": ["testTable2_REALTIME"],
"leadControllerId": "172.25.124.150_9000"
}
}
Given a table name, return whether lead controller resource is enabled, the partition id and lead controller instance id
GET /leader/tables/{tableName}
lead controller resource enabled | lead controller resource disabled |
---|
{
"leadControllerResourceEnabled": true,
"leadControllerEntryMap": {
"leadControllerResource_7": {
"tableNames": [
"testTable_OFFLINE"
],
"leadControllerId": "Controller_172.25.124.150_9000"
}
}
}
| {
"leadControllerResourceEnabled": false,
"leadControllerEntryMap": {
|
"leadControllerResource_7": {
"tableNames": [
"testTable_OFFLINE"
],
"leadControllerId": "172.25.124.150_9000"
}
Test Plans and Schedule
Once the final plan has been adjusted and finalized, we can do the following steps.
...