Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for distribution (0.2 sec)

  1. cmd/erasure-metadata-utils.go

    	// Shuffle slice xl metadata for expected distribution.
    	for index := range partsMetadata {
    		blockIndex := distribution[index]
    		shuffledPartsMetadata[blockIndex-1] = partsMetadata[index]
    	}
    	return shuffledPartsMetadata
    }
    
    // shuffleDisks - shuffle input disks slice depending on the
    // erasure distribution. Return shuffled slice of disks with
    // their expected distribution.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v1.go

    	// BlockSize is the size of one erasure-coded block
    	BlockSize int64 `json:"blockSize"`
    	// Index is the index of the current disk
    	Index int `json:"index"`
    	// Distribution is the distribution of the data and parity blocks
    	Distribution []int `json:"distribution"`
    	// Checksums holds all bitrot checksums of all erasure encoded blocks
    	Checksums []ChecksumInfo `json:"checksum,omitempty"`
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  3. istioctl/pkg/wait/wait.go

      istioctl experimental wait --for=distribution virtualservice bookinfo.default
    
      # Wait until the bookinfo virtual service has been distributed to a specific proxy
      istioctl experimental wait --for=distribution virtualservice bookinfo.default --proxy workload-instance.namespace
    
      # Wait until 99% of the proxies receive the distribution, timing out after 5 minutes
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  4. cmd/metrics-v3-cluster-usage.go

    	usageVersionsCount            = "versions_count"
    	usageDeleteMarkersCount       = "delete_markers_count"
    	usageBucketsCount             = "buckets_count"
    	usageSizeDistribution         = "size_distribution"
    	usageVersionCountDistribution = "version_count_distribution"
    )
    
    var (
    	usageSinceLastUpdateSecondsMD = NewGaugeMD(usageSinceLastUpdateSeconds,
    		"Time since last update of usage metrics in seconds")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  5. cmd/erasure-metadata-utils_test.go

    func testShuffleDisks(t *testing.T, z *erasureServerPools) {
    	disks := z.serverPools[0].GetDisks(0)()
    	distribution := []int{16, 14, 12, 10, 8, 6, 4, 2, 1, 3, 5, 7, 9, 11, 13, 15}
    	shuffledDisks := shuffleDisks(disks, distribution)
    	// From the "distribution" above you can notice that:
    	// 1st data block is in the 9th disk (i.e distribution index 8)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  6. cmd/erasure-healing-common.go

    			// consider the offline disks as consistent.
    			continue
    		}
    		if !meta.Deleted {
    			if len(meta.Erasure.Distribution) != len(onlineDisks) {
    				// Erasure distribution seems to have lesser
    				// number of items than number of online disks.
    				inconsistent++
    				continue
    			}
    			if meta.Erasure.Distribution[i] != meta.Erasure.Index {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  7. cmd/xl-storage-format_test.go

    	}
    	if len(unMarshalXLMeta.Erasure.Distribution) != len(jsoniterXLMeta.Erasure.Distribution) {
    		t.Errorf("Expected the size of Erasure Distribution to be %d, but got %d.", len(unMarshalXLMeta.Erasure.Distribution), len(jsoniterXLMeta.Erasure.Distribution))
    	} else {
    		for i := 0; i < len(unMarshalXLMeta.Erasure.Distribution); i++ {
    			if unMarshalXLMeta.Erasure.Distribution[i] != jsoniterXLMeta.Erasure.Distribution[i] {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v1_gen.go

    				return
    			}
    		case "Distribution":
    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Distribution")
    				return
    			}
    			if cap(z.Distribution) >= int(zb0002) {
    				z.Distribution = (z.Distribution)[:zb0002]
    			} else {
    				z.Distribution = make([]int, zb0002)
    			}
    			for za0001 := range z.Distribution {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 40.2K bytes
    - Viewed (0)
  9. cmd/erasure-healing.go

    	}
    
    	latestDisks := shuffleDisks(availableDisks, latestMeta.Erasure.Distribution)
    
    	if !latestMeta.Deleted && len(latestMeta.Erasure.Distribution) != len(outDatedDisks) {
    		err := fmt.Errorf("unexpected file distribution (%v) from outdated disks (%v), looks like backend disks have been manually modified refusing to heal %s/%s(%s)",
    			latestMeta.Erasure.Distribution, outDatedDisks, bucket, object, versionID)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  10. cmd/metrics-v3-api.go

    	apiRequests4xxErrorsTotal MetricName = "4xx_errors_total"
    	apiRequestsCanceledTotal  MetricName = "canceled_total"
    
    	apiRequestsTTFBSecondsDistribution MetricName = "ttfb_seconds_distribution"
    
    	apiTrafficSentBytes MetricName = "traffic_sent_bytes"
    	apiTrafficRecvBytes MetricName = "traffic_received_bytes"
    )
    
    var (
    	apiRejectedAuthTotalMD = NewCounterMD(apiRejectedAuthTotal,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 9.2K bytes
    - Viewed (0)
Back to top