Documentation
¶
Overview ¶
Package retention bounds repeated background rewrites at a moving expiry cutoff.
Index ¶
Constants ¶
const RewriteInterval = time.Hour
RewriteInterval is the minimum interval between forced background retention rewrites.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bound ¶ added in v0.52.0
type Bound uint8
Bound identifies the policy bound that sets a retention cutoff.
const ( // BoundNone means no retention bound is set. BoundNone Bound = iota // BoundAge means the signal's age limit binds. BoundAge // BoundSignalBytes means the signal's stored-byte budget binds. BoundSignalBytes // BoundPooledBytes means the tenant's pooled stored-byte budget binds. BoundPooledBytes )
type Request ¶ added in v0.52.0
Request is the most recent authorized retention request for one engine tenure.