patch to allow delete a name from epmd database without restart epmd

Seven Du <>
Wed Jun 16 16:32:42 CEST 2010


Hi,

Sometimes some erlang nodes crashe but I found the registered name
still exists in "epmd -names" so the erlang node cannot restart with
the same name.

I asked this question in the email list but no other ones seems to
have this issue. I cannot replicate that but it did happend a few
times on my server Ubuntun 7.10 with R13B02-1 compiled from source.
I'm not sure if it is a bug, but since epmd_srv.c accepts
EPMD_STOP_REQ but epmd just doesn't has a way to sent that request. So
I made this patch to unregister a node name

epmd -stop node_name

I also fixed a few typos.

This is the first time I submit patch, so please try the following and
let me know if it has problems.

git fetch :seven1240/otp.git epmd_stop_cli

Thanks.

-- 
Blog: http://www.dujinfang.com
Proj:  http://www.freeswitch.org.cn


More information about the erlang-patches mailing list