From bf3901342cfe00d730edfdef8002fdb2d8bd6750 Mon Sep 17 00:00:00 2001 From: Krishnan Parthasarathi Date: Wed, 26 Jul 2023 17:04:16 -0700 Subject: [PATCH] Include SuccessorModTime for FileInfo quorum (#17732) --- cmd/erasure-metadata.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/erasure-metadata.go b/cmd/erasure-metadata.go index 5b24467fc..7d428fa51 100644 --- a/cmd/erasure-metadata.go +++ b/cmd/erasure-metadata.go @@ -342,6 +342,7 @@ func findFileInfoInQuorum(ctx context.Context, metaArr []FileInfo, modTime time. etagOnly := modTime.Equal(timeSentinel) && (etag != "" && etag == meta.Metadata["etag"]) mtimeValid := meta.ModTime.Equal(modTime) if mtimeValid || etagOnly { + fmt.Fprint(h, meta.SuccessorModTime.Format(http.TimeFormat)) fmt.Fprintf(h, "%v", meta.XLV1) if !etagOnly { // Verify dataDir is same only when mtime is valid and etag is not considered.