Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 2,750 for errPos (0.19 seconds)

  1. cmd/peer-s3-server.go

    			err := localDrives[index].MakeVol(ctx, bucket)
    			if opts.ForceCreate && errors.Is(err, errVolumeExists) {
    				// No need to return error when force create was
    				// requested.
    				return nil
    			}
    			return err
    		}, index)
    	}
    
    	errs := g.Wait()
    	return reduceWriteQuorumErrs(ctx, errs, bucketOpIgnoredErrs, (len(localDrives)/2)+1)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  2. cmd/xl-storage-disk-id-check.go

    			}
    		}
    		done(0, &err)
    	}()
    
    	errs = p.storage.DeleteVersions(ctx, volume, versions, opts)
    	for i := range errs {
    		if errs[i] != nil {
    			err = errs[i]
    			break
    		}
    	}
    
    	return errs
    }
    
    func (p *xlStorageDiskIDCheck) VerifyFile(ctx context.Context, volume, path string, fi FileInfo) (*CheckPartsResp, error) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 25 05:41:04 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  3. cmd/erasure-server-pool.go

    			result.Object = decodeDirObject(result.Object)
    			errs[idx] = err
    			results[idx] = result
    		}(idx, pool)
    	}
    	wg.Wait()
    
    	// Return the first nil error
    	for idx, err := range errs {
    		if err == nil {
    			return results[idx], nil
    		}
    	}
    
    	// No pool returned a nil error, return the first non 'not found' error
    	for idx, err := range errs {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 89.2K bytes
    - Click Count (0)
  4. cmd/metacache-set.go

    	// if disk did not return any result, but also haven't errored
    	// the entry will be empty and errs will
    	partial func(entries metaCacheEntries, errs []error)
    
    	// finished will be called when all streams have finished and
    	// more than one disk returned an error.
    	// Will not be called if everything operates as expected.
    	finished func(errs []error)
    }
    
    // listPathRaw will list a path on the provided drives.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 30.7K bytes
    - Click Count (0)
  5. cmd/bucket-handlers.go

    			}
    
    			for i, objInfo := range objInfos {
    				if errs[i] != nil {
    					fanOutResp = append(fanOutResp, minio.PutObjectFanOutResponse{
    						Key:   objInfo.Name,
    						Error: errs[i].Error(),
    					})
    					eventArgsList = append(eventArgsList, eventArgs{
    						EventName:    event.ObjectCreatedPost,
    						BucketName:   objInfo.Bucket,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 63.9K bytes
    - Click Count (0)
  6. cmd/global-heal.go

    			},
    			partial: func(entries metaCacheEntries, _ []error) {
    				entry, ok := entries.resolve(&resolver)
    				if !ok {
    					// check if we can get one entry at least
    					// proceed to heal nonetheless.
    					entry, _ = entries.firstFound()
    				}
    				jt.Take()
    				go healEntry(bucket, *entry)
    			},
    			finished: func(errs []error) {
    				success := countErrs(errs, nil)
    				if success < len(disks)/2+1 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 04 13:49:12 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  7. cmd/config-current.go

    		globalServerConfig[subSys] = s[subSys]
    	}
    	if len(errs) > 0 {
    		return errors.Join(errs...)
    	}
    	return nil
    }
    
    // applyDynamicConfig will apply dynamic config values.
    // Dynamic systems should be in config.SubSystemsDynamic as well.
    func applyDynamicConfig(ctx context.Context, objAPI ObjectLayer, s config.Config) error {
    	for subSys := range config.SubSystemsDynamic {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 28.5K bytes
    - Click Count (0)
  8. cmd/site-replication.go

    type concErr struct {
    	errMap     map[string]error
    	summaryErr error
    }
    
    func (c concErr) Error() string {
    	if c.summaryErr != nil {
    		return c.summaryErr.Error()
    	}
    	return "<nil>"
    }
    
    func (c concErr) Unwrap() error {
    	return c.summaryErr
    }
    
    func (c *SiteReplicationSys) toErrorFromErrMap(errMap map[string]error, actionName string) error {
    	if len(errMap) == 0 {
    		return nil
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 184.8K bytes
    - Click Count (1)
  9. cmd/xl-storage.go

    	errs := make([]error, len(versions))
    
    	for i, fiv := range versions {
    		if contextCanceled(ctx) {
    			errs[i] = ctx.Err()
    			continue
    		}
    		errs[i] = s.deleteVersions(ctx, volume, fiv.Name, fiv.Versions...)
    		diskHealthCheckOK(ctx, errs[i])
    	}
    
    	return errs
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 91.7K bytes
    - Click Count (0)
  10. cmd/utils.go

    }
    
    // IsErrIgnored returns whether given error is ignored or not.
    func IsErrIgnored(err error, ignoredErrs ...error) bool {
    	return IsErr(err, ignoredErrs...)
    }
    
    // IsErr returns whether given error is exact error.
    func IsErr(err error, errs ...error) bool {
    	for _, exactErr := range errs {
    		if errors.Is(err, exactErr) {
    			return true
    		}
    	}
    	return false
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 33K bytes
    - Click Count (0)
Back to Top