mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
remove duplicated update events
This commit is contained in:
parent
91da7057b1
commit
f14b6a09a8
|
@ -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…
Reference in a new issue