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.

fix compilation

chrislu6634b4298123
diff --git a/weed/mq/client/sub_client/connect_to_sub_coordinator.go b/weed/mq/client/sub_client/connect_to_sub_coordinator.go
index a73161fea2..9dd639fcef 100644
--- a/weed/mq/client/sub_client/connect_to_sub_coordinator.go
+++ b/weed/mq/client/sub_client/connect_to_sub_coordinator.go
@@ -63,13 +63,8 @@ func (sub *TopicSubscriber) doKeepConnectedToSubCoordinator() {
glog.V(0).Infof("subscriber %s receive: %v", sub.ContentConfig.Topic, err)
return err
}
- assignment := resp.GetAssignment()
- if assignment != nil {
- glog.V(0).Infof("subscriber %s receive assignment: %v", sub.ContentConfig.Topic, assignment)
- for _, assignedPartition := range assignment.PartitionAssignments {
- sub.brokerPartitionAssignmentChan <- assignedPartition
- }
- }
+ sub.brokerPartitionAssignmentChan <- resp
+ glog.V(0).Infof("Received assignment: %+v", resp)
}
return nil