mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-05-16 21:49:28 +08:00
rename
This commit is contained in:
parent
dd1ec70e62
commit
f782165638
@ -50,7 +50,7 @@ func (balancer *Balancer) LookupOrAllocateTopicPartitions(topic *mq_pb.Topic, pu
|
|||||||
if balancer.Brokers.IsEmpty() {
|
if balancer.Brokers.IsEmpty() {
|
||||||
return nil, ErrNoBroker
|
return nil, ErrNoBroker
|
||||||
}
|
}
|
||||||
assignments = allocateTopicPartitions(balancer.Brokers, partitionCount)
|
assignments = AllocateTopicPartitions(balancer.Brokers, partitionCount)
|
||||||
balancer.OnPartitionChange(topic, assignments)
|
balancer.OnPartitionChange(topic, assignments)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user