Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for offline (0.22 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. cmd/metrics.go

    		prometheus.NewDesc(
    			prometheus.BuildFQName(minioNamespace, "nodes", "online"),
    			"Total number of MinIO nodes online",
    			nil, nil),
    		prometheus.GaugeValue,
    		float64(nodesUp),
    	)
    	ch <- prometheus.MustNewConstMetric(
    		prometheus.NewDesc(
    			prometheus.BuildFQName(minioNamespace, "nodes", "offline"),
    			"Total number of MinIO nodes offline",
    			nil, nil),
    		prometheus.GaugeValue,
    		float64(nodesDown),
    	)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  3. 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)
  4. cmd/metrics-v3-cluster-health.go

    import "context"
    
    const (
    	healthDrivesOfflineCount = "drives_offline_count"
    	healthDrivesOnlineCount  = "drives_online_count"
    	healthDrivesCount        = "drives_count"
    )
    
    var (
    	healthDrivesOfflineCountMD = NewGaugeMD(healthDrivesOfflineCount,
    		"Count of offline drives in the cluster")
    	healthDrivesOnlineCountMD = NewGaugeMD(healthDrivesOnlineCount,
    		"Count of online drives in the cluster")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. cmd/erasure-object_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Remove one more disk to 'lose' quorum, by taking 2 more drives offline.
    	erasureDisks = xl.getDisks()
    	z.serverPools[0].erasureDisksMu.Lock()
    	xl.getDisks = func() []StorageAPI {
    		erasureDisks[7] = nil
    		erasureDisks[8] = nil
    		return erasureDisks
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  9. 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)
  10. cmd/bootstrap-peer-server.go

    			if retries >= 20 {
    				logger.Info(fmt.Sprintf("Waiting for at least %d remote servers with valid configuration to be online", len(clnts)/2))
    				if len(offlineEndpoints) > 0 {
    					logger.Info(fmt.Sprintf("Following servers are currently offline or unreachable %s", offlineEndpoints))
    				}
    				if len(incorrectConfigs) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
Back to top