Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for UpdateMetadata (0.04 sec)

  1. cmd/storage-rest-client.go

    		DiskID:     *client.diskID.Load(),
    		OrigVolume: origvolume,
    		Volume:     volume,
    		FilePath:   path,
    		FI:         fi,
    	})
    	return toStorageErr(err)
    }
    
    func (client *storageRESTClient) UpdateMetadata(ctx context.Context, volume, path string, fi FileInfo, opts UpdateMetadataOpts) error {
    	ctx, cancel := context.WithTimeout(ctx, globalDriveConfig.GetMaxTimeout())
    	defer cancel()
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 08 02:38:41 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    	// Start writing `xl.meta` to all disks in parallel.
    	for index := range onlineDisks {
    		g.Go(func() error {
    			if onlineDisks[index] == nil {
    				return errDiskNotFound
    			}
    			return onlineDisks[index].UpdateMetadata(ctx, bucket, object, fi, opts)
    		}, index)
    	}
    
    	// Wait for all the routines.
    	mErrs := g.Wait()
    
    	return reduceWriteQuorumErrs(ctx, mErrs, objectOpIgnoredErrs, fi.WriteQuorum(er.defaultWQuorum()))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
Back to top