Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for NoncurrentVersionExpiration (0.21 sec)

  1. internal/bucket/lifecycle/lifecycle.go

    	for _, rule := range lc.FilterRules(obj) {
    		if rule.NoncurrentVersionExpiration.NewerNoncurrentVersions == 0 {
    			continue
    		}
    		return Event{
    			Action:                  DeleteVersionAction,
    			RuleID:                  rule.ID,
    			NoncurrentDays:          int(rule.NoncurrentVersionExpiration.NoncurrentDays),
    			NewerNoncurrentVersions: rule.NoncurrentVersionExpiration.NewerNoncurrentVersions,
    		}
    	}
    	return Event{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. cmd/data-scanner.go

    	}
    
    	switch lcEvt.Action {
    	// This version doesn't contribute towards sizeS only when it is permanently deleted.
    	// This can happen when,
    	// - ExpireObjectAllVersions flag is enabled
    	// - NoncurrentVersionExpiration is applicable
    	case lifecycle.DeleteVersionAction, lifecycle.DeleteAllVersionsAction, lifecycle.DelMarkerDeleteAllVersionsAction:
    		size = 0
    	case lifecycle.DeleteAction:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
Back to top