From f14b6a09a8e57f7513af67381a57e975a00dcad6 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 5 Apr 2020 13:22:15 -0700 Subject: [PATCH] remove duplicated update events --- weed/server/filer_grpc_server_rename.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/weed/server/filer_grpc_server_rename.go b/weed/server/filer_grpc_server_rename.go index d09885d95..306e4e5e0 100644 --- a/weed/server/filer_grpc_server_rename.go +++ b/weed/server/filer_grpc_server_rename.go @@ -40,13 +40,6 @@ func (fs *FilerServer) AtomicRenameEntry(ctx context.Context, req *filer_pb.Atom } } - for _, entry := range events.newEntries { - fs.filer.NotifyUpdateEvent(nil, entry, false) - } - for _, entry := range events.oldEntries { - fs.filer.NotifyUpdateEvent(entry, nil, false) - } - return &filer_pb.AtomicRenameEntryResponse{}, nil }