Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 43 for consistent (0.17 sec)

  1. cmd/object-api-errors.go

    // RQErrType reason for read quorum error.
    type RQErrType int
    
    const (
    	// RQInsufficientOnlineDrives - not enough online drives.
    	RQInsufficientOnlineDrives RQErrType = 1 << iota
    	// RQInconsistentMeta - inconsistent metadata.
    	RQInconsistentMeta
    )
    
    func (t RQErrType) String() string {
    	switch t {
    	case RQInsufficientOnlineDrives:
    		return "InsufficientOnlineDrives"
    	case RQInconsistentMeta:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  2. src/bytes/bytes.go

    			r, wid = utf8.DecodeRune(s[i:])
    		}
    		r = mapping(r)
    		if r >= 0 {
    			b = utf8.AppendRune(b, r)
    		}
    		i += wid
    	}
    	return b
    }
    
    // Repeat returns a new byte slice consisting of count copies of b.
    //
    // It panics if count is negative or if the result of (len(b) * count)
    // overflows.
    func Repeat(b []byte, count int) []byte {
    	if count == 0 {
    		return []byte{}
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    			metaArr[index].ModTime = modTime
    			metaArr[index].VersionID = versionID
    			if !metaArr[index].InlineData() {
    				// If the data is not inlined, we may end up incorrectly
    				// inlining the data here, that leads to an inconsistent
    				// situation where some objects are were not inlined
    				// were now inlined, make sure to `nil` the Data such
    				// that xl.meta is written as expected.
    				metaArr[index].Data = nil
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  4. cmd/erasure-server-pool.go

    			// schedule to this pool instead. If there is no quorum
    			// it will fail anyways, however if there is quorum available
    			// with enough disks online but sufficiently inconsistent to
    			// break parity threshold, allow them to be overwritten
    			// or allow new versions to be added.
    
    			return pinfo, z.poolsWithObject(poolObjInfos, opts), nil
    		}
    		defPool = pinfo
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  5. cmd/erasure-metadata-utils_test.go

    		{"/a/b/c", []int{6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 1, 2, 3, 4, 5}},
    		{string([]byte{0xff, 0xfe, 0xfd}), []int{15, 16, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14}},
    	}
    
    	// Tests hashing order to be consistent.
    	for i, testCase := range testCases {
    		hashedOrder := hashOrder(testCase.objectName, 16)
    		if !reflect.DeepEqual(testCase.hashedOrder, hashedOrder) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  6. cmd/sts-handlers.go

    		// a self-signed certificate that works while a comparable certificate
    		// issued by a trusted CA fails due to the MinIO server being less strict
    		// w.r.t. key usage verification.
    		//
    		// Basically, MinIO is more consistent (from a client perspective) when
    		// we verify the key usage all the time.
    		var validKeyUsage bool
    		for _, usage := range certificate.ExtKeyUsage {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  7. cmd/metacache-entries_test.go

    		wantOk       bool
    	}{
    		{
    			name:         "consistent",
    			m:            metaCacheEntries{inputSerialized[0], inputSerialized[0], inputSerialized[0], inputSerialized[0]},
    			r:            metadataResolutionParams{dirQuorum: 4, objQuorum: 4, strict: false},
    			wantSelected: &inputSerialized[0],
    			wantOk:       true,
    		},
    		{
    			name:         "consistent-strict",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 31.6K bytes
    - Viewed (0)
  8. cmd/admin-handlers-pools.go

    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.RebalanceAdminAction)
    	if objectAPI == nil {
    		return
    	}
    
    	// Proxy rebalance-status to first pool first node, so that users see a
    	// consistent view of rebalance progress even though different rebalancing
    	// pools may temporarily have out of date info on the others.
    	if ep := globalEndpoints[0].Endpoints[0]; !ep.IsLocal {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  9. cmd/erasure-sets.go

    // Generic checks.
    if (no quorum) return error
    if (any disk is corrupt) return error // Always error
    if (jbod inconsistent) return error // Always error.
    if (disks not recognized) // Always error.
    
    // Specific checks.
    if (all disks online)
      if (all disks return format.json)
         if (jbod consistent)
            if (all disks recognized)
              return
      else
         if (all disks return format.json not found)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  10. cmd/xl-storage-format-v2_test.go

    				if ver.header.Type == invalidVersionType {
    					t.Errorf("Invalid result returned: %v", ver.header)
    				}
    			}
    		})
    		t.Run(fmt.Sprintf("modtime-q%d", i), func(t *testing.T) {
    			// Mutate modtime, but rest is consistent.
    			vMod := make([][]xlMetaV2ShallowVersion, 0, len(vers))
    			for i, ver := range vers {
    				newVers := make([]xlMetaV2ShallowVersion, 0, len(ver))
    				for _, v := range ver {
    					v.header.ModTime += int64(i)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 36.4K bytes
    - Viewed (0)
Back to top