Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

adjust logs

chrislu17710e1ecbd3
diff --git a/weed/mq/broker/broker_stats.go b/weed/mq/broker/broker_stats.go
index eb9246e4a7..0cc23837b3 100644
--- a/weed/mq/broker/broker_stats.go
+++ b/weed/mq/broker/broker_stats.go
@@ -31,7 +31,10 @@ func (broker *MessageQueueBroker) BrokerConnectToBalancer(self string) error {
}
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
err = pb.WithBrokerGrpcClient(false, brokerBalancer, broker.grpcDialOption, func(client mq_pb.SeaweedMessagingClient) error {