[erlang-questions] Supervisor (ab)use
Jesper Louis Andersen
jesper.louis.andersen@REDACTED
Mon Sep 12 14:24:08 CEST 2016
On Mon, Sep 12, 2016 at 2:08 PM, Schneider <schneider@REDACTED> 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.
--
J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160912/6315c8ca/attachment.htm>
More information about the erlang-questions
mailing list