Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for WithNErrs (0.05 sec)

  1. cmd/erasure-metadata.go

    }
    
    func writeAllMetadataWithRevert(ctx context.Context, disks []StorageAPI, origbucket, bucket, prefix string, files []FileInfo, quorum int, revert bool) ([]StorageAPI, error) {
    	g := errgroup.WithNErrs(len(disks))
    
    	// Start writing `xl.meta` to all disks in parallel.
    	for index := range disks {
    		index := index
    		g.Go(func() error {
    			if disks[index] == nil {
    				return errDiskNotFound
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    	fi := FileInfo{
    		VersionID: m.VersionID,
    	}
    	if opts.VersionID != "" {
    		fi.VersionID = opts.VersionID
    	}
    	fi.SetTierFreeVersionID(mustGetUUID())
    	disks := er.getDisks()
    	g := errgroup.WithNErrs(len(disks))
    	for index := range disks {
    		index := index
    		g.Go(func() error {
    			if disks[index] == nil {
    				return errDiskNotFound
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top