remove unncessary logs from WalkDir(), PutObject() (#16818)

This commit is contained in:
Harshavardhana
2023-03-15 11:52:23 -07:00
committed by GitHub
parent de02eca467
commit e0f4dd6027
2 changed files with 5 additions and 15 deletions

View File

@@ -323,13 +323,6 @@ func (s *xlStorage) WalkDir(ctx context.Context, opts WalkDirOptions, wr io.Writ
}
case isSysErrNotDir(err):
// skip
default:
// It is totally possible that xl.meta was overwritten
// while being concurrently listed at the same time in
// such scenarios the 'xl.meta' might get truncated
if !IsErrIgnored(err, io.EOF, io.ErrUnexpectedEOF) {
logger.LogIf(ctx, err)
}
}
}