Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for timeILM (0.13 sec)

  1. cmd/data-scanner-metric.go

    	atomic.AddUint64(&p.operations[s], 1)
    	if s < scannerMetricLastRealtime {
    		p.latency[s].add(d)
    	}
    }
    
    // timeILM times an ILM action.
    // lifecycle.NoneAction is ignored.
    // Use for s < scannerMetricLastRealtime
    func (p *scannerMetrics) timeILM(a lifecycle.Action) func(versions uint64) {
    	if a == lifecycle.NoneAction || a >= lifecycle.ActionCount {
    		return func(_ uint64) {}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 25 05:15:31 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  2. cmd/data-scanner.go

    	timeILM := globalScannerMetrics.timeILM(lcEvent.Action)
    	if err := expireTransitionedObject(ctx, objLayer, &obj, lcEvent, src); err != nil {
    		if isErrObjectNotFound(err) || isErrVersionNotFound(err) {
    			return false
    		}
    		ilmLogIf(ctx, fmt.Errorf("expireTransitionedObject(%s, %s): %w", obj.Bucket, obj.Name, err))
    		return false
    	}
    	timeILM(1)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle.go

    func transitionObject(ctx context.Context, objectAPI ObjectLayer, oi ObjectInfo, lae lcAuditEvent) (err error) {
    	timeILM := globalScannerMetrics.timeILM(lae.Action)
    	defer func() {
    		if err != nil {
    			return
    		}
    		timeILM(1)
    	}()
    
    	opts := ObjectOptions{
    		Transition: TransitionOptions{
    			Status: lifecycle.TransitionPending,
    			Tier:   lae.StorageClass,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
Back to top