Browse Source

remove duplicated update events

pull/1287/head
Chris Lu 5 years ago
parent
commit
f14b6a09a8
  1. 7
      weed/server/filer_grpc_server_rename.go

7
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
}

Loading…
Cancel
Save