Skip to main content

Module handle_tail_replay

Module handle_tail_replay 

Source
Expand description

Starting, applying and ending background replays of pending WAL tails, and discarding pending tails without replaying them.

Functionsยง

notify_cannot_replay ๐Ÿ”’
Asks the worker to cancel the tail replay of a region that a role change outside the worker made unable to replay, if it has pending tails, without waiting. A replay the cancel reaches after the region became writable again ends and the worker starts another.
notify_writable ๐Ÿ”’
Tells the worker that a region became writable, so it replays the pending tails and runs the work due once the region is a writable leader with its Leader lease, without waiting.