> The other common problem is the "split brain" problem, where the active and
> passive Terracotta server can't ping each other because
> of connectivity issues and both elect themselves as the "active" server
> (then when the network problem is solved one of the server will realize the
> "split brain" state and kill itself, and again you'll have to restart it).
That's not quite correct: the "split brain" problem in Terracotta only
happens when the two masters get an equal number of clients (servers
in Terrastore parlance) after the split, and in such a case the master
will "notify" the problem and wait for human action; otherwise the
master with the majority of connected clients will stay alive, and the
other will shut down.
Let me give an example: given an active/passive topology with 10
clients, if you get a partition and 7 clients connect to master 1 and
3 clients to master 2, master 1 will stay active and master 2 will
shut down.
Hope that clarifies.
Cheers,
Sergio B.
--
Sergio Bossa
http://www.linkedin.com/in/sergiob