Patrik Nordwall
bd6c39178c
Fix leaking this in constructor of Cluster, see #2473
...
* Major refactoring to remove the need to use special
Cluster instance for testing. Use default Cluster
extension instead. Most of it is trivial changes.
* Used failure-detector.implementation-class from config
to swap to Puppet
* Removed FailureDetectorStrategy, since it doesn't add any value
* Added Cluster.joinSeedNodes to be able to test seedNodes when Addresses
are unknown before startup time.
* Removed ClusterEnvironment that was passed around among the actors,
instead they use the ordinary Cluster extension.
* Overall much cleaner design
2012-09-06 21:48:40 +02:00
Patrik Nordwall
1ad701c330
Fix failing TransitionSpec, see #2423
...
* The failure is due to the now eventually updated view.
* Must use await asserts.
2012-08-21 17:51:49 +02:00
Patrik Nordwall
4e2d7b0495
Move Cluster query methods to ClusterReadView, see #2202
...
* Better separation of concerns
* Internal API (could be made public if requested)
2012-08-16 18:28:01 +02:00
Patrik Nordwall
06f81f4373
Improve publish of domain events, see #2202
...
* Gossip is not exposed in user api
* Better and more events
* Snapshot event sent to new subscriber
* Updated tests
* Periodic publish only for internal stats
2012-08-15 16:47:34 +02:00
Viktor Klang
1114da2198
Importing language features used by akka-cluster and akka-remote-tests
2012-07-26 14:47:21 +02:00
Patrik Nordwall
c708d2ad8a
First step in refactoring of cluster internals to actors, see #2311
...
* Move clustering code to ClusterCore actor
* More will be done, comitting this for early review
2012-07-04 13:52:14 +02:00
Patrik Nordwall
2da1a912fe
Improve efficiency of gossip, see #2193 and #2253
...
* Essentially as already described in cluster specification,
but now fully implemented and tested with LargeClusterSpec
* Gossip to nodes with different view (using seen table)
with certain probability
* Gossip chat, gossip back to sender
* Immediate gossip to joining node
* Updated some tests to reflect current implementation
2012-06-28 11:41:48 +02:00
Patrik Nordwall
aed78f702b
Workaround for SI-5986, see #2275
...
* Add new operators :+ and :++ by implicit conversion
* Unfortunately this means that we must remember to use
these until SI-5986 is fixed. Is there a better way?
2012-06-26 18:19:33 +02:00
patriknw
24e49b1024
Merge pull request #551 from akka/wip-2250-singleton-cluster-merge-patriknw
...
Avoid gossip merge when singleton cluster, see #2250
2012-06-25 01:25:14 -07:00
Patrik Nordwall
e817b10a93
Remove fixme
2012-06-25 08:34:30 +02:00
Patrik Nordwall
526820bdb7
Fix failing TransitionSpec, failed due to wrong test, see #2259
2012-06-25 08:32:55 +02:00
Patrik Nordwall
91268365c1
Temporary ignore, see #2259
2012-06-21 12:30:26 +02:00
Patrik Nordwall
dccb0ca2d7
Avoid gossip merge when singleton cluster, see #2250
2012-06-20 11:37:13 +02:00
patriknw
09e92b6bd9
Merge pull request #550 from akka/wip-2066-phi-patriknw
...
Improve phi in AccrualFailureDetector, see #2066
2012-06-20 02:24:42 -07:00
Jonas Bonér
df673dafc9
Merged with master
2012-06-20 11:07:53 +02:00
Patrik Nordwall
4b2316a56b
Rename GossipingAccrualFailureDetectorSpec
2012-06-20 11:06:47 +02:00
Jonas Bonér
803b37d015
Added longer waiting time to wait for leader hand-off and convergence on new leader in the LeaderLeavingSpec. Fixes #2254
2012-06-20 11:03:03 +02:00
Patrik Nordwall
ec9abb12df
Merge branch 'master' into wip-2201-cache-node-lookup-patriknw
...
Conflicts:
akka-cluster/src/multi-jvm/scala/akka/cluster/ConvergenceSpec.scala
akka-cluster/src/multi-jvm/scala/akka/cluster/LeaderElectionSpec.scala
akka-cluster/src/multi-jvm/scala/akka/cluster/MembershipChangeListenerExitingSpec.scala
akka-cluster/src/multi-jvm/scala/akka/cluster/MembershipChangeListenerJoinSpec.scala
akka-cluster/src/multi-jvm/scala/akka/cluster/MembershipChangeListenerLeavingSpec.scala
akka-cluster/src/multi-jvm/scala/akka/cluster/MembershipChangeListenerUpSpec.scala
akka-cluster/src/multi-jvm/scala/akka/cluster/NodeLeavingAndExitingAndBeingRemovedSpec.scala
akka-cluster/src/multi-jvm/scala/akka/cluster/TransitionSpec.scala
2012-06-20 09:40:16 +02:00
Patrik Nordwall
0e0f05309c
One more barrier in TransitionSpec
2012-06-20 09:19:09 +02:00
Björn Antonsson
14184e99e9
Changed tests to use enterBarrier
2012-06-19 17:10:03 +02:00
Patrik Nordwall
12e90a98dc
Remove address vals in tests, fix race in TransitionSpec, see #2201
2012-06-18 13:24:46 +02:00
Patrik Nordwall
aae8869390
Merge branch 'master' into wip-2201-cache-node-lookup-patriknw
...
Conflicts:
akka-cluster/src/multi-jvm/scala/akka/cluster/MultiNodeClusterSpec.scala
2012-06-15 17:44:26 +02:00
Patrik Nordwall
3945490aa6
Minor cleanup based on feedback, see #2223
2012-06-15 17:12:09 +02:00
Patrik Nordwall
309b460367
Test state transitions and actions step-by-step, see #2223
2012-06-15 13:35:52 +02:00