mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
adjust logs
This commit is contained in:
parent
0bf67a4822
commit
17710e1ecb
|
@ -31,7 +31,10 @@ func (broker *MessageQueueBroker) BrokerConnectToBalancer(self string) error {
|
||||||
}
|
}
|
||||||
broker.currentBalancer = pb.ServerAddress(brokerBalancer)
|
broker.currentBalancer = pb.ServerAddress(brokerBalancer)
|
||||||
|
|
||||||
glog.V(1).Infof("broker %s found balancer %s", self, brokerBalancer)
|
glog.V(0).Infof("broker %s found balancer %s", self, brokerBalancer)
|
||||||
|
if brokerBalancer == "" {
|
||||||
|
return fmt.Errorf("no balancer found")
|
||||||
|
}
|
||||||
|
|
||||||
// connect to the lock owner
|
// connect to the lock owner
|
||||||
err = pb.WithBrokerGrpcClient(false, brokerBalancer, broker.grpcDialOption, func(client mq_pb.SeaweedMessagingClient) error {
|
err = pb.WithBrokerGrpcClient(false, brokerBalancer, broker.grpcDialOption, func(client mq_pb.SeaweedMessagingClient) error {
|
||||||
|
|
Loading…
Reference in a new issue