Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 214 for error (0.23 sec)

  1. cmd/object-api-errors.go

    	return "Object name invalid: " + e.Bucket + "/" + e.Object
    }
    
    // Error returns string an error formatted as the given text.
    func (e ObjectNameTooLong) Error() string {
    	return "Object name too long: " + e.Bucket + "/" + e.Object
    }
    
    // Error returns string an error formatted as the given text.
    func (e ObjectNamePrefixAsSlash) Error() string {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  2. cmd/prepare-storage.go

    		// printed once.
    		if once {
    			return
    		}
    		// once not set, check if same error occurred 3 times in
    		// a row, then make sure we print it to call attention.
    		if m[err.Error()] > 2 {
    			peersLogAlwaysIf(ctx, fmt.Errorf("Following error has been printed %d times.. %w", m[err.Error()], err))
    			// Reduce the count to introduce further delay in printing
    			// but let it again print after the 2th attempt
    			m[err.Error()]--
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/ztunnelserver.go

    			case err == nil:
    				log.Warn("ztunnel protocol error, unexpected message")
    				return fmt.Errorf("ztunnel protocol error, unexpected message")
    			default:
    				// we get here if error is deadline exceeded, which means ztunnel is alive.
    			}
    
    		case <-ctx.Done():
    			return nil
    		}
    	}
    }
    
    func (z *ztunnelServer) PodDeleted(ctx context.Context, uid string) error {
    	r := &zdsapi.WorkloadRequest{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  4. cmd/storage-rest-client.go

    		return errFileCorrupt
    	case errUnexpected.Error():
    		return errUnexpected
    	case errDiskFull.Error():
    		return errDiskFull
    	case errVolumeNotFound.Error():
    		return errVolumeNotFound
    	case errVolumeExists.Error():
    		return errVolumeExists
    	case errFileNotFound.Error():
    		return errFileNotFound
    	case errFileVersionNotFound.Error():
    		return errFileVersionNotFound
    	case errFileNameTooLong.Error():
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  5. cmd/peer-s3-client.go

    	HealBucket(ctx context.Context, bucket string, opts madmin.HealOpts) (madmin.HealResultItem, error)
    	GetBucketInfo(ctx context.Context, bucket string, opts BucketOptions) (BucketInfo, error)
    	MakeBucket(ctx context.Context, bucket string, opts MakeBucketOptions) error
    	DeleteBucket(ctx context.Context, bucket string, opts DeleteBucketOptions) error
    
    	GetHost() string
    	SetPools([]int)
    	GetPools() []int
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  6. cmd/erasure-sets.go

    -----------------
    failure for all cases.
    
    // Pseudo code for managing `format.json`.
    
    // Generic checks.
    if (no quorum) return error
    if (any disk is corrupt) return error // Always error
    if (jbod inconsistent) return error // Always error.
    if (disks not recognized) // Always error.
    
    // Specific checks.
    if (all disks online)
      if (all disks return format.json)
         if (jbod consistent)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 37.5K bytes
    - Viewed (5)
  7. cmd/format-erasure.go

    	return json.Marshal(formatV3)
    }
    
    // countErrs - count a specific error.
    func countErrs(errs []error, err error) int {
    	i := 0
    	for _, err1 := range errs {
    		if err1 == err || errors.Is(err1, err) {
    			i++
    		}
    	}
    	return i
    }
    
    // Does all errors indicate we need to initialize all disks?.
    func shouldInitErasureDisks(errs []error) bool {
    	return countErrs(errs, errUnformattedDisk) == len(errs)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  8. internal/event/target/postgresql.go

    func (target *PostgreSQLTarget) Close() error {
    	close(target.quitCh)
    	if target.updateStmt != nil {
    		// FIXME: log returned error. ignore time being.
    		_ = target.updateStmt.Close()
    	}
    
    	if target.deleteStmt != nil {
    		// FIXME: log returned error. ignore time being.
    		_ = target.deleteStmt.Close()
    	}
    
    	if target.insertStmt != nil {
    		// FIXME: log returned error. ignore time being.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  9. cmd/erasure-healing.go

    			case errFileNotFound.Error():
    				fallthrough
    			case errVolumeNotFound.Error():
    				fallthrough
    			case errFileVersionNotFound.Error():
    				continue
    			}
    		}
    		return false
    	}
    	return len(errs) > 0
    }
    
    // isAllBucketsNotFound will return true if all the errors are either errFileNotFound
    // or errFileCorrupt
    // A 0 length slice will always return false.
    func isAllBucketsNotFound(errs []error) bool {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  10. internal/rest/client.go

    	online
    	closed
    )
    
    // NetworkError - error type in case of errors related to http/transport
    // for ex. connection refused, connection reset, dns resolution failure etc.
    // All errors returned by storage-rest-server (ex errFileNotFound, errDiskNotFound) are not considered to be network errors.
    type NetworkError struct {
    	Err error
    }
    
    func (n *NetworkError) Error() string {
    	return n.Err.Error()
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14K bytes
    - Viewed (0)
Back to top