Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for NewerNoncurrentVersions (1.09 sec)

  1. 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",
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 55.5K bytes
    - Viewed (0)
  2. docs/bucket/lifecycle/README.md

    ```
    
    ### 3.2 Automatic removal of noncurrent versions keeping only most recent ones after noncurrent days
    
    It is possible to configure automatic removal of older noncurrent versions keeping only the most recent `N` using `NewerNoncurrentVersions`.
    
    e.g, To remove noncurrent versions of all objects keeping the most recent 5 noncurrent versions under the prefix `user-uploads/` 30 days after they become noncurrent ,
    
    ```
    {
        "Rules": [
            {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. cmd/data-scanner_test.go

    	lcXML := `
    <LifecycleConfiguration>
           <Rule>
                   <ID>max-versions</ID>
                   <Status>Enabled</Status>
                   <NoncurrentVersionExpiration>
                           <NewerNoncurrentVersions>2</NewerNoncurrentVersions>
                   </NoncurrentVersionExpiration>
           </Rule>
           <Rule>
                   <ID>delete-all-versions</ID>
                   <Status>Enabled</Status>
                   <Filter>
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. 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
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33.7K bytes
    - Viewed (0)
Back to top