derekkraan / horde

Horde is a distributed Supervisor and Registry backed by DeltaCrdt
MIT License
1.32k stars 106 forks source link

Dynamic Supervisor does not ensure uniqueness #196

Closed derekkraan closed 4 years ago

derekkraan commented 4 years ago

The main change in this PR is to Horde.DynamicSupervisor.

Previously, it would "take over" a process by assigning it to itself if it found that it was on a dead node and it should be allocated to itself.

Now, it will not take over the process, but duplicate it.

Deduplication will be the sole responsibility of Horde.Registry (on netsplit heal, for example).