...
lead controller resource enabled | lead controller resource disabled |
---|
{ “leadControllerResource_0”: { “leadControllerId”: “Controller_localhost_9000”, “tableNames”: [table1, table2, ...] }, ... “leadControllerResource_23”: { “leadControllerId”: “Controller_localhost_9008”, “tableNames”: [table21, table22, ...] } }
"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"
}
}
| { “leadControllerResource_0”: { “leadControllerId”: “Controller_localhost_9000”, “tableNames”: [table1] } } | {}
|
Test Plans and Schedule
Once the final plan has been adjusted and finalized, we can do the following steps.
...