mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
Determine small objects on shard size (#11935)
Use shard size to determine when to inline data. For unversioned objects, use 128K/shard and for versioned 16K thresholds.
This commit is contained in:
@@ -177,7 +177,7 @@ func TestListOnlineDisks(t *testing.T) {
|
||||
}
|
||||
|
||||
object := "object"
|
||||
data := bytes.Repeat([]byte("a"), smallFileThreshold*2)
|
||||
data := bytes.Repeat([]byte("a"), smallFileThreshold*16)
|
||||
z := obj.(*erasureServerPools)
|
||||
erasureDisks := z.serverPools[0].sets[0].getDisks()
|
||||
for i, test := range testCases {
|
||||
|
||||
Reference in New Issue
Block a user