Expand description
Reclamation algorithm
Implementation the of long-running task function,
(which is the only export from here, the wider mtracker module).
ModulesΒ§
- deferred_
drop π - Deferred drop handling.
StructsΒ§
- Reclaiming π
- State while reclamation is active
- Task
Finished π - Return value from the task, when it finishes due to the tracker being shut down
- Victim
Panicked π - Marker indicating that the victimβs reclaim function panicked
EnumsΒ§
- Age π
- The nominal data age of a participant
- Outcome π
- Outcome of a completed reclamation run
- PStatus π
- Participant status, as a candidate victim
FunctionsΒ§
- analyse_
particip π - Figure out whether a participant is a candidate victim, and obtain its data age
- inner_
loop π - Reclaim memory until we reach low water, if necessary
- task π
- Internal long-running task, handling reclamation
- task_
loop π - Internal long-running task, handling reclamation - main loop
Type AliasesΒ§
- NumParticips π
- Total number of participants
- Victim π
- A victim we have selected for reclamation
- Victim
Responses π - Set of responses from the victims, after they have all finished reclaiming.