Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for scwang (0.17 sec)

  1. cmd/mrf.go

    			scan := madmin.HealNormalScan
    			if u.scanMode != 0 {
    				scan = u.scanMode
    			}
    			if u.object == "" {
    				healBucket(u.bucket, scan)
    			} else {
    				if len(u.versions) > 0 {
    					vers := len(u.versions) / 16
    					if vers > 0 {
    						for i := 0; i < vers; i++ {
    							healObject(u.bucket, u.object, uuid.UUID(u.versions[16*i:]).String(), scan)
    						}
    					}
    				} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. internal/config/heal/help.go

    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	// Help provides help for config values
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         Bitrot,
    			Description: `perform bitrot scan on drives when checking objects during scanner` + defaultHelpPostfix(Bitrot),
    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         Sleep,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 11 21:48:54 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  3. docs/debugging/reorder-disks/main.go

    	result := make(map[string]string)
    
    	mountInfo, err := os.Open("/proc/self/mountinfo")
    	if err != nil {
    		return nil, err
    	}
    	defer mountInfo.Close()
    
    	scanner := bufio.NewScanner(mountInfo)
    	for scanner.Scan() {
    		s := strings.Split(scanner.Text(), " ")
    		if len(s) != 11 {
    			return nil, errors.New("unsupported /proc/self/mountinfo format")
    		}
    		result[s[2]] = s[9]
    	}
    
    	if err := scanner.Err(); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  4. cmd/metrics-v2.go

    			},
    			{
    				Description: MetricDescription{
    					Namespace: nodeMetricNamespace,
    					Subsystem: scannerSubsystem,
    					Name:      "bucket_scans_started",
    					Help:      "Total number of bucket scans started since server start",
    					Type:      counterMetric,
    				},
    				Value: float64(globalScannerMetrics.lifetime(scannerMetricScanBucketDrive) + uint64(globalScannerMetrics.activeDrives())),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  5. docs/metrics/prometheus/grafana/minio-dashboard.json

              },
              "exemplar": true,
              "expr": "rate(minio_node_scanner_bucket_scans_finished{job=~\"$scrape_jobs\"}[$__rate_interval])",
              "interval": "1m",
              "legendFormat": "[{{server}}]",
              "refId": "A"
            }
          ],
          "title": "Bucket Scans Finished",
          "type": "timeseries"
        },
        {
          "datasource": {
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 10:03:01 GMT 2024
    - 93K bytes
    - Viewed (2)
  6. cmd/erasure-object.go

    			// - attempt a heal to successfully heal them for future calls.
    			if written == partLength {
    				var scan madmin.HealScanMode
    				switch {
    				case errors.Is(err, errFileNotFound):
    					scan = madmin.HealNormalScan
    				case errors.Is(err, errFileCorrupt):
    					scan = madmin.HealDeepScan
    				}
    				switch scan {
    				case madmin.HealNormalScan, madmin.HealDeepScan:
    					healOnce.Do(func() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  7. cmd/update.go

    			ctx := logger.SetReqInfo(GlobalContext, reqInfo)
    			internalLogIf(ctx, err)
    		}
    		return ""
    	}
    	defer helmInfoFile.Close()
    	scanner := bufio.NewScanner(helmInfoFile)
    	for scanner.Scan() {
    		if strings.Contains(scanner.Text(), "chart=") {
    			helmChartVersion := strings.TrimPrefix(scanner.Text(), "chart=")
    			// remove quotes from the chart version
    			return strings.Trim(helmChartVersion, `"`)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  8. docs/config/README.md

    
    ```
    ~ mc admin config set alias/ heal
    KEY:
    heal  manage object healing frequency and bitrot verification checks
    
    ARGS:
    bitrotscan     (on|off)    perform bitrot scan on drives when checking objects during scanner
    max_sleep      (duration)  maximum sleep duration between objects to slow down heal operation. eg. 2s
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 11 21:48:54 GMT 2023
    - 17.7K bytes
    - Viewed (0)
  9. internal/s3select/select.go

    	Start *uint64 `xml:"Start"`
    	// End is the offset of the last byte that should be returned when Start
    	// is set, otherwise it is the offset from EOF to start reading.
    	End *uint64 `xml:"End"`
    }
    
    // Validate if the scan range is valid.
    func (s *ScanRange) Validate() error {
    	if s == nil {
    		return nil
    	}
    	if s.Start == nil && s.End == nil {
    		// This parameter is optional, but when specified, it must not be empty.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  10. cmd/metacache-server-pool.go

    	// of form 'keyName/...'
    	if strings.HasPrefix(o.Prefix, SlashSeparator) {
    		return entries, io.EOF
    	}
    
    	// If delimiter is slashSeparator we must return directories of
    	// the non-recursive scan unless explicitly requested.
    	o.IncludeDirectories = o.Separator == slashSeparator
    	if (o.Separator == slashSeparator || o.Separator == "") && !o.Recursive {
    		o.Recursive = o.Separator != slashSeparator
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
Back to top