[erlang-bugs] Weird documentation of distributed applications
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.
Le 12 déc. 2012 à 13:21, Loïc Hoguin a écrit :
> I got pointed at a weirdness in the documentation by Eric Pailleau. This chapter:
> "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
> erlang-bugs mailing list
More information about the erlang-bugs