[erlang-bugs] Weird documentation of distributed applications

Anthony Ramine <>
Tue Dec 18 11:54:59 CET 2012


Furthermore, the documentation contradicts itself in the note following what you pasted:

> All involved nodes must have the same value for distributed and sync_nodes_timeout, or the behaviour of the system is undefined.

The list of nodes is part of the `distributed` value.

-- 
Anthony Ramine

Le 12 déc. 2012 à 13:21, Loïc Hoguin a écrit :

> Hello,
> 
> I got pointed at a weirdness in the documentation by Eric Pailleau. This chapter:
> http://www.erlang.org/doc/design_principles/distributed_applications.html#id74957
> 
> says:
> 
> "The system configuration files for  and  are identical, except for the list of mandatory nodes which should be [, ] for  and [, ] for "
> 
> First, that's incredibly clumsy. Having a different configuration file per node like this is just impractical if you're going to have 50 of them.
> 
> But looking at the code it appears you can actually put [, , ] everywhere, because all this does is to ping everything and make sure they're up before continuing. A ping to yourself *does* work so that makes the whole sentence pointless.
> 
> What to do?
> 
> -- 
> Loïc Hoguin
> Erlang Cowboy
> Nine Nines
> http://ninenines.eu
> _______________________________________________
> erlang-bugs mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-bugs



More information about the erlang-bugs mailing list