mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 06:00:24 +03:00
allow quorum fileInfo to pick same parityBlocks (#17454)
Bonus: allow replication to proceed for 503 errors such as with error code SlowDownRead
This commit is contained in:
@@ -265,7 +265,10 @@ func (fi FileInfo) Equals(ofi FileInfo) (ok bool) {
|
||||
if !fi.TransitionInfoEquals(ofi) {
|
||||
return false
|
||||
}
|
||||
return fi.ModTime.Equal(ofi.ModTime)
|
||||
if !fi.ModTime.Equal(ofi.ModTime) {
|
||||
return false
|
||||
}
|
||||
return fi.Erasure.Equal(ofi.Erasure)
|
||||
}
|
||||
|
||||
// GetDataDir returns an expected dataDir given FileInfo
|
||||
|
||||
Reference in New Issue
Block a user