Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for Reed (3.95 sec)

  1. cmd/xl-storage-disk-id-check.go

    			for i := range p.apiCalls {
    				diskMetric.APICalls[storageMetric(i).String()] = atomic.LoadUint64(&p.apiCalls[i])
    			}
    			return diskMetric, nil
    		},
    	)
    
    	diskMetric, _ := p.metricsCache.Get()
    	// Do not need this value to be cached.
    	diskMetric.TotalErrorsTimeout = p.totalErrsTimeout.Load()
    	diskMetric.TotalErrorsAvailability = p.totalErrsAvailability.Load()
    
    	return diskMetric
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  2. internal/config/identity/openid/openid.go

    			isExplicitlyEnabled = cfgEnableVal != ""
    		)
    
    		var enabled bool
    		if isExplicitlyEnabled {
    			enabled, err = config.ParseBool(cfgEnableVal)
    			if err != nil {
    				return c, err
    			}
    			// No need to continue loading if the config is not enabled.
    			if !enabled {
    				continue
    			}
    		}
    
    		p := newProviderCfgFromConfig(getCfgVal)
    		configURL := getCfgVal(ConfigURL)
    
    		if !isExplicitlyEnabled {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  3. cmd/object-multipart-handlers.go

    			if err = setEncryptionMetadata(r, bucket, object, encMetadata); err != nil {
    				writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    				return
    			}
    		}
    		// Set this for multipart only operations, we need to differentiate during
    		// decryption if the file was actually multipart or not.
    		encMetadata[ReservedMetadataPrefix+"Encrypted-Multipart"] = ""
    	}
    
    	// Extract metadata that needs to be saved.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-rebalance.go

    			// rebalance on poolIdx has reached its goal
    			if z.checkIfRebalanceDone(poolIdx) {
    				return
    			}
    
    			fivs, err := entry.fileInfoVersions(bucket)
    			if err != nil {
    				return
    			}
    
    			// We need a reversed order for rebalance,
    			// to create the appropriate stack.
    			versionsSorter(fivs.Versions).reverse()
    
    			var rebalanced, expired int
    			for _, version := range fivs.Versions {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  5. cmd/auth-handler.go

    	// server admin credentials change. This is done to ensure
    	// that clients cannot decode the token using the temp
    	// secret keys and generate an entirely new claim by essentially
    	// hijacking the policies. We need to make sure that this is
    	// based on admin credential such that token cannot be decoded
    	// on the client side and is treated like an opaque value.
    	claims, err := auth.ExtractClaims(token, secret)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  6. cmd/batch-expire.go

    	if err := api.Walk(ctx, r.Bucket, r.Prefix, results, WalkOptions{
    		Marker:       lastObject,
    		LatestOnly:   false, // we need to visit all versions of the object to implement purge: retainVersions
    		VersionsSort: WalkVersionsSortDesc,
    	}); err != nil {
    		// Do not need to retry if we can't list objects on source.
    		return err
    	}
    
    	// Goroutine to periodically save batch-expire job's in-memory state
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  7. cmd/batch-rotate.go

    			for _, kv := range r.Flags.Filter.Metadata {
    				for k, v := range info.Metadata {
    					if !stringsHasPrefixFold(k, "x-amz-meta-") && !isStandardHeader(k) {
    						continue
    					}
    					// We only need to match x-amz-meta or standardHeaders
    					if kv.Match(BatchJobKV{Key: k, Value: v}) {
    						return true
    					}
    				}
    			}
    
    			// None of the provided metadata filters match skip the object.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  8. cmd/erasure-metadata.go

    	return ceilFrac(e.BlockSize, int64(e.DataBlocks))
    }
    
    // IsValid - tells if erasure info fields are valid.
    func (fi FileInfo) IsValid() bool {
    	if fi.Deleted {
    		// Delete marker has no data, no need to check
    		// for erasure coding information
    		return true
    	}
    	dataBlocks := fi.Erasure.DataBlocks
    	parityBlocks := fi.Erasure.ParityBlocks
    	correctIndexes := (fi.Erasure.Index > 0 &&
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  9. cmd/api-router.go

    				if err != nil {
    					host = r.Host
    				}
    				// Make sure to skip matching minio.<domain>` this is
    				// specifically meant for operator/k8s deployment
    				// The reason we need to skip this is for a special
    				// usecase where we need to make sure that
    				// minio.<namespace>.svc.<cluster_domain> is ignored
    				// by the bucketDNS style to ensure that path style
    				// is available and honored at this domain.
    				//
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  10. cmd/admin-heal-ops.go

    	for _, v := range ahs.healStatus {
    		dst[v.Endpoint] = v.toHealingDisk()
    	}
    
    	return dst
    }
    
    // getHealLocalDiskEndpoints() returns the list of disks that need
    // to be healed but there is no healing routine in progress on them.
    func (ahs *allHealState) getHealLocalDiskEndpoints() Endpoints {
    	ahs.RLock()
    	defer ahs.RUnlock()
    
    	var endpoints Endpoints
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
Back to top