mirror of
https://github.com/cubefs/cubefs.git
synced 2026-08-02 02:00:56 +00:00
refactor(lcnode): skip extent not found error when migrate. #1000112446
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
This commit is contained in:
parent
5b2d09c4d3
commit
733768afef
@ -526,6 +526,9 @@ func isSkipErr(err error) bool {
|
||||
if strings.Contains(err.Error(), "no such file or directory") {
|
||||
return true
|
||||
}
|
||||
if strings.Contains(err.Error(), "ExtentNotFoundError") {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user