Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 21 for ilm (0.02 seconds)

  1. cmd/data-scanner-metric.go

    			lm := p.lastMinuteActions(i)
    			if lm.N > 0 {
    				m.LastMinute.ILM[i.String()] = madmin.TimedAction{Count: uint64(lm.N), AccTime: uint64(lm.Total)}
    			}
    		}
    		if len(m.LastMinute.ILM) == 0 {
    			m.LastMinute.ILM = nil
    		}
    	}
    	return m
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 01 06:06:01 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  2. cmd/data-scanner_test.go

    	if err != nil {
    		t.Fatalf("Failed to parse deleteAllILM test ILM policy %v", err)
    	}
    	delMarkerLc, err := lifecycle.ParseLifecycleConfig(strings.NewReader(delMarkerILM))
    	if err != nil {
    		t.Fatalf("Failed to parse delMarkerILM test ILM policy %v", err)
    	}
    	tests := []struct {
    		ilm       lifecycle.Lifecycle
    		retention *objectlock.Retention
    		obj       ObjectInfo
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12K bytes
    - Click Count (0)
  3. cmd/config-current.go

    		} else {
    			globalBrowserConfig.Update(browserCfg)
    		}
    	case config.ILMSubSys:
    		ilmCfg, err := ilm.LookupConfig(s[config.ILMSubSys][config.Default])
    		if err != nil {
    			errs = append(errs, fmt.Errorf("Unable to apply ilm config: %w", err))
    		} else {
    			if globalTransitionState != nil {
    				globalTransitionState.UpdateWorkers(ilmCfg.TransitionWorkers)
    			}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 28.5K bytes
    - Click Count (0)
  4. cmd/bucket-lifecycle.go

    	event   lifecycle.Event
    	src     lcEventSrc
    }
    
    // expiryStats records metrics related to ILM expiry activities
    type expiryStats struct {
    	missedExpiryTasks      atomic.Int64
    	missedFreeVersTasks    atomic.Int64
    	missedTierJournalTasks atomic.Int64
    	workers                atomic.Int32
    }
    
    // MissedTasks returns the number of ILM expiry tasks that were missed since
    // there were no available workers.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  5. cmd/data-scanner.go

    	d.cycle = make(chan struct{})
    	return nil
    }
    
    const (
    	// ILMExpiry - audit trail for ILM expiry
    	ILMExpiry = "ilm:expiry"
    	// ILMFreeVersionDelete - audit trail for ILM free-version delete
    	ILMFreeVersionDelete = "ilm:free-version-delete"
    	// ILMTransition - audit trail for ILM transitioning.
    	ILMTransition = " ilm:transition"
    )
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 45.5K bytes
    - Click Count (0)
  6. cmd/logging.go

    	logger.LogOnceIf(ctx, "scanner", err, id, errKind...)
    }
    
    func ilmLogIf(ctx context.Context, err error, errKind ...any) {
    	logger.LogIf(ctx, "ilm", err, errKind...)
    }
    
    func ilmLogOnceIf(ctx context.Context, err error, id string, errKind ...any) {
    	logger.LogOnceIf(ctx, "ilm", err, id, errKind...)
    }
    
    func encLogIf(ctx context.Context, err error, errKind ...any) {
    	logger.LogIf(ctx, "encryption", err, errKind...)
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  7. cmd/site-replication.go

    				return false
    			}
    		}
    	}
    	return true
    }
    
    // isILMExpRuleReplicated returns true if count of replicated ILM Expiry rules matches total
    // number of sites and ILM expiry rules are identical.
    func isILMExpRuleReplicated(cntReplicated, total int, rules []*lifecycle.Rule) bool {
    	if cntReplicated > 0 && cntReplicated != total {
    		return false
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 184.8K bytes
    - Click Count (1)
  8. cmd/bucket-quota.go

    		if quotaCfg.Type == "fifo" {
    			internalLogIf(GlobalContext, errors.New("Detected older 'fifo' quota config, 'fifo' feature is removed and not supported anymore. Please clear your quota configs using 'mc quota clear alias/bucket' and use 'mc ilm add' for expiration of objects"), logger.WarningKind)
    			return quotaCfg, fmt.Errorf("invalid quota type 'fifo'")
    		}
    		return quotaCfg, fmt.Errorf("Invalid quota config %#v", quotaCfg)
    	}
    	return quotaCfg, err
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  9. cmd/admin-handlers-site-replication.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	// Report the ILMExpiryStats only if at least one site has replication of ILM expiry enabled
    	var replicateILMExpiry bool
    	for _, site := range info.Sites {
    		if site.ReplicateILMExpiry {
    			replicateILMExpiry = true
    			break
    		}
    	}
    	if !replicateILMExpiry {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  10. cmd/erasure-server-pool-rebalance.go

    				if version.IsRemote() {
    					stopFn(version.Size, errors.New("ILM Tiered version will be skipped for now"))
    					continue
    				}
    
    				// Apply lifecycle rules on the objects that are expired.
    				if filterLifecycle(bucket, version.Name, version) {
    					expired++
    					stopFn(version.Size, errors.New("ILM expired object/version will be skipped"))
    					continue
    				}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 28.7K bytes
    - Click Count (0)
Back to Top