Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 74 for lastUpdate (0.06 seconds)

  1. cmd/metacache_test.go

    		recursive:    false,
    		status:       scanStateSuccess,
    		fileNotFound: false,
    		error:        "",
    		started:      metaCacheTestsetTimestamp,
    		ended:        metaCacheTestsetTimestamp.Add(time.Minute),
    		lastUpdate:   metaCacheTestsetTimestamp.Add(time.Minute),
    		lastHandout:  metaCacheTestsetTimestamp,
    		dataVersion:  metacacheStreamVersion,
    	},
    	1: {
    		id:           "case-2-recursive",
    		bucket:       "bucket",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Sep 08 18:06:45 GMT 2021
    - 6.8K bytes
    - Click Count (0)
  2. cmd/site-replication.go

    	}
    	var (
    		latestID, latestPeerName string
    		lastUpdate               time.Time
    		latestPeers              map[string]madmin.PeerInfo
    	)
    
    	for dID, ps := range info.PeerStates {
    		if lastUpdate.IsZero() {
    			lastUpdate = ps.UpdatedAt
    			latestID = dID
    			latestPeers = ps.Peers
    		}
    		if ps.UpdatedAt.After(lastUpdate) {
    			lastUpdate = ps.UpdatedAt
    			latestID = dID
    			latestPeers = ps.Peers
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 184.8K bytes
    - Click Count (1)
  3. cmd/site-replication-utils.go

    	if !ok {
    		return nil
    	}
    	rs, ok := sm.resyncStatus[rst.resyncID]
    	if !ok {
    		return nil
    	}
    	m := madmin.SiteResyncMetrics{
    		CollectedAt:     rs.LastUpdate,
    		StartTime:       rs.StartTime,
    		LastUpdate:      rs.LastUpdate,
    		ResyncStatus:    rs.Status.String(),
    		ResyncID:        rst.resyncID,
    		DeplID:          rs.DeplID,
    		ReplicatedSize:  rs.ReplicatedSize,
    		ReplicatedCount: rs.ReplicatedCount,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  4. cmd/erasure.go

    							Entry:  update,
    						}:
    						}
    					}
    				}(cache.Info.Name)
    				// Calc usage
    				before := cache.Info.LastUpdate
    				var err error
    				cache, err = disk.NSScanner(ctx, cache, updates, healScanMode, nil)
    				if err != nil {
    					if !cache.Info.LastUpdate.IsZero() && cache.Info.LastUpdate.After(before) {
    						scannerLogIf(ctx, cache.save(ctx, er, cacheName))
    					} else {
    						scannerLogIf(ctx, err)
    					}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  5. cmd/metrics-v3-cluster-usage.go

    	if err != nil {
    		metricsLogIf(ctx, err)
    		return nil
    	}
    
    	// data usage has not been captured yet.
    	if dataUsageInfo.LastUpdate.IsZero() {
    		return nil
    	}
    
    	m.Set(usageSinceLastUpdateSeconds, float64(time.Since(dataUsageInfo.LastUpdate)))
    
    	for bucket, usage := range dataUsageInfo.BucketsUsage {
    		quota, err := globalBucketQuotaSys.Get(ctx, bucket)
    		if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  6. cmd/data-usage-utils.go

    	TotalUsedCapacity uint64 `json:"usedCapacity,omitempty"`
    	TotalFreeCapacity uint64 `json:"freeCapacity,omitempty"`
    
    	// LastUpdate is the timestamp of when the data usage info was last updated.
    	// This does not indicate a full scan.
    	LastUpdate time.Time `json:"lastUpdate"`
    
    	// Objects total count across all buckets
    	ObjectsTotalCount uint64 `json:"objectsCount"`
    
    	// Versions total count across all buckets
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  7. cmd/metacache.go

    // The updates are conditional so multiple callers can update with different states.
    func (m *metacache) update(update metacache) {
    	now := UTCNow()
    	m.lastUpdate = now
    
    	if update.lastHandout.After(m.lastHandout) {
    		m.lastHandout = update.lastUpdate
    		if m.lastHandout.After(now) {
    			m.lastHandout = now
    		}
    	}
    	if m.status == scanStateStarted && update.status == scanStateSuccess {
    		m.ended = now
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jul 12 16:23:16 GMT 2024
    - 6K bytes
    - Click Count (0)
  8. cmd/data-usage_test.go

    	var got dataUsageCache
    	err = got.deserialize(&buf)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if got.Info.LastUpdate.IsZero() {
    		t.Error("lastupdate not set")
    	}
    
    	if !want.Info.LastUpdate.Equal(got.Info.LastUpdate) {
    		t.Fatalf("deserialize LastUpdate mismatch\nwant: %+v\ngot:  %+v", want, got)
    	}
    	if len(want.Cache) != len(got.Cache) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  9. cmd/metacache_gen.go

    				return
    			}
    		case "lh":
    			z.lastHandout, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "lastHandout")
    				return
    			}
    		case "u":
    			z.lastUpdate, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "lastUpdate")
    				return
    			}
    		case "b":
    			z.bucket, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "bucket")
    				return
    			}
    		case "flt":
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 10K bytes
    - Click Count (0)
  10. cmd/erasure-server-pool-decom.go

    	LastUpdate   time.Time             `json:"lastUpdate" msg:"lu"`
    	Decommission *PoolDecommissionInfo `json:"decommissionInfo,omitempty" msg:"dec"`
    }
    
    // Clone returns a copy of PoolStatus
    func (ps PoolStatus) Clone() PoolStatus {
    	return PoolStatus{
    		ID:           ps.ID,
    		CmdLine:      ps.CmdLine,
    		LastUpdate:   ps.LastUpdate,
    		Decommission: ps.Decommission.Clone(),
    	}
    }
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 42.2K bytes
    - Click Count (1)
Back to Top