Added DOWNING (user downing and auto-downing) and LEADER actions.

* Added possibility for user to 'down' a node
* Added possibility for the leader to 'auto-down' a node.
* Added leader role actions
  - Moving nodes from JOINING -> UP
  - Moving nodes from EXITING -> REMOVED
  - AUTO-DOWNING
* Added tests for user and leader downing
* Added 'auto-down' option to turn auto-downing on and off
* Fixed bug in semantic Member Ordering
* Removed FSM stuff from ClusterCommandDaemon (including the test) since the node status should only be in the converged gossip state

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
This commit is contained in:
Jonas Bonér 2012-03-09 12:56:56 +01:00
parent 76f29a80d8
commit 81b68e2fc0
11 changed files with 823 additions and 379 deletions

View file

@ -30,6 +30,7 @@ class ClusterConfigSpec extends AkkaSpec(
GossipFrequency must be(1 second)
NrOfGossipDaemons must be(4)
NrOfDeputyNodes must be(3)
AutoDown must be(true)
}
}
}