Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for checkPartUnknown (0.7 sec)

  1. cmd/erasure-healing-common.go

    		return checkPartVolumeNotFound
    	case errDiskNotFound:
    		return checkPartDiskNotFound
    	default:
    		return checkPartUnknown
    	}
    }
    
    func partNeedsHealing(partErrs []int) bool {
    	return slices.IndexFunc(partErrs, func(i int) bool { return i != checkPartSuccess && i != checkPartUnknown }) > -1
    }
    
    func countPartNotSuccess(partErrs []int) (c int) {
    	for _, pe := range partErrs {
    		if pe != checkPartSuccess {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. cmd/storage-datatypes.go

    type RenameDataResp struct {
    	Sign       []byte `msg:"s"`
    	OldDataDir string `msg:"od"` // contains '<uuid>', it is designed to be passed as value to Delete(bucket, pathJoin(object, dataDir))
    }
    
    const (
    	checkPartUnknown int = iota
    
    	// Changing the order can cause a data loss
    	// when running two nodes with incompatible versions
    	checkPartSuccess
    	checkPartDiskNotFound
    	checkPartVolumeNotFound
    	checkPartFileNotFound
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    		return io.ErrShortWrite
    	}
    
    	return nil
    }
    
    // checkPart is a light check of an existing and size of a part, without doing a bitrot operation
    // For any unexpected error, return checkPartUnknown (zero)
    func (s *xlStorage) checkPart(volumeDir, path, dataDir string, partNum int, expectedSize int64, skipAccessCheck bool) (resp int) {
    	partPath := pathJoin(path, dataDir, fmt.Sprintf("part.%d", partNum))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 13 11:33:47 UTC 2025
    - 91.7K bytes
    - Viewed (0)
Back to top