Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CheckParts (0.06 sec)

  1. cmd/erasure-healing-common.go

    			// parts. This is considered an outdated disk, since
    			// it needs healing too.
    			verifyResp, verifyErr = onlineDisk.VerifyFile(ctx, bucket, object, meta)
    		default:
    			verifyResp, verifyErr = onlineDisk.CheckParts(ctx, bucket, object, meta)
    		}
    
    		for p := range latestMeta.Parts {
    			if verifyErr != nil {
    				dataErrsByPart[p][i] = convPartErrToInt(verifyErr)
    			} else {
    				dataErrsByPart[p][i] = verifyResp.Results[p]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. cmd/xl-storage-disk-id-check.go

    	})
    }
    
    func (p *xlStorageDiskIDCheck) CheckParts(ctx context.Context, volume string, path string, fi FileInfo) (*CheckPartsResp, error) {
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricCheckParts, volume, path)
    	if err != nil {
    		return nil, err
    	}
    	defer done(0, &err)
    
    	return p.storage.CheckParts(ctx, volume, path, fi)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    	}
    	// Check if shard is truncated.
    	if st.Size() < expectedSize {
    		resp = checkPartFileCorrupt
    		return
    	}
    	return checkPartSuccess
    }
    
    // CheckParts check if path has necessary parts available.
    func (s *xlStorage) CheckParts(ctx context.Context, volume string, path string, fi FileInfo) (*CheckPartsResp, error) {
    	volumeDir, err := s.getVolDir(volume)
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top