Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for partMetaPaths (0.39 sec)

  1. cmd/erasure-multipart.go

    	}
    
    	result.Parts = make([]PartInfo, 0, len(partNums))
    	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 {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  2. cmd/naughty-disk_test.go

    }
    
    func (d *naughtyDisk) ReadParts(ctx context.Context, bucket string, partMetaPaths ...string) ([]*ObjectPartInfo, error) {
    	if err := d.calcError(); err != nil {
    		return nil, err
    	}
    	return d.disk.ReadParts(ctx, bucket, partMetaPaths...)
    }
    
    func (d *naughtyDisk) RenameFile(ctx context.Context, srcVolume, srcPath, dstVolume, dstPath string) error {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. cmd/storage-interface.go

    	StatInfoFile(ctx context.Context, volume, path string, glob bool) (stat []StatInfo, err error)
    	ReadParts(ctx context.Context, bucket string, partMetaPaths ...string) ([]*ObjectPartInfo, error)
    	ReadMultiple(ctx context.Context, req ReadMultipleReq, resp chan<- ReadMultipleResp) error
    	CleanAbandonedData(ctx context.Context, volume string, path string) error
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. 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...)
    }
    
    // ReadMultiple will read multiple files and send each files as response.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  5. cmd/storage-rest-client.go

    func (client *storageRESTClient) ReadParts(ctx context.Context, volume string, partMetaPaths ...string) ([]*ObjectPartInfo, error) {
    	values := make(url.Values)
    	values.Set(storageRESTVolume, volume)
    
    	rp := &ReadPartsReq{Paths: partMetaPaths}
    	buf, err := rp.MarshalMsg(nil)
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    	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
    	}
    
    	parts := make([]*ObjectPartInfo, len(partMetaPaths))
    	for idx, partMetaPath := range partMetaPaths {
    		var partNumber int
    		fmt.Sscanf(pathutil.Base(partMetaPath), "part.%d.meta", &partNumber)
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (2)
Back to top