mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
Include SuccessorModTime for FileInfo quorum (#17732)
This commit is contained in:
parent
e1731d9403
commit
bf3901342c
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user