Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for offline (0.16 sec)

  1. cmd/bucket-targets.go

    					var lastOnline time.Time
    					var offline time.Duration
    					//	var deploymentID string
    					sys.hMutex.RLock()
    					prev, ok := sys.hc[result.Endpoint.Host]
    					sys.hMutex.RUnlock()
    					if ok {
    						if prev.Online != result.Online || !result.Online {
    							if !prev.lastHCAt.IsZero() {
    								offline = time.Since(prev.lastHCAt) + prev.offlineDuration
    							} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  2. internal/rest/client.go

    	// If not set the client will not keep track of health.
    	// Calling this returns true or false if the target
    	// is online or offline.
    	HealthCheckFn func() bool
    
    	// HealthCheckRetryUnit will be used to calculate the exponential
    	// backoff when trying to reconnect to an offline node
    	HealthCheckReconnectUnit time.Duration
    
    	// HealthCheckTimeout determines timeout for each call.
    	HealthCheckTimeout time.Duration
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    			tags["parity"] = er.defaultParityCount
    		}
    
    		// count the number of offline disks
    		offline := 0
    		for i := 0; i < max(len(errs), len(dataErrs)); i++ {
    			if i < len(errs) && errors.Is(errs[i], errDiskNotFound) || i < len(dataErrs) && errors.Is(dataErrs[i], errDiskNotFound) {
    				offline++
    			}
    		}
    		if offline > 0 {
    			tags["offline"] = offline
    		}
    
    		_, file, line, cok := runtime.Caller(1)
    		if cok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  4. cmd/metrics-v2.go

    			linkOnline := MetricV2{
    				Description: getClusterRepLinkOnlineMD(),
    				VariableLabels: map[string]string{
    					"endpoint": ep,
    				},
    			}
    			online := Offline
    			if health.Online {
    				online = Online
    			}
    			linkOnline.Value = float64(online)
    			ml = append(ml, linkOnline)
    			offlineDuration := MetricV2{
    				Description: getClusterRepLinkCurrOfflineDurationMD(),
    				VariableLabels: map[string]string{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  5. cmd/xl-storage-disk-id-check.go

    				"node(%s): Read/Write/Delete successful, bringing drive %s online", globalLocalNodeName, p.storage.String())
    			p.health.status.Store(diskHealthOK)
    			p.health.waiting.Add(-1)
    			return
    		}
    	}
    }
    
    // monitorDiskStatus should be called once when a drive has been marked offline.
    // Once the disk has been deemed ok, it will return to online status.
    func (p *xlStorageDiskIDCheck) monitorDiskWritable(ctx context.Context) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  6. cmd/mrf.go

    }
    
    // mrfState sncapsulates all the information
    // related to the global background MRF.
    type mrfState struct {
    	opCh chan partialOperation
    }
    
    // Add a partial S3 operation (put/delete) when one or more disks are offline.
    func (m *mrfState) addPartialOp(op partialOperation) {
    	if m == nil {
    		return
    	}
    
    	select {
    	case m.opCh <- op:
    	default:
    	}
    }
    
    var healSleeper = newDynamicSleeper(5, time.Second, false)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  7. docs/metrics/prometheus/list.md

    | `minio_cluster_replication_link_online`                    | Reports whether the replication link is online (1) or offline (0).                                       |
    | `minio_cluster_replication_link_offline_duration_seconds`  | Total duration of replication link being offline in seconds since last offline event                     |
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 43.4K bytes
    - Viewed (2)
  8. docs/metrics/v3.md

    | `minio_cluster_health_drives_offline_count`        | `gauge` | Count of offline drives in the cluster         |        |
    | `minio_cluster_health_drives_online_count`         | `gauge` | Count of online drives in the cluster          |        |
    | `minio_cluster_health_drives_count`                | `gauge` | Count of all drives in the cluster             |        |
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 28.5K bytes
    - Viewed (0)
  9. cmd/storage-rest-client.go

    		return true
    	}
    	// More corner cases suitable for storage REST API
    	switch {
    	// A peer node can be in shut down phase and proactively
    	// return 503 server closed error, consider it as an offline node
    	case strings.Contains(err.Error(), http.ErrServerClosed.Error()):
    		return true
    	// Corner case, the server closed the connection with a keep-alive timeout
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  10. cmd/object-api-errors.go

    	Err       error
    	Bucket    string
    	Endpoint  string
    	AccessKey string
    }
    
    func (e RemoteTargetConnectionErr) Error() string {
    	if e.Bucket != "" {
    		return fmt.Sprintf("Remote service endpoint offline, target bucket: %s or remote service credentials: %s invalid \n\t%s", e.Bucket, e.AccessKey, e.Err.Error())
    	}
    	return fmt.Sprintf("Remote service endpoint %s not available\n\t%s", e.Endpoint, e.Err.Error())
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
Back to top