Skip to content

Commit bc72275

Browse files
authored
Update controller/cluster.go
1 parent 2982f64 commit bc72275

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

controller/cluster.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,8 @@ func (c *ClusterChecker) tryUpdateMigrationStatus(ctx context.Context, clonedClu
339339
continue
340340
}
341341

342-
// If there is no migration information on the source node or source node migratingslot is not eauqls shard, you need to clear the migration information on the controller.
342+
// If there is no migration information on the source node or the source node migration slot is not equal to the shard,
343+
// you need to clear the migration information on the controller.
343344
if sourceNodeClusterInfo.MigratingSlot == nil || (sourceNodeClusterInfo.MigratingSlot != nil &&
344345
!sourceNodeClusterInfo.MigratingSlot.Equal(shard.MigratingSlot.SlotRange)) {
345346
log.Error("Mismatch migrating slot",

0 commit comments

Comments
 (0)