Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 232 for Unavailable (0.23 sec)

  1. docs/metrics/healthcheck/README.md

      failureThreshold: 3
    ```
    
    ## Cluster probe
    
    ### Cluster-writeable probe
    
    The reply is '200 OK' if cluster has write quorum if not it returns '503 Service Unavailable'.
    
    ```
    curl http://minio1:9001/minio/health/cluster
    HTTP/1.1 503 Service Unavailable
    Accept-Ranges: bytes
    Content-Length: 0
    Server: MinIO
    Vary: Origin
    X-Amz-Bucket-Region: us-east-1
    X-Minio-Write-Quorum: 3
    X-Amz-Request-Id: 16239D6AB80EBECF
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jul 06 16:18:38 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  2. internal/jwt/parser.go

    	}
    
    	for _, signer := range hmacSigners {
    		if string(alg) == signer.Name {
    			return signer, nil
    		}
    	}
    
    	return nil, jwtgo.NewValidationError(fmt.Sprintf("signing method (%s) is unavailable.", string(alg)),
    		jwtgo.ValidationErrorUnverifiable)
    }
    
    // ParseWithClaims - parse the token string, valid methods.
    func ParseWithClaims(tokenStr string, claims *MapClaims, fn func(*MapClaims) ([]byte, error)) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K bytes
    - Viewed (0)
  3. internal/http/server.go

    			listenErrCallback(srv.Addrs[i], listenErrs[i])
    		} else {
    			interfaceFound = true
    		}
    	}
    	if !interfaceFound {
    		return nil, errors.New("no available interface found")
    	}
    
    	// Wrap given handler to do additional
    	// * return 503 (service unavailable) if the server in shutdown.
    	wrappedHandler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		// If server is in shutdown.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 09 21:25:16 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  4. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrBusy: {
    		Code:           "ServerBusy",
    		Description:    "The service is unavailable. Please retry.",
    		HTTPStatusCode: http.StatusServiceUnavailable,
    	},
    	ErrUnauthorizedAccess: {
    		Code:           "UnauthorizedAccess",
    		Description:    "You are not authorized to perform this operation",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  5. cmd/healthcheck-handler.go

    	"github.com/minio/minio/internal/kms"
    )
    
    const unavailable = "offline"
    
    // ClusterCheckHandler returns if the server is ready for requests.
    func ClusterCheckHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "ClusterCheckHandler")
    
    	objLayer := newObjectLayerFn()
    	if objLayer == nil {
    		w.Header().Set(xhttp.MinIOServerStatus, unavailable)
    		writeResponse(w, http.StatusServiceUnavailable, nil, mimeNone)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 03 21:13:20 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  6. cmd/format-erasure.go

    						logger.Info("   - Drive: %s", disk.String())
    					}
    				})
    				logger.Info(color.Yellow("WARNING:")+" Host %v has more than %v drives of set. "+
    					"A host failure will result in data becoming unavailable.", host, wantAtMost)
    			}
    		}
    	}
    
    	// Save formats `format.json` across all disks.
    	if err := saveFormatErasureAll(ctx, storageDisks, formats); err != nil {
    		return nil, err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  7. cmd/metrics-v3-system-memory.go

    )
    
    const (
    	memTotal     = "total"
    	memUsed      = "used"
    	memFree      = "free"
    	memBuffers   = "buffers"
    	memCache     = "cache"
    	memUsedPerc  = "used_perc"
    	memShared    = "shared"
    	memAvailable = "available"
    )
    
    var (
    	memTotalMD     = NewGaugeMD(memTotal, "Total memory on the node")
    	memUsedMD      = NewGaugeMD(memUsed, "Used memory on the node")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:10:25 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  8. docs/throttle/README.md

    ```
    
    > NOTE: A zero value of `requests_max` means MinIO will automatically calculate requests based on available RAM size and that is the default behavior.
    
    ### Configuring connection (wait) deadline
    
    This value works in conjunction with max connection setting, setting this value allows for long waiting requests to quickly time out when there is no slot available to perform the request.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Feb 12 00:51:25 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool.go

    type poolAvailableSpace struct {
    	Index      int
    	Available  uint64 // in bytes
    	MaxUsedPct int    // Used disk percentage of most filled disk, rounded down.
    }
    
    // TotalAvailable - total available space
    func (p serverPoolsAvailableSpace) TotalAvailable() uint64 {
    	total := uint64(0)
    	for _, z := range p {
    		total += z.Available
    	}
    	return total
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  10. internal/config/lambda/event/targetlist.go

    	return len(list.targets) == 0
    }
    
    // List - returns available target IDs.
    func (list *TargetList) List(region string) []ARN {
    	list.RLock()
    	defer list.RUnlock()
    
    	keys := make([]ARN, 0, len(list.targets))
    	for k := range list.targets {
    		keys = append(keys, k.ToARN(region))
    	}
    
    	return keys
    }
    
    // TargetMap - returns available targets.
    func (list *TargetList) TargetMap() map[TargetID]Target {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 4.3K bytes
    - Viewed (0)
Back to top