Browse Source

rename

pull/5637/head
chrislu 12 months ago
parent
commit
f782165638
  1. 2
      weed/mq/pub_balancer/lookup.go

2
weed/mq/pub_balancer/lookup.go

@ -50,7 +50,7 @@ func (balancer *Balancer) LookupOrAllocateTopicPartitions(topic *mq_pb.Topic, pu
if balancer.Brokers.IsEmpty() {
return nil, ErrNoBroker
}
assignments = allocateTopicPartitions(balancer.Brokers, partitionCount)
assignments = AllocateTopicPartitions(balancer.Brokers, partitionCount)
balancer.OnPartitionChange(topic, assignments)
return
}
Loading…
Cancel
Save