mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-06 22:41:56 +02:00
err != filer_pb.ErrNotFound
This commit is contained in:
1 parent
b7f78d8c49
commit
76c74ad3de
1 file changed
+1
-1
@@ -16,7 +16,7 @@ func Replay(filerStore FilerStore, resp *filer_pb.SubscribeMetadataResponse) err
|
||||
if message.OldEntry != nil {
|
||||
oldPath = util.NewFullPath(resp.Directory, message.OldEntry.Name)
|
||||
glog.V(4).Infof("deleting %v", oldPath)
|
||||
if err := filerStore.DeleteEntry(context.Background(), oldPath); err != nil {
|
||||
if err := filerStore.DeleteEntry(context.Background(), oldPath); err != nil && err != filer_pb.ErrNotFound {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user