Laxman Ch
08/19/2020, 6:57 PMNeha Pawar
I also tried rebalance from controller UI
- this should have done it. Controller/server restarts won’t helpLaxman Ch
08/19/2020, 7:07 PMwhat was the output of the rebalance command?Status Code: 200
{
"status": "NO_OP",
"description": "Table is already balanced",
…..
}
Neha Pawar
Laxman Ch
08/19/2020, 7:11 PMNeha Pawar
Laxman Ch
08/19/2020, 7:13 PM{
"code": 409,
"error": "Failed to drop instance Server_pinot-server-3.pinot-server.traceable.svc.cluster.local_8098 - Instance Server_pinot-server-3.pinot-server.traceable.svc.cluster.local_8098 exists in ideal state for domainEventView_REALTIME"
}
Neha Pawar
Laxman Ch
08/19/2020, 7:20 PMNeha Pawar
Laxman Ch
08/20/2020, 4:03 AM<http://localhost:9000/tables/spanEventView/rebalance?type=REALTIME&dryRun=false&reassignInstances=true&includeConsuming=true&bootstrap=true&downtime=true&minAvailableReplicas=1&bestEfforts=true>
Response snippet:
{
"status": "DONE",
"description": "Success with downtime (replaced IdealState with the target segment assignment, ExternalView might not reach the target segment assignment yet)",
"instanceAssignment": {
"CONSUMING": {
"instancePartitionsName": "spanEventView_CONSUMING",
"partitionToInstancesMap": {
"0_0": [
"Server_pinot-server-3.pinot-server.traceable.svc.cluster.local_8098",
"Server_pinot-server-0.pinot-server.traceable.svc.cluster.local_8098",
"Server_pinot-server-1.pinot-server.traceable.svc.cluster.local_8098",
"Server_pinot-server-2.pinot-server.traceable.svc.cluster.local_8098"
]
}
....
....
curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' '<http://localhost:9000/tables/rawTraceView/rebalance?type=REALTIME&dryRun=false&reassignInstances=true&includeConsuming=true&bootstrap=true&downtime=true&minAvailableReplicas=1&bestEfforts=false>'