Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for consistent (0.39 sec)

  1. cmd/erasure-healing-common_test.go

    			t.Errorf("Test case %d, expect to pass but failed. Wanted modTime: %s, got modTime: %s\n", i+1, testCase.time, ctime)
    		}
    	}
    }
    
    // TestListOnlineDisks - checks if listOnlineDisks and outDatedDisks
    // are consistent with each other.
    func TestListOnlineDisks(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	obj, disks, err := prepareErasure16(ctx)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  2. cmd/peer-s3-client.go

    		if err == nil {
    			return healBucketResults[i], nil
    		}
    	}
    
    	return madmin.HealResultItem{}, toObjectErr(errVolumeNotFound, bucket)
    }
    
    // ListBuckets lists buckets across all nodes and returns a consistent view:
    //   - Return an error when a pool cannot return N/2+1 valid bucket information
    //   - For each pool, check if the bucket exists in N/2+1 nodes before including it in the final result
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  3. cmd/storage-rest-client.go

    	case strings.Contains(err.Error(), "server closed idle connection"):
    		return true
    	}
    
    	return false
    }
    
    // Converts network error to storageErr. This function is
    // written so that the storageAPI errors are consistent
    // across network disks.
    func toStorageErr(err error) error {
    	if err == nil {
    		return nil
    	}
    
    	if isNetworkError(err) {
    		return errDiskNotFound
    	}
    
    	switch err.Error() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  4. cmd/erasure-healing-common.go

    				// number of items than number of online disks.
    				inconsistent++
    				continue
    			}
    			if meta.Erasure.Distribution[i] != meta.Erasure.Index {
    				// Mismatch indexes with distribution order
    				inconsistent++
    			}
    		}
    	}
    
    	erasureDistributionReliable := true
    	if inconsistent > len(partsMetadata)/2 {
    		// If there are too many inconsistent files, then we can't trust erasure.Distribution (most likely
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  5. cmd/erasure-metadata-utils.go

    	var inconsistent int
    	for i, meta := range metaArr {
    		if disks[i] == nil {
    			// Assuming offline drives as inconsistent,
    			// to be safe and fallback to original
    			// distribution order.
    			inconsistent++
    			continue
    		}
    		if !meta.IsValid() {
    			inconsistent++
    			continue
    		}
    		if meta.XLV1 != fi.XLV1 {
    			inconsistent++
    			continue
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  6. cmd/object-api-utils.go

    // string.
    //
    // See:
    // http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html
    //
    // You should avoid the following characters in a key name because of
    // significant special handling for consistency across all
    // applications.
    //
    // Rejects strings with following characters.
    //
    // - Backslash ("\")
    //
    // additionally minio does not support object names with trailing SlashSeparator.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  7. cmd/erasure.go

    			continue
    		}
    		onlineDisks[ep]++
    	}
    
    	rootDiskCount := 0
    	for _, di := range disksInfo {
    		if di.RootDisk {
    			rootDiskCount++
    		}
    	}
    
    	// Count offline disks as well to ensure consistent
    	// reportability of offline drives on local setups.
    	if len(disksInfo) == (rootDiskCount + offlineDisks.Sum()) {
    		// Success.
    		return onlineDisks, offlineDisks
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  8. cmd/prepare-storage.go

    			}
    		}
    	}
    
    	// Pre-emptively check if one of the formatted disks
    	// is invalid. This function returns success for the
    	// most part unless one of the formats is not consistent
    	// with expected Erasure format. For example if a user is
    	// trying to pool FS backend into an Erasure set.
    	if err = checkFormatErasureValues(formatConfigs, storageDisks, setDriveCount); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/parse.go

    		if name != "PC" && a.Name == obj.NAME_NONE {
    			p.errorf("cannot reference %s without a symbol", name)
    		}
    		p.setPseudoRegister(a, name, false, prefix)
    		return
    	}
    	a.Reg = r1
    	if r2 != 0 {
    		// TODO: Consistency in the encoding would be nice here.
    		if p.arch.InFamily(sys.ARM, sys.ARM64) {
    			// Special form
    			// ARM: destination register pair (R1, R2).
    			// ARM64: register pair (R1, R2) for LDP/STP.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  10. 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)
Back to top