For the complete documentation index, see llms.txt.
Skip to main content
Version: 8.10 (unreleased)

Type Alias: ClusterRebalanceOperationPartition

type ClusterRebalanceOperationPartition = object;

One partition's plan, progress, and outcome within a rebalance.

Properties​

currentLeader​

currentLeader: string | null;

The leader last observed by this rebalance, or absent if there was no leader.


desiredLeader​

desiredLeader: string;

The leader selected when this rebalance was planned.


partitionId​

partitionId: number;

The unique ID of this partition, within its physical tenant.


physicalTenantId​

physicalTenantId: string;

The partition group this partition belongs to.


progress​

progress: "PENDING" | "TRANSFERRING" | "COMPLETED";

Where this rebalance has reached for the partition.


result​

result:
| "TRANSFERRED"
| "ALREADY_LEADER"
| "NOT_MEMBER"
| "NOT_REPLICATING"
| "UNREACHABLE"
| "NOT_COORDINATOR"
| "STALE_CONFIGURATION"
| "TRANSFER_IN_PROGRESS"
| "LAG_TOO_HIGH"
| "LEADER_INITIALIZING"
| "CONFIGURATION_CHANGE_IN_PROGRESS"
| "PAUSE_FAILED"
| "REPLICATION_TIMED_OUT"
| "TIMEOUT_NOW_EXHAUSTED"
| "LEADER_CHANGED"
| "NO_LEADER"
| "NO_RESPONSE"
| "CANCELLED"
| "PHYSICAL_TENANT_DISABLED"
| "PHYSICAL_TENANT_RECOVERING";

The terminal outcome, present only when progress is COMPLETED.