Skip to content

v0.2.2

Choose a tag to compare

@benoitc benoitc released this 24 Sep 01:10
· 7 commits to main since this release
c55e730

A task store can now be replicated or shared between nodes.

Fixed

Task store rows no longer carry the pid of the task process. The registry keeps pids in a table on its own node, keyed by task id. Before, a row written by another node (a replicated or shared task_store) made server start fail with badarg in is_process_alive/1. Such a row is now handled like one left by a restart: an unfinished task is failed or offered to resume, and a finished one is read from the store.

A pid left in a row by 0.2.1 is dropped on open. Stores need no change.

Decision record 0009 explains the design.