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.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
lookup reads from filer instead of local memory
chrislu581cf6644cbc
diff --git a/weed/mq/broker/broker_grpc_lookup.go b/weed/mq/broker/broker_grpc_lookup.goindex fbf85dde7c..0ba0b628ca 100644--- a/weed/mq/broker/broker_grpc_lookup.go+++ b/weed/mq/broker/broker_grpc_lookup.go@@ -3,6 +3,7 @@ package brokerimport ("context""fmt"+ "github.com/seaweedfs/seaweedfs/weed/mq/topic""github.com/seaweedfs/seaweedfs/weed/pb/mq_pb""google.golang.org/grpc/codes""google.golang.org/grpc/status"@@ -26,7 +27,10 @@ func (b *MessageQueueBroker) LookupTopicBrokers(ctx context.Context, request *mqret := &mq_pb.LookupTopicBrokersResponse{}ret.Topic = request.Topic- ret.BrokerPartitionAssignments = b.Balancer.LookupTopicPartitions(ret.Topic)+ conf, err := b.readTopicConfFromFiler(topic.FromPbTopic(request.Topic))+ if err == nil {+ ret.BrokerPartitionAssignments = conf.BrokerPartitionAssignments+ }return ret, err}