Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 169 for Code (0.15 sec)

  1. cmd/erasure-server-pool-rebalance.go

    		}
    
    		participants[i] = ps.Participating
    	}
    	z.rebalMu.RUnlock()
    
    	for poolIdx, doRebalance := range participants {
    		if !doRebalance {
    			continue
    		}
    		// nothing to do if this node is not pool's first node (i.e pool's rebalance 'leader').
    		if !globalEndpoints[poolIdx].Endpoints[0].IsLocal {
    			continue
    		}
    
    		go func(idx int) {
    			stopfn := globalRebalanceMetrics.log(rebalanceMetricRebalanceBuckets, idx)
    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)
  2. cmd/metrics.go

    	)
    
    	// MinIO Offline Disks per node
    	ch <- prometheus.MustNewConstMetric(
    		prometheus.NewDesc(
    			prometheus.BuildFQName(minioNamespace, "disks", "offline"),
    			"Total number of offline drives in current MinIO server instance",
    			nil, nil),
    		prometheus.GaugeValue,
    		float64(offlineDisks.Sum()),
    	)
    
    	// MinIO Total Disks per node
    	ch <- prometheus.MustNewConstMetric(
    		prometheus.NewDesc(
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  3. cmd/storage-errors.go

    // to proceed to next entry.
    var errSkipFile = errors.New("skip this file")
    
    var errIgnoreFileContrib = errors.New("ignore this file's contribution toward data-usage")
    
    // errXLBackend XL drive mode requires fresh deployment.
    var errXLBackend = errors.New("XL backend requires fresh drive")
    
    // StorageErr represents error generated by xlStorage call.
    type StorageErr string
    
    func (h StorageErr) Error() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  4. helm/minio/templates/statefulset.yaml

    {{- if eq .Values.mode "distributed" }}
    {{ $poolCount := .Values.pools | int }}
    {{ $nodeCount := .Values.replicas | int }}
    {{ $replicas := mul $poolCount $nodeCount }}
    {{ $drivesPerNode := .Values.drivesPerNode | int }}
    {{ $scheme := .Values.tls.enabled | ternary "https" "http" }}
    {{ $mountPath := .Values.mountPath }}
    {{ $bucketRoot := or ($.Values.bucketRoot) ($.Values.mountPath) }}
    {{ $subPath := .Values.persistence.subPath }}
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 07:50:24 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  5. cmd/auth-handler.go

    	var retSet bool
    	if cred.AccessKey == "" {
    		return ErrAccessDenied
    	}
    
    	conditions := getConditionValues(r, "", cred)
    	conditions["object-lock-mode"] = []string{string(retMode)}
    	conditions["object-lock-retain-until-date"] = []string{retDate.UTC().Format(time.RFC3339)}
    	if retDays > 0 {
    		conditions["object-lock-remaining-retention-days"] = []string{strconv.Itoa(retDays)}
    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/xl-storage-disk-id-check.go

    		err = p.storage.Delete(context.Background(), minioMetaTmpBucket, fn, DeleteOptions{
    			Recursive: false,
    			Immediate: false,
    		})
    
    		if err == nil {
    			logger.Event(context.Background(), "healthcheck",
    				"node(%s): Read/Write/Delete successful, bringing drive %s online", globalLocalNodeName, p.storage.String())
    			p.health.status.Store(diskHealthOK)
    			p.health.waiting.Add(-1)
    			return
    		}
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  7. cmd/sts-errors.go

    }
    
    // STSError structure
    type STSError struct {
    	Code           string
    	Description    string
    	HTTPStatusCode int
    }
    
    // STSErrorResponse - error response format
    type STSErrorResponse struct {
    	XMLName xml.Name `xml:"https://sts.amazonaws.com/doc/2011-06-15/ ErrorResponse" json:"-"`
    	Error   struct {
    		Type    string `xml:"Type"`
    		Code    string `xml:"Code"`
    		Message string `xml:"Message"`
    	} `xml:"Error"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. cmd/sts-handlers_test.go

    		zipWriter := zip.NewWriter(&b)
    		rawDataFn := func(r io.Reader, filename string, sz int) error {
    			header, zerr := zip.FileInfoHeader(dummyFileInfo{
    				name:    filename,
    				size:    int64(sz),
    				mode:    0o600,
    				modTime: time.Now(),
    				isDir:   false,
    				sys:     nil,
    			})
    			if zerr != nil {
    				adminLogIf(ctx, zerr)
    				return nil
    			}
    			header.Method = zip.Deflate
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  9. cmd/testdata/undeleteable-object.tgz

    ":"exchange_type","value":""},{"key":"routing_key","value":""},{"key":"mandatory","value":"off"},{"key":"durable","value":"off"},{"key":"no_wait","value":"off"},{"key":"internal","value":"off"},{"key":"auto_deleted","value":"off"},{"key":"delivery_mode","value":"0"},{"key":"publisher_confirms","value":"off"},{"key":"queue_limit","value":"0"},{"key":"queue_dir","value":""}]},"notify_elasticsearch":{"_":[{"key":"enable","value":"off"},{"key":"url","value":""},{"key":"format","value":"namespace"},{...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 8.7M bytes
    - Viewed (0)
  10. cmd/post-policy_test.go

    		apiRouter.ServeHTTP(rec, req)
    		if rec.Code != testCase.expectedRespStatus {
    			t.Errorf("Test %d: %s: Expected the response status to be `%d`, but instead found `%d`", i+1, instanceType, testCase.expectedRespStatus, rec.Code)
    		}
    		// When the operation is successful, check if sending metadata is successful too
    		if rec.Code == http.StatusNoContent {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
Back to top