From 310eec9a9c1ad6fe3ab68dd7921ab9e9afb2e91e Mon Sep 17 00:00:00 2001 From: chrislu Date: Wed, 1 Nov 2023 16:27:59 -0700 Subject: [PATCH] skip if path changed mitigate https://github.com/seaweedfs/seaweedfs/issues/4968 --- weed/mount/inode_to_path.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/weed/mount/inode_to_path.go b/weed/mount/inode_to_path.go index ffa2c4271..8c29ae085 100644 --- a/weed/mount/inode_to_path.go +++ b/weed/mount/inode_to_path.go @@ -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