[erlang-questions] Supervisor (ab)use
Jesper Louis Andersen
Mon Sep 12 14:24:08 CEST 2016
On Mon, Sep 12, 2016 at 2:08 PM, Schneider <> wrote:
> This seems to work fine, but I am wondering if there are potential issues
> with this construct, especially with the Modules in the child
> specifications and code replacement.
>From a quick glance, your code looks right. The 'modules' section of the
child specification is used by the release handler. It walks the supervisor
trees and uses this section to figure out what modules is run by what
processes. This then allows the system to handle release upgrades by
tracking this mapping and controlling what processes needs to be upgraded.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions