Skip to content

Commit

Permalink
fix: miss 'break' in alleviate shard
Browse files Browse the repository at this point in the history
  • Loading branch information
RayHuangCN committed Jun 17, 2022
1 parent b7451df commit bea0c8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/coordinator/rebalance.go
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ func (c *Coordinator) alleviateShard(s *shardInfo, changeAbleShards []*shardInfo
c.log.Infof("transfer target from %s to %s series = (%d) ", s.shard.ID, os.shard.ID, tar.Series)
transferTarget(s, os, hash)
total -= tar.Series
break
}
}
}
Expand Down

0 comments on commit bea0c8a

Please sign in to comment.