mirror of
https://github.com/pgsty/minio.git
synced 2026-07-22 13:40:22 +03:00
XL: Handle quorum situations properly for write operations. (#1986)
Adds two test cases one for - PutObject when write quorum is not available. - PutObjectPart when write quorum is not available. Fixes #1951
This commit is contained in:
@@ -86,7 +86,7 @@ func generateBytesData(size int) []byte {
|
||||
b = letterBytes[rand.Intn(len(letterBytes))]
|
||||
return []byte{b}
|
||||
}
|
||||
// repeat the random character chosen size.
|
||||
// repeat the random character chosen size
|
||||
return bytes.Repeat(getRandomByte(), size)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user