Implement bucket expansion (#8509)

This commit is contained in:
Harshavardhana
2019-11-19 17:42:27 -08:00
committed by kannappanr
parent 3a34d98db8
commit 347b29d059
63 changed files with 2208 additions and 1166 deletions
+3 -2
View File
@@ -75,7 +75,7 @@ func TestNewXLSets(t *testing.T) {
defer os.RemoveAll(disk)
}
endpoints := mustGetNewEndpointList(erasureDisks...)
endpoints := mustGetNewEndpoints(erasureDisks...)
_, err := waitForFormatXL(true, endpoints, 0, 16)
if err != errInvalidArgument {
t.Fatalf("Expecting error, got %s", err)
@@ -113,7 +113,8 @@ func TestHashedLayer(t *testing.T) {
defer os.RemoveAll(dir)
}
objs = append(objs, obj.(*xlObjects))
z := obj.(*xlZones)
objs = append(objs, z.zones[0].sets[0])
}
sets := &xlSets{sets: objs, distributionAlgo: "CRCMOD"}