Revert "Include SuccessorModTime for FileInfo quorum (#17732)" (#17860)

This reverts commit bf3901342c.

This is to fix a regression caused when there are inconsistent
versions, but one version is in quorum. SuccessorModTime issue
must be fixed differently.
This commit is contained in:
Harshavardhana
2023-08-16 07:51:33 -07:00
committed by GitHub
parent 8a9b886011
commit 9ebd10d3f4
2 changed files with 1 additions and 1 deletions

View File

@@ -342,7 +342,6 @@ 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.