mirror of
https://github.com/minio/minio.git
synced 2025-01-12 15:33:22 -05:00
heal: Avoid objects created after the heal disk start time (#17323)
This commit is contained in:
parent
c9e26401fa
commit
9ef7eda33a
@ -313,6 +313,10 @@ func (er *erasureObjects) healErasureSet(ctx context.Context, buckets []string,
|
||||
|
||||
var versionNotFound int
|
||||
for _, version := range fivs.Versions {
|
||||
// Ignore a version with a modtime newer than healing start
|
||||
if version.ModTime.After(tracker.Started) {
|
||||
continue
|
||||
}
|
||||
if err := bgSeq.queueHealTask(healSource{
|
||||
bucket: bucket,
|
||||
object: version.Name,
|
||||
|
Loading…
Reference in New Issue
Block a user