Documentation ¶
Overview ¶
Package expireddeletion contains the functions needed to run expired segment deletion
The expireddeletion.expiredDeleter implements the metainfo loop Observer interface allowing us to subscribe to the loop to get information for every segment in the metainfo database.
The expireddeletion chore will subscribe the deleter to the metainfo loop and delete any expired segments from metainfo.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Error defines the expireddeletion chore errors class. Error = errs.Class("expired deletion") )
Functions ¶
This section is empty.
Types ¶
type Chore ¶
Chore implements the expired segment cleanup chore.
architecture: Chore
type Config ¶
type Config struct { Interval time.Duration `` /* 153-byte string literal not displayed */ Enabled bool `help:"set if expired segment cleanup is enabled or not" releaseDefault:"true" devDefault:"true"` ListLimit int `help:"how many expired objects to query in a batch" default:"100"` }
Config contains configurable values for expired segment cleanup.
Click to show internal directories.
Click to hide internal directories.