Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for applyExpiryRule (0.09 sec)

  1. cmd/data-scanner.go

    		Host:       globalLocalNodeName,
    	})
    
    	return true
    }
    
    // Apply object, object version, restored object or restored object version action on the given object
    func applyExpiryRule(event lifecycle.Event, src lcEventSrc, obj ObjectInfo) bool {
    	globalExpiryState.enqueueByDays(obj, event, src)
    	return true
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    				return
    			}
    			event := evalActionFromLifecycle(ctx, *lc, rcfg, replcfg, objInfo)
    			if event.Action.Delete() {
    				// apply whatever the expiry rule is.
    				applyExpiryRule(event, lcEventSrc_s3GetObject, objInfo)
    				if !event.Action.DeleteRestored() {
    					// If the ILM action is not on restored object return error.
    					writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrNoSuchKey), r.URL)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top