Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for EC (0.19 sec)

  1. internal/config/storageclass/storage-class.go

    	// Supported storage class scheme is EC
    	schemePrefix = "EC"
    
    	// Min parity drives
    	minParityDrives = 0
    
    	// Default RRS parity is always minimum parity.
    	defaultRRSParity = 1
    )
    
    // DefaultKVS - default storage class config
    var (
    	DefaultKVS = config.KVS{
    		config.KV{
    			Key:   ClassStandard,
    			Value: "",
    		},
    		config.KV{
    			Key:   ClassRRS,
    			Value: "EC:1",
    		},
    		config.KV{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  2. internal/config/identity/openid/jwks.go

    	N   string `json:"n,omitempty"`
    	E   string `json:"e,omitempty"`
    	K   string `json:"k,omitempty"`
    }
    
    var (
    	errMalformedJWKRSAKey = errors.New("malformed JWK RSA key")
    	errMalformedJWKECKey  = errors.New("malformed JWK EC key")
    )
    
    // DecodePublicKey - decodes JSON Web Key (JWK) as public key
    func (key *JWKS) DecodePublicKey() (crypto.PublicKey, error) {
    	switch key.Kty {
    	case "RSA":
    		if key.N == "" || key.E == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 23:02:35 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  3. internal/mountinfo/mountinfo_linux_test.go

    	{
    		errorCases := []string{
    			"/dev/1 /path/to/mount type flags a 0\n",
    			"/dev/2 /path/to/mount type flags 0 b\n",
    		}
    		for _, ec := range errorCases {
    			_, rerr := parseMountFrom(strings.NewReader(ec))
    			if rerr == nil {
    				t.Errorf("expected error")
    			}
    		}
    	}
    }
    
    // Helpers for tests.
    
    // Check if two `mountInfo` are equal.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  4. cmd/erasure-sets_test.go

    		t.Fatalf("Unable to format drives for erasure, %s", err)
    	}
    
    	ep := PoolEndpoints{Endpoints: endpoints}
    
    	parity, err := ecDrivesNoConfig(16)
    	if err != nil {
    		t.Fatalf("Unexpected error during EC drive config: %v", err)
    	}
    	if _, err := newErasureSets(ctx, ep, storageDisks, format, parity, 0); err != nil {
    		t.Fatalf("Unable to initialize erasure")
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 07:21:56 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  5. cmd/erasure-healing-common_test.go

    	fourNanoSecs := time.Unix(4, 0).UTC()
    	modTimesThreeNone := make([]time.Time, 16)
    	modTimesThreeFour := make([]time.Time, 16)
    	for i := 0; i < 16; i++ {
    		// Have 13 good xl.meta, 12 for default parity count = 4 (EC:4) and one
    		// to be tampered with.
    		if i > 12 {
    			modTimesThreeFour[i] = fourNanoSecs
    			modTimesThreeNone[i] = timeSentinel
    			continue
    		}
    		modTimesThreeFour[i] = threeNanoSecs
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  6. cmd/metacache-entries.go

    	for i, eVer := range eVers.versions {
    		oVer := oVers.versions[i]
    		if eVer.header != oVer.header {
    			if eVer.header.hasEC() != oVer.header.hasEC() {
    				// One version has EC and the other doesn't - may have been written later.
    				// Compare without considering EC.
    				a, b := eVer.header, oVer.header
    				a.EcN, a.EcM = 0, 0
    				b.EcN, b.EcM = 0, 0
    				if a == b {
    					continue
    				}
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  7. cmd/erasure-object_test.go

    	_, err = obj.PutObject(ctx, bucket, object, mustGetPutObjReader(t, bytes.NewReader([]byte("abcd")), int64(len("abcd")), "", ""), opts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	// for a 16 disk setup, EC is 4, but will be upgraded up to 8.
    	// Remove 4 disks.
    	erasureDisks := xl.getDisks()
    	z.serverPools[0].erasureDisksMu.Lock()
    	xl.getDisks = func() []StorageAPI {
    		for i := range erasureDisks[:4] {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  8. cmd/format-erasure.go

    	formatErasureVersionV2DistributionAlgoV1 = "CRCMOD"
    
    	// Distributed algorithm used, with N/2 default parity
    	formatErasureVersionV3DistributionAlgoV2 = "SIPMOD"
    
    	// Distributed algorithm used, with EC:4 default parity
    	formatErasureVersionV3DistributionAlgoV3 = "SIPMOD+PARITY"
    )
    
    // Offline disk UUID represents an offline disk.
    const offlineDiskUUID = "ffffffff-ffff-ffff-ffff-ffffffffffff"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  9. cmd/test-utils_test.go

    		case *ecdsa.PrivateKey:
    			b, err := x509.MarshalECPrivateKey(k)
    			if err != nil {
    				fmt.Fprintf(os.Stderr, "Unable to marshal ECDSA private key: %v", err)
    				os.Exit(2)
    			}
    			return &pem.Block{Type: "EC PRIVATE KEY", Bytes: b}
    		default:
    			return nil
    		}
    	}
    
    	var priv interface{}
    	var err error
    	priv, err = rsa.GenerateKey(crand.Reader, rsaBits)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  10. internal/config/errors.go

    		"Please check the value",
    		`MINIO_STORAGE_CLASS_STANDARD: Format "EC:<Default_Parity_Standard_Class>" (e.g. "EC:3"). This sets the number of parity drives for MinIO server in Standard mode. Objects are stored in Standard mode, if storage class is not defined in Put request
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top