Skip to content

Commit fdc9c1d

Browse files
MB-60720 - Change rebalance check
1 parent 35f0d7d commit fdc9c1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ctl/manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ func isBalanced(ctl *Ctl, ctlTopology *CtlTopology) bool {
235235
}
236236

237237
lastRebStatus, err := ctl.optionsCtl.Manager.GetLastRebalanceStatus(false)
238-
if err != nil || lastRebStatus == cbgt.RebStarted {
238+
if err != nil || lastRebStatus != cbgt.RebCompleted {
239239
return false
240240
}
241241

0 commit comments

Comments
 (0)