[fs.verify] skip failed files if entry not found on filerStore (#5693)

This commit is contained in:
Konstantin Lebedev
2024-06-19 18:50:55 +05:00
committed by GitHub
parent ece018b1a9
commit 7988ee0805
2 changed files with 57 additions and 21 deletions

View File

@@ -17,6 +17,7 @@ const (
TrivialOnError EventErrorType = iota
FatalOnError
RetryForeverOnError
DontLogError
)
// MetadataFollowOption is used to control the behavior of the metadata following
@@ -96,6 +97,8 @@ func makeSubscribeMetadataFunc(option *MetadataFollowOption, processEventFn Proc
glog.Errorf("process %v: %v", resp, err)
return true
})
case DontLogError:
// pass
default:
glog.Errorf("process %v: %v", resp, err)
}