Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for distributionAlgo (0.23 sec)

  1. cmd/format-erasure_test.go

    				},
    				Erasure: struct {
    					Version          string     `json:"version"`
    					This             string     `json:"this"`
    					Sets             [][]string `json:"sets"`
    					DistributionAlgo string     `json:"distributionAlgo"`
    				}{
    					Version: "2",
    				},
    			},
    			false,
    		},
    		// Invalid Erasure format "Unknown".
    		{
    			&formatErasureV3{
    				formatMetaV1: formatMetaV1{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  2. cmd/format-erasure.go

    		Sets [][]string `json:"sets"`
    		// Distribution algorithm represents the hashing algorithm
    		// to pick the right set index for an object.
    		DistributionAlgo string `json:"distributionAlgo"`
    	} `json:"xl"`
    }
    
    // formatErasureV3 struct is same as formatErasureV2 struct except that formatErasureV3.Erasure.Version is "3" indicating
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  3. cmd/erasure-sets.go

    		setCount:           setCount,
    		setDriveCount:      setDriveCount,
    		defaultParityCount: defaultParityCount,
    		format:             format,
    		setReconnectEvent:  make(chan int),
    		distributionAlgo:   format.Erasure.DistributionAlgo,
    		deploymentID:       uuid.MustParse(format.ID),
    		poolIndex:          poolIdx,
    	}
    
    	mutex := newNSLock(globalIsDistErasure)
    
    	for i := 0; i < setCount; i++ {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 37.5K bytes
    - Viewed (5)
  4. cmd/erasure-sets_test.go

    func TestHashedLayer(t *testing.T) {
    	// Test distribution with 16 sets.
    	var objs [16]*erasureObjects
    	for i := range objs {
    		objs[i] = &erasureObjects{}
    	}
    
    	sets := &erasureSets{sets: objs[:], distributionAlgo: "CRCMOD"}
    
    	testCases := []struct {
    		objectName  string
    		expectedObj *erasureObjects
    	}{
    		// cases which should pass the test.
    		// passing in valid object name.
    		{"object", objs[12]},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 07:21:56 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  5. cmd/testdata/undeleteable-object.tgz

    758","d63f20aa-c5cc-4f85-8dbc-131ff6028438","7c7dcc16-6c0d-4513-93c7-2ca3d2ca348a","dd9393ca-9dc4-40b2-a7e9-455522822d90","7c61eb5a-cbaa-4d45-b714-cf5b4cc82ef5","954b6edf-3e12-4f4b-8c4c-2b3014cbdfdb","0f37d8dc-aaa3-4113-89b0-0a2f4af8362c"]],"distributionAlgo":"SIPMOD+PARITY"}} multisitea/data/disterasure/xl3/.minio.sys/tmp/db01c92f-8f6d-438b-9f66-b105934f7c72 multisitea/data/disterasure/xl3/.minio.sys/tmp/.trash/.writable-check-635c94a5-cd73-4863-8db3-e84ca708dfc1.tmp multisitea/data/disterasure...
    Others
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 8.7M bytes
    - Viewed (0)
  6. cmd/erasure-server-pool.go

    		}
    		break
    	}
    
    	return z, nil
    }
    
    func (z *erasureServerPools) NewNSLock(bucket string, objects ...string) RWLocker {
    	poolID := hashKey(z.distributionAlgo, "", len(z.serverPools), z.deploymentID)
    	if len(objects) >= 1 {
    		poolID = hashKey(z.distributionAlgo, objects[0], len(z.serverPools), z.deploymentID)
    	}
    	return z.serverPools[poolID].NewNSLock(bucket, objects...)
    }
    
    // GetDisksID will return disks by their ID.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 80.1K bytes
    - Viewed (0)
  7. cmd/xl-storage_test.go

    		return nil, "", err
    	}
    
    	disk := newXLStorageDiskIDCheck(storage, false)
    	disk.SetDiskID("da017d62-70e3-45f1-8a1a-587707e69ad1")
    	return disk, diskPath, nil
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    					s, s.diskID, errInconsistentDisk), "drive-order-format-json")
    			return s, errInconsistentDisk
    		}
    		s.diskID = diskID
    		s.formatLastCheck = time.Now()
    		s.formatLegacy = format.Erasure.DistributionAlgo == formatErasureVersionV2DistributionAlgoV1
    	}
    
    	// Return an error if ODirect is not supported. Single disk will have
    	// oDirect off.
    	if globalIsErasureSD || !disk.ODirectPlatform {
    		s.oDirect = false
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
Back to top