mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-04 19:17:46 +01:00
skip if path changed
mitigate https://github.com/seaweedfs/seaweedfs/issues/4968
This commit is contained in:
1 parent
4bb3911fde
commit
310eec9a9c
1 file changed
+4
-1
@@ -150,7 +150,10 @@ func (i *InodeToPath) MarkChildrenCached(fullpath util.FullPath) {
|
||||
defer i.RUnlock()
|
||||
inode, found := i.path2inode[fullpath]
|
||||
if !found {
|
||||
glog.Fatalf("MarkChildrenCached not found inode %v", fullpath)
|
||||
// https://github.com/seaweedfs/seaweedfs/issues/4968
|
||||
// glog.Fatalf("MarkChildrenCached not found inode %v", fullpath)
|
||||
glog.Warningf("MarkChildrenCached not found inode %v", fullpath)
|
||||
return
|
||||
}
|
||||
path, found := i.inode2path[inode]
|
||||
path.isChildrenCached = true
|
||||
|
||||
Reference in new issue
Block a user