From 2a169dde9a4dab7d3b66f1be47b29d42b730f3a6 Mon Sep 17 00:00:00 2001 From: chrislu Date: Fri, 14 Jun 2024 09:17:46 -0700 Subject: [PATCH] minor --- weed/server/filer_grpc_server_sub_meta.go | 1 + 1 file changed, 1 insertion(+) diff --git a/weed/server/filer_grpc_server_sub_meta.go b/weed/server/filer_grpc_server_sub_meta.go index 5deb9d7ca..436d6746a 100644 --- a/weed/server/filer_grpc_server_sub_meta.go +++ b/weed/server/filer_grpc_server_sub_meta.go @@ -29,6 +29,7 @@ func (fs *FilerServer) SubscribeMetadata(req *filer_pb.SubscribeMetadataRequest, if isReplacing { fs.filer.MetaAggregator.ListenersCond.Broadcast() // nudges the subscribers that are waiting } else if alreadyKnown { + fs.filer.MetaAggregator.ListenersCond.Broadcast() // nudges the subscribers that are waiting return fmt.Errorf("duplicated subscription detected for client %s id %d", clientName, req.ClientId) } defer func() {