Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 61 for lastUpdate (0.07 sec)

  1. 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)
  2. cmd/batch-handlers_gen.go

    			}
    		case "st":
    			z.StartTime, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "StartTime")
    				return
    			}
    		case "lu":
    			z.LastUpdate, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "LastUpdate")
    				return
    			}
    		case "ra":
    			z.RetryAttempts, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "RetryAttempts")
    				return
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. 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
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. 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)
  5. 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":
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Nov 08 18:26:08 UTC 2021
    - 10K bytes
    - Viewed (0)
  6. cmd/metrics-v3-scanner.go

    	dui, err := c.dataUsageInfo.Get()
    	if err != nil {
    		metricsLogIf(ctx, err)
    	} else {
    		m.Set(scannerLastActivitySeconds, time.Since(dui.LastUpdate).Seconds())
    	}
    
    	return nil
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 24 19:29:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. cmd/background-newdisks-heal-ops_gen.go

    				return
    			}
    		case "Started":
    			z.Started, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "Started")
    				return
    			}
    		case "LastUpdate":
    			z.LastUpdate, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "LastUpdate")
    				return
    			}
    		case "ObjectsTotalCount":
    			z.ObjectsTotalCount, err = dc.ReadUint64()
    			if err != nil {
    				err = msgp.WrapError(err, "ObjectsTotalCount")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 20 15:42:49 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  8. cmd/metacache-manager.go

    				exit = true
    			}
    			m.mu.RLock()
    			for _, v := range m.buckets {
    				if !exit {
    					v.cleanup()
    				}
    			}
    			m.mu.RUnlock()
    			m.mu.Lock()
    			for k, v := range m.trash {
    				if time.Since(v.lastUpdate) > metacacheMaxRunningAge {
    					v.delete(context.Background())
    					delete(m.trash, k)
    				}
    			}
    			m.mu.Unlock()
    		}
    	}()
    }
    
    // updateCacheEntry will update non-transient state.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 5.2K 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