mirror of
https://github.com/minio/minio.git
synced 2025-02-05 02:38:07 -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
|
var versionNotFound int
|
||||||
for _, version := range fivs.Versions {
|
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{
|
if err := bgSeq.queueHealTask(healSource{
|
||||||
bucket: bucket,
|
bucket: bucket,
|
||||||
object: version.Name,
|
object: version.Name,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user