Skip to main content

Module repair

Module repair 

Source

StructsΒ§

Healed πŸ”’
What one family’s heal staged.
Patched πŸ”’
What patching one statediff row computed, before it is written back.

FunctionsΒ§

delete_losers πŸ”’
Deletes the loser reverse rows of both families under one cork.
heal πŸ”’
Completes the torn writes the residue names on its own.
heal_family πŸ”’
Stages one family’s reinstatements and promotions.
move_keys πŸ”’
Moves loser-keyed state rows to their winner key and rewrites loser-valued relation rows.
move_state_row πŸ”’
Moves one loser-keyed state row toward its winner.
patch πŸ”’
Maps both halves of each entry through the winner maps.
patch_runs πŸ”’
Rebuilds one diff’s runs winner-ward and subtracts the collision the patch creates.
patch_state πŸ”’
Patches one state’s diff row, its digest row riding the transaction.
patch_statediffs πŸ”’
Patches the ghost halves of infected statediff entries to their winners.
repair πŸ”’
Applies whatever repair the scan cleared, in hazard order.
winner_of πŸ”’
Rebuilds one entry winner-ward, when either half is a loser.

Type AliasesΒ§

Digests πŸ”’
The digest rows naming each infected state, keyed by the state.