Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for elapsed (0.2 sec)

  1. cmd/prepare-storage.go

    			logger.Info("Waiting for a minimum of %d drives to come online (elapsed %s)\n",
    				len(endpoints)/2, getElapsedTime())
    		case errErasureWriteQuorum:
    			// no quorum available continue to wait for minimum number of servers.
    			logger.Info("Waiting for a minimum of %d drives to come online (elapsed %s)\n",
    				(len(endpoints)/2)+1, getElapsedTime())
    		case errErasureV3ThisEmpty:
    			// need to wait for this error to be healed, so continue.
    		default:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  2. cmd/endpoint.go

    				)
    
    				if orchestrated && hostResolveToLocalhost(endpoints[i]) {
    					// time elapsed
    					timeElapsed := time.Since(startTime)
    					// log error only if more than a second has elapsed
    					if timeElapsed > time.Second {
    						reqInfo.AppendTags("elapsedTime",
    							humanize.RelTime(startTime,
    								startTime.Add(timeElapsed),
    								"elapsed",
    								"",
    							))
    						ctx := logger.SetReqInfo(GlobalContext,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  3. cmd/admin-handlers_test.go

    		// printEntries(exp)
    		// printEntries(got)
    		for i, e := range exp {
    			if !e.Timestamp.Equal(got[i].Timestamp) {
    				return i, false
    			}
    			// Skip checking elapsed since it's time sensitive.
    			// if e.Elapsed != got[i].Elapsed {
    			// 	return false
    			// }
    			if e.Resource != got[i].Resource {
    				return i, false
    			}
    			if e.Type != got[i].Type {
    				return i, false
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  4. cmd/admin-heal-ops.go

    	}
    }
    
    func (ahs *allHealState) periodicHealSeqsClean(ctx context.Context) {
    	// Launch clean-up routine to remove this heal sequence (after
    	// it ends) from the global state after timeout has elapsed.
    	periodicTimer := time.NewTimer(time.Minute * 5)
    	defer periodicTimer.Stop()
    
    	for {
    		select {
    		case <-periodicTimer.C:
    			now := UTCNow()
    			ahs.Lock()
    			for path, h := range ahs.healSeqMap {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  5. cmd/metrics.go

    		dur = time.Since(bgSeq.lastHealActivity)
    	}
    
    	ch <- prometheus.MustNewConstMetric(
    		prometheus.NewDesc(
    			prometheus.BuildFQName(healMetricsNamespace, "time", "since_last_activity"),
    			"Time elapsed (in nano seconds) since last self healing activity. This is set to -1 until initial self heal activity",
    			nil, nil),
    		prometheus.GaugeValue,
    		float64(dur),
    	)
    	for k, v := range bgSeq.getScannedItemsMap() {
    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)
  6. cmd/metrics-v2.go

    	}
    }
    
    func getUsageLastScanActivityMD() MetricDescription {
    	return MetricDescription{
    		Namespace: minioMetricNamespace,
    		Subsystem: usageSubsystem,
    		Name:      lastActivityTime,
    		Help:      "Time elapsed (in nano seconds) since last scan activity.",
    		Type:      gaugeMetric,
    	}
    }
    
    func getBucketUsageQuotaTotalBytesMD() MetricDescription {
    	return MetricDescription{
    		Namespace: bucketMetricNamespace,
    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. internal/dsync/drwmutex.go

    // lockBlocking will try to acquire either a read or a write lock
    //
    // The function will loop using a built-in timing randomized back-off
    // algorithm until either the lock is acquired successfully or more
    // time has elapsed than the timeout value.
    func (dm *DRWMutex) lockBlocking(ctx context.Context, lockLossCallback func(), id, source string, isReadLock bool, opts Options) (locked bool) {
    	restClnts, _ := dm.clnt.GetLockers()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  8. cmd/batch-handlers.go

    		if jobType == string(req.Type()) {
    			listResult.Jobs = append(listResult.Jobs, madmin.BatchJobResult{
    				ID:      req.ID,
    				Type:    req.Type(),
    				Started: req.Started,
    				User:    req.User,
    				Elapsed: time.Since(req.Started),
    			})
    		}
    	}
    
    	batchLogIf(ctx, json.NewEncoder(w).Encode(&listResult))
    }
    
    var errNoSuchJob = errors.New("no such job")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    	writeSuccessResponseJSON(w, dataUsageInfoJSON)
    }
    
    func lriToLockEntry(l lockRequesterInfo, now time.Time, resource, server string) *madmin.LockEntry {
    	entry := &madmin.LockEntry{
    		Timestamp:  l.Timestamp,
    		Elapsed:    now.Sub(l.Timestamp),
    		Resource:   resource,
    		ServerList: []string{server},
    		Source:     l.Source,
    		Owner:      l.Owner,
    		ID:         l.UID,
    		Quorum:     l.Quorum,
    	}
    	if l.Writer {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
Back to top