akka/akka — pull request #506 by jboner (2012-06-01 14:55:48+00:00)
Title: Added implementation of the LEAVE command for a cluster node plus misc tests

-- Cluster impl changes --

* Added implementation of the LEAVE command for a cluster node
* Changed the meaning of Member.isUnavailable to only DOWN and REMOVED
* Removed EXIT and UP as user commands
* Fixed Cluster.self to fall back to checking for itself in the gossip.overview.unreachable set.
* Added Leader action transitioning from LEAVING -> EXITING
* Improved comments

-- New tests --

* Added test for testing cluster node transitioning from UP -> LEAVING
* Added test for testing cluster node transitioning from UP -> LEAVING -> EXITING
* Added test for testing cluster node transitioning from UP -> LEAVING -> EXITING -> REMOVED