mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-20 23:47:58 +08:00
remove duplicated update events
This commit is contained in:
@@ -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
|
return &filer_pb.AtomicRenameEntryResponse{}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user