Skip to main content

Module retention

Module retention 

Source
Expand description

The master’s retention job (decisions 430-435): every SCHEDR_HIDDEN__MASTER__RETENTION_INTERVAL (1 h) while it leads, it deletes what [retention] no longer keeps, a batch of SCHEDR_HIDDEN__MASTER__RETENTION_BATCH runs per transaction, until nothing is left, so it never holds long locks nor holds the scheduler up (it runs beside the master’s loop).

Structs§

Pass
What one pass deleted.
RetentionSettings
How long each kind is kept: None forever.

Functions§

pass
One pass at now: outputs, runs, removed DAGs, unused DAG versions, events, commands, each counted in metrics. Stops when this master no longer leads.