[erlang-questions] unregistering a process during takeover
Nuku Ameyibor
nayibor@REDACTED
Sat Jan 24 17:58:49 CET 2015
Thanks !!
------------------------------
From: Ulf Wiger <ulf@REDACTED>
Sent: 24/01/2015 14:00
To: Nuku Ameyibor <nayibor@REDACTED>
Cc: erlang questions <erlang-questions@REDACTED>
Subject: Re: [erlang-questions] unregistering a process during takeover
On 24 Jan 2015, at 13:56, Nuku Ameyibor <nayibor@REDACTED> wrote:
but how do errors during restarts affect the distribution mechanism .
for instance how do global name clashes affect the distribution mechanism
.
When you start applications from the shell using application:start(App),
the default restart type is ‘temprorary’, which means that if the
application start fails, only the application is terminated. If the
application is started with application:start(App, permanent), the whole
node is terminated if the application crashes.
The application start, in its turn, fails if the processes started
synchonously from the start function fail during startup. The global name
registration usually happens during application startup.
Applications started from a boot script are automatically started as
‘permanent’.
BR,
Ulf W
Ulf Wiger, Co-founder & Developer Advocate, Feuerlabs Inc.
http://feuerlabs.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150124/24b10aba/attachment.htm>
More information about the erlang-questions
mailing list