Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isServerResolvable (0.23 sec)

  1. cmd/prepare-storage.go

    // https://github.com/minio/minio/issues/5667
    var errErasureV3ThisEmpty = fmt.Errorf("Erasure format version 3 has This field empty")
    
    // isServerResolvable - checks if the endpoint is resolvable
    // by sending a naked HTTP request with liveness checks.
    func isServerResolvable(endpoint Endpoint, timeout time.Duration) error {
    	serverURL := &url.URL{
    		Scheme: endpoint.Scheme,
    		Host:   endpoint.Host,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 11.1K bytes
    - Viewed (1)
  2. cmd/admin-server-info.go

    			}
    			if endpoint.IsLocal {
    				// Only proceed for local endpoints
    				network[nodeName] = string(madmin.ItemOnline)
    				continue
    			}
    			_, present := network[nodeName]
    			if !present {
    				if err := isServerResolvable(endpoint, 5*time.Second); err == nil {
    					network[nodeName] = string(madmin.ItemOnline)
    				} else {
    					if xnet.IsNetworkOrHostDown(err, false) {
    						network[nodeName] = string(madmin.ItemOffline)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (1)
Back to top