Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for readParts (0.15 sec)

  1. cmd/storage-rest-client.go

    		DstVolume:   dstVolume,
    		DstFilePath: dstPath,
    		Meta:        meta,
    	})
    	return toStorageErr(err)
    }
    
    // ReadParts - reads various part.N.meta paths from a drive remotely and returns object part info for each of those part.N.meta if found
    func (client *storageRESTClient) ReadParts(ctx context.Context, volume string, partMetaPaths ...string) ([]*ObjectPartInfo, error) {
    	values := make(url.Values)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  2. cmd/erasure-multipart.go

    	partMetaPaths := make([]string, len(partNums))
    	for i, part := range partNums {
    		partMetaPaths[i] = pathJoin(partPath, fmt.Sprintf("part.%d.meta", part))
    	}
    
    	// Read parts in quorum
    	objParts, err := readParts(ctx, onlineDisks, minioMetaMultipartBucket, partMetaPaths,
    		partNums, readQuorum)
    	if err != nil {
    		return result, toObjectErr(err, bucket, object, uploadID)
    	}
    
    	count := maxParts
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  3. cmd/xl-storage-disk-id-check.go

    }
    
    func (p *xlStorageDiskIDCheck) ReadParts(ctx context.Context, volume string, partMetaPaths ...string) ([]*ObjectPartInfo, error) {
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricReadParts, volume, path.Dir(partMetaPaths[0]))
    	if err != nil {
    		return nil, err
    	}
    	defer done(0, &err)
    
    	return p.storage.ReadParts(ctx, volume, partMetaPaths...)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    			logger.GetReqInfo(ctx).AppendTags("disk", s.String())
    			storageLogOnceIf(ctx, err, partPath)
    		}
    	}
    
    	return &resp, nil
    }
    
    func (s *xlStorage) ReadParts(ctx context.Context, volume string, partMetaPaths ...string) ([]*ObjectPartInfo, 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