Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for errVolumeNotFound (0.1 sec)

  1. cmd/erasure-metadata-utils_test.go

    			nil, nil,
    		}, []error{}, errErasureReadQuorum},
    		// Validate if have consensus and errors ignored.
    		{[]error{
    			errVolumeNotFound,
    			errVolumeNotFound,
    			errVolumeNotFound,
    			errVolumeNotFound,
    			errVolumeNotFound,
    			errDiskNotFound,
    			errDiskNotFound,
    		}, []error{errDiskNotFound}, errVolumeNotFound},
    		{[]error{}, []error{}, errErasureReadQuorum},
    		{
    			[]error{
    				errFileNotFound, errFileNotFound, errFileNotFound,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. cmd/xl-storage_test.go

    		// Expecting to fail with `errVolumeNotFound`.
    		{
    			srcVol:      "src-vol-non-existent",
    			destVol:     "dest-vol",
    			srcPath:     "file4",
    			destPath:    "new-path/",
    			expectedErr: errVolumeNotFound,
    		},
    		// TestXLStorage case - 11.
    		// TestXLStorage case with non-existent destination volume.
    		// Expecting to fail with `errVolumeNotFound`.
    		{
    			srcVol:      "src-vol",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  3. cmd/erasure-healing.go

    		}, index)
    	}
    
    	return g.Wait()
    }
    
    func isAllVolumeNotFound(errs []error) bool {
    	return countErrs(errs, errVolumeNotFound) == len(errs)
    }
    
    // isAllNotFound will return if any element of the error slice is not
    // errFileNotFound, errFileVersionNotFound or errVolumeNotFound.
    // A 0 length slice will always return false.
    func isAllNotFound(errs []error) bool {
    	for _, err := range errs {
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  4. cmd/storage-errors.go

    var errIsNotRegular = StorageErr("not of regular file type")
    
    // errPathNotFound - cannot find the path.
    var errPathNotFound = StorageErr("path not found")
    
    // errVolumeNotFound - cannot find the volume.
    var errVolumeNotFound = StorageErr("volume not found")
    
    // errVolumeNotEmpty - volume not empty.
    var errVolumeNotEmpty = StorageErr("volume is not empty")
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    	} else {
    		err = Remove(volumeDir)
    	}
    
    	if err != nil {
    		switch {
    		case errors.Is(err, errFileNotFound):
    			return errVolumeNotFound
    		case osIsNotExist(err):
    			return errVolumeNotFound
    		case isSysErrNotEmpty(err):
    			return errVolumeNotEmpty
    		case osIsPermission(err):
    			return errDiskAccessDenied
    		case isSysErrIO(err):
    			return errFaultyDisk
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  6. cmd/peer-s3-client.go

    			return madmin.HealResultItem{}, poolErr
    		}
    	}
    
    	for i, err := range errs {
    		if err == nil {
    			return healBucketResults[i], nil
    		}
    	}
    
    	return madmin.HealResultItem{}, toObjectErr(errVolumeNotFound, bucket)
    }
    
    // ListBuckets lists buckets across all nodes and returns a consistent view:
    //   - Return an error when a pool cannot return N/2+1 valid bucket information
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. cmd/storage-rest-client.go

    		return errFaultyRemoteDisk
    	case errFileCorrupt.Error():
    		return errFileCorrupt
    	case errUnexpected.Error():
    		return errUnexpected
    	case errDiskFull.Error():
    		return errDiskFull
    	case errVolumeNotFound.Error():
    		return errVolumeNotFound
    	case errVolumeExists.Error():
    		return errVolumeExists
    	case errFileNotFound.Error():
    		return errFileNotFound
    	case errFileVersionNotFound.Error():
    		return errFileVersionNotFound
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  8. cmd/erasure-healing-common.go

    	switch err {
    	case nil:
    		return checkPartSuccess
    	case errFileNotFound, errFileVersionNotFound:
    		return checkPartFileNotFound
    	case errFileCorrupt:
    		return checkPartFileCorrupt
    	case errVolumeNotFound:
    		return checkPartVolumeNotFound
    	case errDiskNotFound:
    		return checkPartDiskNotFound
    	default:
    		return checkPartUnknown
    	}
    }
    
    func partNeedsHealing(partErrs []int) bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. cmd/erasure-multipart.go

    	uploadIDPath := er.getUploadIDDir(bucket, object, uploadID)
    	// Validates if upload ID exists.
    	fi, _, err := er.checkUploadIDExists(ctx, bucket, object, uploadID, true)
    	if err != nil {
    		if errors.Is(err, errVolumeNotFound) {
    			return pi, toObjectErr(err, bucket)
    		}
    		return pi, toObjectErr(err, bucket, object, uploadID)
    	}
    
    	onlineDisks := er.getDisks()
    	writeQuorum := fi.WriteQuorum(er.defaultWQuorum())
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  10. cmd/peer-s3-server.go

    			if serr != nil {
    				if serr == errDiskNotFound {
    					beforeState[index] = madmin.DriveStateOffline
    					afterState[index] = madmin.DriveStateOffline
    					return serr
    				}
    				if serr != errVolumeNotFound {
    					beforeState[index] = madmin.DriveStateCorrupt
    					afterState[index] = madmin.DriveStateCorrupt
    					return serr
    				}
    
    				beforeState[index] = madmin.DriveStateMissing
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top