Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for if (0.14 sec)

  1. cmd/erasure-healing.go

    		return true
    	case errors.Is(erErr, errFileCorrupt):
    		return true
    	}
    	if erErr == nil {
    		if meta.XLV1 {
    			// Legacy means heal always
    			// always check first.
    			return true
    		}
    		if !meta.Deleted && !meta.IsRemote() {
    			// If xl.meta was read fine but there may be problem with the part.N files.
    			if IsErr(dataErr, []error{
    				errFileNotFound,
    				errFileVersionNotFound,
    				errFileCorrupt,
    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)
  2. cmd/metacache-set.go

    		}
    
    		if vnf == len(readers) {
    			return errVolumeNotFound
    		}
    
    		// Break if all at EOF or error.
    		if atEOF+hasErr == len(readers) {
    			if hasErr > 0 && opts.finished != nil {
    				opts.finished(errs)
    			}
    			break
    		}
    
    		if fnf == len(readers) {
    			return errFileNotFound
    		}
    
    		if agree == len(readers) {
    			// Everybody agreed
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  3. cmd/erasure-multipart.go

    	}
    
    	// Guess content-type from the extension if possible.
    	if userDefined["content-type"] == "" {
    		userDefined["content-type"] = mimedb.TypeByExtension(path.Ext(object))
    	}
    
    	// if storageClass is standard no need to save it as part of metadata.
    	if userDefined[xhttp.AmzStorageClass] == storageclass.STANDARD {
    		delete(userDefined, xhttp.AmzStorageClass)
    	}
    
    	if opts.WantChecksum != nil && opts.WantChecksum.Type.IsSet() {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  4. cmd/object-handlers_test.go

    		}
    		if testCase.copyUnmodifiedHeader != "" {
    			req.Header.Set("X-Amz-Copy-Source-If-Unmodified-Since", testCase.copyUnmodifiedHeader)
    		}
    		// Add custom metadata.
    		for k, v := range testCase.metadata {
    			req.Header.Set(k, v)
    		}
    		if testCase.metadataReplace {
    			req.Header.Set("X-Amz-Metadata-Directive", "REPLACE")
    		}
    		if testCase.metadataCopy {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  5. cmd/metrics-v3-system-process.go

    	if io.RChar > 0 {
    		m.Set(processIORCharBytes, float64(io.RChar))
    	}
    
    	if io.ReadBytes > 0 {
    		m.Set(processIOReadBytes, float64(io.ReadBytes))
    	}
    
    	if io.WChar > 0 {
    		m.Set(processIOWCharBytes, float64(io.WChar))
    	}
    
    	if io.WriteBytes > 0 {
    		m.Set(processIOWriteBytes, float64(io.WriteBytes))
    	}
    
    	if io.SyscR > 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 16:07:23 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  6. cmd/erasure.go

    	var scanningInfos, healingInfos []DiskInfo
    
    	for i, info := range infos {
    		// Check if one of the drives in the set is being healed.
    		// this information is used by scanner to skip healing
    		// this erasure set while it calculates the usage.
    		if info.Error != "" || disks[i] == nil {
    			continue
    		}
    		if info.Healing {
    			healing++
    			if inclHealing {
    				healingDisks = append(healingDisks, disks[i])
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  7. helm/minio/templates/service.yaml

        heritage: {{ .Release.Service }}
        monitoring: "true"
      {{- if .Values.service.annotations }}
      annotations: {{- toYaml .Values.service.annotations | nindent 4 }}
      {{- end }}
    spec:
      type: {{ .Values.service.type }}
      {{- if and (eq .Values.service.type "ClusterIP") .Values.service.clusterIP }}
      clusterIP: {{ .Values.service.clusterIP }}
      {{- end }}
    Others
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 10:05:53 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  8. migrator/migrator.go

    			for _, alias := range aliases {
    				if strings.HasPrefix(fullDataType, alias) {
    					isSameType = true
    					break
    				}
    			}
    
    			if !isSameType {
    				alterColumn = true
    			}
    		}
    	}
    
    	if !isSameType {
    		// check size
    		if length, ok := columnType.Length(); length != int64(field.Size) {
    			if length > 0 && field.Size > 0 {
    				alterColumn = true
    			} else {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  9. cmd/xl-storage.go

    	fi, err := Lstat(s.formatFile)
    	if err != nil {
    		// If the disk is still not initialized.
    		if osIsNotExist(err) {
    			if err = Access(s.drivePath); err == nil {
    				// Disk is present but missing `format.json`
    				return nil, errUnformattedDisk
    			}
    			if osIsNotExist(err) {
    				return nil, errDiskNotFound
    			} else if osIsPermission(err) {
    				return nil, errDiskAccessDenied
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  10. cni/pkg/util/podutil.go

    	constants.AmbientRedirection,
    ))
    
    // TODO: we should use the upstream istio version of this function.
    // PodRedirectionEnabled determines if a pod should or should not be configured
    // to have traffic redirected thru the node proxy.
    func PodRedirectionEnabled(namespace *corev1.Namespace, pod *corev1.Pod) bool {
    	if !(namespace.GetLabels()[constants.DataplaneMode] == constants.DataplaneModeAmbient ||
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 18:04:40 GMT 2024
    - 4.1K bytes
    - Viewed (0)
Back to top