mirror of
https://github.com/cubefs/cubefs.git
synced 2026-08-02 02:00:56 +00:00
fix(sdk): if not find inode of dentry when refreshSummary, skip it.#22828321
Signed-off-by: baihailong <baihailong@oppo.com>
This commit is contained in:
parent
bc661949db
commit
791f044a45
@ -2876,8 +2876,8 @@ func (mw *MetaWrapper) refreshSummary(parentIno uint64, errCh chan<- error, wg *
|
||||
} else {
|
||||
fileInfo, err := mw.InodeGet_ll(dentry.Inode)
|
||||
if err != nil {
|
||||
errCh <- err
|
||||
return
|
||||
log.LogWarnf("refreshSummary: InodeGet_ll failed, parentIno(%v) ino(%v) name(%v)", parentIno, dentry.Inode, dentry.Name)
|
||||
continue
|
||||
}
|
||||
if fileInfo.StorageClass == proto.StorageClass_Replica_HDD {
|
||||
newSummaryInfo.FilesHdd += 1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user