Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for LastUpdate (0.15 sec)

  1. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. cmd/data-usage-cache_gen.go

    			}
    		case "NextCycle":
    			z.NextCycle, err = dc.ReadUint32()
    			if err != nil {
    				err = msgp.WrapError(err, "NextCycle")
    				return
    			}
    		case "LastUpdate":
    			z.LastUpdate, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "LastUpdate")
    				return
    			}
    		case "SkipHealing":
    			z.SkipHealing, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "SkipHealing")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 75K bytes
    - Viewed (0)
  3. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  4. cmd/bucket-metadata.go

    	LifecycleConfigUpdatedAt         time.Time
    	NotificationConfigUpdatedAt      time.Time
    	BucketTargetsConfigUpdatedAt     time.Time
    	BucketTargetsConfigMetaUpdatedAt time.Time
    	// Add a new UpdatedAt field and update lastUpdate function
    
    	// Unexported fields. Must be updated atomically.
    	policyConfig           *policy.BucketPolicy
    	notificationConfig     *event.Config
    	lifecycleConfig        *lifecycle.Lifecycle
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  5. cmd/data-scanner.go

    func (f *folderScanner) sendUpdate() {
    	// Send at most an update every minute.
    	if f.updates == nil || time.Since(f.lastUpdate) < time.Minute {
    		return
    	}
    	if flat := f.updateCache.sizeRecursive(f.newCache.Info.Name); flat != nil {
    		select {
    		case f.updates <- flat.clone():
    		default:
    		}
    		f.lastUpdate = time.Now()
    	}
    }
    
    // scanFolder will scan the provided folder.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool.go

    			for _, info := range results {
    				if info.Info.LastUpdate.IsZero() {
    					// Not filled yet.
    					return
    				}
    				allMerged.merge(info)
    			}
    			if allMerged.root() != nil && allMerged.Info.LastUpdate.After(lastUpdate) {
    				updates <- allMerged.dui(allMerged.Info.Name, allBuckets)
    				lastUpdate = allMerged.Info.LastUpdate
    			}
    		}
    		for {
    			select {
    			case <-ctx.Done():
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  7. cmd/metrics.go

    		return
    	}
    
    	dataUsageInfo, err := loadDataUsageFromBackend(GlobalContext, objLayer)
    	if err != nil {
    		return
    	}
    	// data usage has not captured any data yet.
    	if dataUsageInfo.LastUpdate.IsZero() {
    		return
    	}
    
    	for bucket, usageInfo := range dataUsageInfo.BucketsUsage {
    		stat := globalReplicationStats.Load().getLatestReplicationStats(bucket)
    		// Total space used by bucket
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. cmd/bucket-replication.go

    				for _, st := range brs.TargetsMap {
    					if st.LastUpdate.Equal(timeSentinel) {
    						updt = true
    						break
    					}
    				}
    				// Save the replication status if a new stats update is found and not saved in the backend yet
    				if brs.LastUpdate.After(lastResyncStatusSave[bucket]) {
    					updt = true
    				}
    				if updt {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  9. cmd/bucket-replication-handlers.go

    			continue
    		}
    		rinfo.Targets = append(rinfo.Targets, ResyncTarget{
    			Arn:             tarn,
    			ResetID:         st.ResyncID,
    			StartTime:       st.StartTime,
    			EndTime:         st.LastUpdate,
    			ResyncStatus:    st.ResyncStatus.String(),
    			ReplicatedSize:  st.ReplicatedSize,
    			ReplicatedCount: st.ReplicatedCount,
    			FailedSize:      st.FailedSize,
    			FailedCount:     st.FailedCount,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  10. cmd/metrics-v2.go

    			metricsLogIf(ctx, err)
    			return
    		}
    
    		// data usage has not captured any data yet.
    		if dataUsageInfo.LastUpdate.IsZero() {
    			return
    		}
    
    		metrics = append(metrics, MetricV2{
    			Description: getUsageLastScanActivityMD(),
    			Value:       float64(time.Since(dataUsageInfo.LastUpdate)),
    		})
    
    		var (
    			clusterSize               uint64
    			clusterBuckets            uint64
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
Back to top