Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for lastUpdate (0.04 sec)

  1. 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
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 184.7K bytes
    - Viewed (0)
  2. 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)
    					}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  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,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. 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) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  5. cmd/background-newdisks-heal-ops.go

    		PoolIndex:         h.PoolIndex,
    		SetIndex:          h.SetIndex,
    		DiskIndex:         h.DiskIndex,
    		Finished:          h.Finished,
    		Path:              h.Path,
    		Started:           h.Started.UTC(),
    		LastUpdate:        h.LastUpdate.UTC(),
    		ObjectsTotalCount: h.ObjectsTotalCount,
    		ObjectsTotalSize:  h.ObjectsTotalSize,
    		ItemsHealed:       h.ItemsHealed,
    		ItemsSkipped:      h.ItemsSkipped,
    		ItemsFailed:       h.ItemsFailed,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  6. cmd/batch-handlers.go

    	Version       int       `json:"-" msg:"v"`
    	JobID         string    `json:"jobID" msg:"jid"`
    	JobType       string    `json:"jobType" msg:"jt"`
    	StartTime     time.Time `json:"startTime" msg:"st"`
    	LastUpdate    time.Time `json:"lastUpdate" msg:"lu"`
    	RetryAttempts int       `json:"retryAttempts" msg:"ra"`
    	Attempts      int       `json:"attempts" msg:"at"`
    
    	Complete bool `json:"complete" msg:"cmp"`
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  7. 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(),
    	}
    }
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 42.1K bytes
    - Viewed (1)
  8. cmd/erasure-server-pool-decom_test.go

    	nmeta1.Pools = append(nmeta1.Pools, meta.Pools...)
    	for i, pool := range nmeta1.Pools {
    		if i == 0 {
    			nmeta1.Pools[i] = PoolStatus{
    				CmdLine:    pool.CmdLine,
    				ID:         i,
    				LastUpdate: UTCNow(),
    				Decommission: &PoolDecommissionInfo{
    					Complete: true,
    				},
    			}
    		}
    	}
    
    	var nmeta2 poolMeta
    	nmeta2.Version = poolMetaVersion
    	nmeta2.Pools = append(nmeta2.Pools, meta.Pools...)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. cmd/bucket-replication-utils.go

    	TargetsMap map[string]TargetReplicationResyncStatus `json:"resyncMap,omitempty" msg:"brs"`
    	ID         int                                      `json:"id" msg:"id"`
    	LastUpdate time.Time                                `json:"lastUpdate" msg:"lu"`
    }
    
    func (rs *BucketReplicationResyncStatus) cloneTgtStats() (m map[string]TargetReplicationResyncStatus) {
    	m = make(map[string]TargetReplicationResyncStatus)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 26K bytes
    - Viewed (0)
  10. cmd/bucket-metadata-sys.go

    					wait() // wait to proceed to next entry.
    					continue
    				}
    
    				sys.Lock()
    				// Update if the bucket metadata in the memory is older than on-disk one
    				if lu := sys.metadataMap[bucket].lastUpdate(); lu.Before(meta.lastUpdate()) {
    					updated = true
    					sys.metadataMap[bucket] = meta
    				}
    				sys.Unlock()
    
    				if updated {
    					globalEventNotifier.set(bucket, meta)
    					globalBucketTargetSys.set(bucket, meta)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.4K bytes
    - Viewed (0)
Back to top