Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for failovers (0.07 sec)

  1. cmd/erasure-coding.go

    		for _, conf := range testConfigs {
    			failOnErr := func(err error) {
    				if err != nil {
    					logger.Fatal(errSelfTestFailure, "%v: error on self-test [d:%d,p:%d]: %v. Unsafe to start server.\n", algo, conf[0], conf[1], err)
    				}
    			}
    			e, err := NewErasure(context.Background(), int(conf[0]), int(conf[1]), blockSizeV2)
    			failOnErr(err)
    			encoded, err := e.EncodeData(GlobalContext, testData[:])
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2_test.go

    		NumVersions:      1,
    		SuccessorModTime: time.Time{},
    	}
    
    	failOnErr(xl.AddVersion(fi))
    
    	fi.VersionID = mustGetUUID()
    	fi.DataDir = mustGetUUID()
    	fi.Data = data2
    	failOnErr(xl.AddVersion(fi))
    
    	serialized, err := xl.AppendTo(nil)
    	failOnErr(err)
    	// Roundtrip data
    	var xl2 xlMetaV2
    	failOnErr(xl2.Load(serialized))
    
    	// We should have one data entry
    	list, err := xl2.data.list()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  3. cmd/object-api-utils.go

    		data[i] = byte(rng.Int63() & 3)
    	}
    	failOnErr := func(err error) {
    		if err != nil {
    			logger.Fatal(errSelfTestFailure, "compress: error on self-test: %v", err)
    		}
    	}
    	const skip = 2<<20 + 511
    	r, _ := newS2CompressReader(bytes.NewBuffer(data), int64(len(data)), true)
    	b, err := io.ReadAll(r)
    	failOnErr(err)
    	failOnErr(r.Close())
    	// Decompression reader.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  4. manifests/charts/base/files/crd-all.gen.yaml

                                      nullable: true
                                      type: boolean
                                    failover:
                                      description: 'Optional: only one of distribute,
                                        failover or failoverPriority can be set.'
                                      items:
                                        properties:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Nov 01 16:23:52 UTC 2024
    - 805K bytes
    - Viewed (0)
Back to top