Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for listAndHeal (0.27 sec)

  1. cmd/erasure-healing.go

    	healingMetricCheckAbandonedParts
    )
    
    func (er erasureObjects) listAndHeal(ctx context.Context, bucket, prefix string, scanMode madmin.HealScanMode, healEntry func(string, metaCacheEntry, madmin.HealScanMode) error) error {
    	ctx, cancel := context.WithCancel(ctx)
    	defer cancel()
    
    	disks, _ := er.getOnlineDisksWithHealing(false)
    	if len(disks) == 0 {
    		return errors.New("listAndHeal: No non-healing drives found")
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    			if opts.Set != nil && *opts.Set != idx {
    				continue
    			}
    			wg.Add(1)
    			go func(idx int, set *erasureObjects) {
    				defer wg.Done()
    
    				errs[idx] = set.listAndHeal(ctx, bucket, prefix, opts.ScanMode, healEntry)
    			}(idx, set)
    		}
    		wg.Wait()
    		poolErrs = append(poolErrs, errs)
    	}
    	for _, errs := range poolErrs {
    		for _, err := range errs {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top