mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
return errors if dataDir is missing during HeadObject() (#18477)
Bonus: allow replication to attempt Deletes/Puts when the remote returns quorum errors of some kind, this is to ensure that MinIO can rewrite the namespace with the latest version that exists on the source.
This commit is contained in:
@@ -1186,6 +1186,8 @@ func (x *xlMetaV2) AppendTo(dst []byte) ([]byte, error) {
|
||||
return append(dst, x.data...), nil
|
||||
}
|
||||
|
||||
const emptyUUID = "00000000-0000-0000-0000-000000000000"
|
||||
|
||||
func (x *xlMetaV2) findVersionStr(key string) (idx int, ver *xlMetaV2Version, err error) {
|
||||
if key == nullVersionID {
|
||||
key = ""
|
||||
|
||||
Reference in New Issue
Block a user