Error
A valid request URL is required to generate request examples{
"jobId": "<string>",
"status": "NO_OP",
"description": "<string>",
"instanceAssignment": {},
"tierInstanceAssignment": {},
"segmentAssignment": {},
"preChecksResult": {},
"rebalanceSummaryResult": {
"serverInfo": {
"numServersGettingNewSegments": 123,
"numServers": {
"valueBeforeRebalance": 123,
"expectedValueAfterRebalance": 123
},
"serversAdded": [
"<string>"
],
"serversRemoved": [
"<string>"
],
"serversUnchanged": [
"<string>"
],
"serversGettingNewSegments": [
"<string>"
],
"serverSegmentChangeInfo": {}
},
"segmentInfo": {
"totalSegmentsToBeMoved": 123,
"maxSegmentsAddedToASingleServer": 123,
"estimatedAverageSegmentSizeInBytes": 123,
"totalEstimatedDataToBeMovedInBytes": 123,
"replicationFactor": {
"valueBeforeRebalance": 123,
"expectedValueAfterRebalance": 123
},
"numSegmentsInSingleReplica": {
"valueBeforeRebalance": 123,
"expectedValueAfterRebalance": 123
},
"numSegmentsAcrossAllReplicas": {
"valueBeforeRebalance": 123,
"expectedValueAfterRebalance": 123
}
}
}
}Table
Rebalances a table (reassign instances and segments for a table)
Rebalances a table (reassign instances and segments for a table)
POST
/
tables
/
{tableName}
/
rebalance
Error
A valid request URL is required to generate request examples{
"jobId": "<string>",
"status": "NO_OP",
"description": "<string>",
"instanceAssignment": {},
"tierInstanceAssignment": {},
"segmentAssignment": {},
"preChecksResult": {},
"rebalanceSummaryResult": {
"serverInfo": {
"numServersGettingNewSegments": 123,
"numServers": {
"valueBeforeRebalance": 123,
"expectedValueAfterRebalance": 123
},
"serversAdded": [
"<string>"
],
"serversRemoved": [
"<string>"
],
"serversUnchanged": [
"<string>"
],
"serversGettingNewSegments": [
"<string>"
],
"serverSegmentChangeInfo": {}
},
"segmentInfo": {
"totalSegmentsToBeMoved": 123,
"maxSegmentsAddedToASingleServer": 123,
"estimatedAverageSegmentSizeInBytes": 123,
"totalEstimatedDataToBeMovedInBytes": 123,
"replicationFactor": {
"valueBeforeRebalance": 123,
"expectedValueAfterRebalance": 123
},
"numSegmentsInSingleReplica": {
"valueBeforeRebalance": 123,
"expectedValueAfterRebalance": 123
},
"numSegmentsAcrossAllReplicas": {
"valueBeforeRebalance": 123,
"expectedValueAfterRebalance": 123
}
}
}
}Authorizations
oauthdatabase
Query Parameters
For no-downtime rebalance, whether to enable low disk mode during rebalance. When enabled, segments will first be offloaded from servers, then added to servers after offload is done while maintaining the min available replicas. It may increase the total time of the rebalance, but can be useful when servers are low on disk space, and we want to scale up the cluster and rebalance the table to more servers.
Response
200 - application/json
successful operation
Was this page helpful?

