Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for NoncurrentVersionExpiration (0.78 sec)

  1. docs/bucket/lifecycle/README.md

    ```
    {
        "Rules": [
            {
                "ID": "Removing all old versions",
                "Filter": {
                    "Prefix": "users-uploads/"
                },
                "NoncurrentVersionExpiration": {
                    "NoncurrentDays": 365
                },
                "Status": "Enabled"
            }
        ]
    }
    ```
    
    This JSON rule is equivalent to the following MinIO Client command:
    ```
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. cmd/bucket-lifecycle-handlers.go

    			// original rule had expiry that is no longer in the new config,
    			// or rule is present but missing expiration flags
    			if (!rl.Expiration.IsNull() || !rl.NoncurrentVersionExpiration.IsNull()) &&
    				(!ok || (updRule.Expiration.IsNull() && updRule.NoncurrentVersionExpiration.IsNull())) {
    				expiryRuleRemoved = true
    			}
    		}
    	}
    
    	if bucketLifecycle.HasExpiry() || expiryRuleRemoved {
    		currtime := time.Now()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jan 20 14:49:07 UTC 2025
    - 7K 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. cmd/bucket-metadata-sys.go

    				return updatedAt, err
    			}
    			// find a single expiry rule set the flag
    			for _, rl := range lcCfg.Rules {
    				if !rl.Expiration.IsNull() || !rl.NoncurrentVersionExpiration.IsNull() {
    					expiryRuleRemoved = true
    					break
    				}
    			}
    		}
    
    		// Form empty ILM details with `ExpiryUpdatedAt` field and save
    		var cfgData []byte
    		if expiryRuleRemoved {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  5. docs/bucket/replication/setup_ilm_expiry_replication.sh

    fi
    
    ## Check replication of rules content
    expDays=$(./mc ilm rule list siteb/bucket --json | jq '.config.Rules[0].Expiration.Days')
    noncurrentDays=$(./mc ilm rule list siteb/bucket --json | jq '.config.Rules[0].NoncurrentVersionExpiration.NoncurrentDays')
    if [ $expDays -ne 3 ]; then
    	echo "BUG: Incorrect expiry days '${expDays}' set for 'siteb'"
    	exit 1
    fi
    if [ $noncurrentDays -ne 2 ]; then
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. cmd/site-replication.go

    				if rl.Transition.IsNull() && rl.NoncurrentVersionTransition.IsNull() {
    					delete(rMap, id)
    				} else {
    					rl.Expiration = lifecycle.Expiration{}
    					rl.NoncurrentVersionExpiration = lifecycle.NoncurrentVersionExpiration{}
    					rMap[id] = rl
    				}
    			}
    		}
    	}
    
    	// append now
    	for id, rl := range newRMap {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 184.7K bytes
    - Viewed (0)
Back to top