diff --git a/pkg/meta/redis.go b/pkg/meta/redis.go index e38cb1495a24..b4784ba62d01 100644 --- a/pkg/meta/redis.go +++ b/pkg/meta/redis.go @@ -3670,7 +3670,7 @@ func (m *redisMeta) dumpEntries(es ...*DumpedEntry) error { return err } if inode != TrashInode { - logger.Errorf("Corrupt inode: %d, missing attribute", inode) + logger.Warnf("Corrupt inode: %d, missing attribute", inode) } } diff --git a/pkg/meta/sql.go b/pkg/meta/sql.go index bbddf0965b26..c63674f37681 100644 --- a/pkg/meta/sql.go +++ b/pkg/meta/sql.go @@ -3371,7 +3371,7 @@ func (m *dbMeta) dumpEntryFast(s *xorm.Session, inode Ino, typ uint8) *DumpedEnt e := &DumpedEntry{} n, ok := m.snap.node[inode] if !ok && inode != TrashInode { - logger.Errorf("Corrupt inode: %d, missing attribute", inode) + logger.Warnf("Corrupt inode: %d, missing attribute", inode) } attr := &Attr{Typ: typ, Nlink: 1} diff --git a/pkg/meta/tkv.go b/pkg/meta/tkv.go index 38a9c0748946..7c2f6df4b574 100644 --- a/pkg/meta/tkv.go +++ b/pkg/meta/tkv.go @@ -2925,7 +2925,7 @@ func (m *kvMeta) dumpDir(inode Ino, tree *DumpedEntry, bw *bufio.Writer, depth i entries = e.Entries for n, de := range e.Entries { if !de.Attr.full && de.Attr.Inode != TrashInode { - logger.Errorf("Corrupt inode: %d, missing attribute", inode) + logger.Warnf("Corrupt inode: %d, missing attribute", inode) } sortedName = append(sortedName, n) }