Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isAllBucketsNotFound (0.24 sec)

  1. cmd/erasure-healing.go

    			case errFileVersionNotFound.Error():
    				continue
    			}
    		}
    		return false
    	}
    	return len(errs) > 0
    }
    
    // isAllBucketsNotFound will return true if all the errors are either errFileNotFound
    // or errFileCorrupt
    // A 0 length slice will always return false.
    func isAllBucketsNotFound(errs []error) bool {
    	if len(errs) == 0 {
    		return false
    	}
    	notFoundCount := 0
    	for _, err := range errs {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.6K bytes
    - Viewed (0)
  2. cmd/peer-s3-client.go

    	}
    
    	if !opts.Recreate {
    		// when there is no force recreate look for pool
    		// errors to recreate the bucket on all pools.
    		opts.Remove = isAllBucketsNotFound(poolErrs)
    		opts.Recreate = !opts.Remove
    	}
    
    	g = errgroup.WithNErrs(len(sys.peerClients))
    	healBucketResults := make([]madmin.HealResultItem, len(sys.peerClients))
    	for idx, client := range sys.peerClients {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
Back to top