- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for NewerNoncurrentVersions (0.23 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/bucket/lifecycle/evaluator.go
func (e *Evaluator) eval(objs []ObjectOpts, now time.Time) []Event { events := make([]Event, len(objs)) var newerNoncurrentVersions int loop: for i, obj := range objs { event := e.policy.eval(obj, now, newerNoncurrentVersions) switch event.Action { case DeleteAllVersionsAction, DelMarkerDeleteAllVersionsAction: // Skip if bucket has object locking enabled; To prevent the
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Apr 08 15:41:24 GMT 2025 - 4.6K bytes - Click Count (0) -
internal/bucket/lifecycle/lifecycle.go
if rule.NoncurrentVersionExpiration.NewerNoncurrentVersions == 0 { continue } return Event{ Action: DeleteVersionAction, RuleID: rule.ID, NoncurrentDays: int(rule.NoncurrentVersionExpiration.NoncurrentDays), NewerNoncurrentVersions: rule.NoncurrentVersionExpiration.NewerNoncurrentVersions, } } return Event{}Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Apr 03 06:45:06 GMT 2025 - 18.2K bytes - Click Count (0) -
internal/bucket/lifecycle/lifecycle_test.go
versionID: uuid.New().String(), }, // Lifecycle rules with NewerNoncurrentVersions specified must return NoneAction. { inputConfig: `<LifecycleConfiguration><Rule><Filter><Prefix>foodir/</Prefix></Filter><Status>Enabled</Status><NoncurrentVersionExpiration><NewerNoncurrentVersions>5</NewerNoncurrentVersions></NoncurrentVersionExpiration></Rule></LifecycleConfiguration>`, objectName: "foodir/fooobject",
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 55.5K bytes - Click Count (0) -
cmd/bucket-lifecycle.go
es.workers.Store(&workers) } // Worker handles 4 types of expiration tasks. // 1. Expiry of objects, includes regular and transitioned objects // 2. Expiry of noncurrent versions due to NewerNoncurrentVersions // 3. Expiry of free-versions, for remote objects of transitioned object which have been expired since. // 4. Expiry of remote objects corresponding to objects in a // non-versioned/version suspended buckets
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 33.7K bytes - Click Count (0)