Erlang/OTP Forums

Author Message

<  Erlang bugs mailing list  ~  registered names no longer synced after a slave:start in R10

nicolas at niclux.org
Posted: Mon Dec 05, 2005 10:55 pm Reply with quote
Guest
With erlang R10b-7, when I start a remote node with slave:start,
registered names are automaticaly synced:

erl -sname foo -r ssh -setcookie sesame

Erlang (BEAM) emulator version 5.4.9 [source] [hipe] [threads:0]

Eshell V5.4.9 (abort with ^G)
(foo_at_wagon006)1> bug:main().
node bar_at_wagon006 started
ping: pong
registered: [glob]
ok

but since R10B-8, this is no longer the case:

>erl -sname foo -r ssh -setcookie sesame

Erlang (BEAM) emulator version 5.4.10 [source] [threads:0]

Eshell V5.4.10 (abort with ^G)
(foo_at_localhost)1> bug:main().
node bar_at_localhost started
ping: pong
registered: []
ok

I must do a global:sync by hand.

Is it on purpose or is it a bug ?

--
Nicolas


Post generated using Mail2Forum (http://m2f.sourceforge.net)
hans.bolinder at ericsson
Posted: Tue Dec 06, 2005 12:14 pm Reply with quote
Guest
nicolas_at_niclux.org (Nicolas Niclausse) writes:

> With erlang R10b-7, when I start a remote node with slave:start,
> registered names are automaticaly synced:
> ...
>
> but since R10B-8, this is no longer the case:
> ...
> I must do a global:sync by hand.
>
> Is it on purpose or is it a bug ?

Due to a mistake global tries to lock 'nonode_at_nohost'. Eventually a
timeout occurs and the registered name should be visible on all nodes.

This bug will be fixed in R10B-9.

Best regards
Hans Bolinder, Erlang/OTP


Post generated using Mail2Forum (http://m2f.sourceforge.net)

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum