Patrik Nordwall
8dfb9434fa
Merge pull request #787 from akka/wip-2284-heartbeat-scalability-patriknw
...
Use consistent hash to heartbeat to a few nodes instead of all, see #2284
2012-10-15 02:52:28 -07:00
Patrik Nordwall
91f6c5a94d
Adjust barriers/checks in LeaderElectionSpec, see #2583
...
* Previously it didn't check for unreachable, before down
2012-10-12 13:27:59 +02:00
Patrik Nordwall
279fd2b6ef
Fix bug introduced in refactoring, see #2284
2012-10-10 18:13:08 +02:00
Helena Edelson
61481da6cd
2609 Fixed more 'available' typos in ClusterRouteeProvider
2012-10-10 10:05:41 -06:00
Helena Edelson
24c115547d
2609 Typo in method name for ClusterRouteeProvider
2012-10-10 09:58:18 -06:00
Patrik Nordwall
6f70624ddd
Diagnostics for failing test, see #2583
2012-10-10 16:45:58 +02:00
Patrik Nordwall
66c81e915e
Move state of ClusterHeartbeatSender to separate immutable class, see #2284
2012-10-10 15:23:18 +02:00
Patrik Nordwall
668d5a5013
Merge branch 'master' into wip-2284-heartbeat-scalability-patriknw
...
Conflicts:
akka-cluster/src/main/scala/akka/cluster/ClusterDaemon.scala
2012-10-09 18:11:36 +02:00
Patrik Nordwall
59f8210b85
Incorporate review comments, see #2284
2012-10-09 17:54:54 +02:00
Patrik Nordwall
39bb478b3f
Adjust the failing assert in SingletonClusterSpec, see #2582
2012-10-08 16:45:42 +02:00
Patrik Nordwall
1f3341713f
Remove cluster.FixedRateTask, see #2606
2012-10-08 12:17:40 +02:00
Patrik Nordwall
3f73705abc
Use consistent hash to heartbeat to a few nodes instead of all, see #2284
...
* Previously heartbeat messages was sent to all other members, i.e.
each member was monitored by all other members in the cluster.
* This was the number one know scalability bottleneck, due to the
number of interconnections.
* Limit sending of heartbeats to a few (5) members. Select and
re-balance with consistent hashing algorithm when new members
are added or removed.
* Send a few EndHeartbeat when ending send of Heartbeat messages.
2012-10-08 08:41:28 +02:00
Patrik Nordwall
7557433491
URLEncode heartbeat sender child names
...
* Names can be url encoded now, instead of MD5
2012-10-08 08:41:28 +02:00
Patrik Nordwall
cecde67226
Move heartbeat sending out from ClusterCoreDaemon, see #2284
2012-10-08 08:41:28 +02:00
Patrik Nordwall
495ace37f4
Avoid TestConductorTransport unless needed, see #2586
...
* Due to the shutdown issues the TestConductorTransport is by
default not active, but it's easy to activate it and exception
will be thrown if trying to use the featues that require it, i.e
blackhole, passThrow and throttle
* Documented
2012-10-05 14:52:18 +02:00
Patrik Nordwall
1e0a29d939
Wipe @author tags
...
* we have collective code ownership and
authorship is maintained by the git log
2012-10-05 08:23:11 +02:00
Patrik Nordwall
c959d4a973
Incorporate feedback, see #2502
2012-10-05 08:17:54 +02:00
Patrik Nordwall
acdafa0cd3
Additions for Java API of cluster, see #2502
2012-10-04 14:16:11 +02:00
Patrik Nordwall
49b9ec6c2c
Publish cluster metrics through the publisher actor.
...
* To avoid ordering surprises metrics should be published via
the same actor that handles the subscriptions and publishes
other cluster domain events.
* Added missing publish in case of removal of member
(had a test failure for that)
2012-10-02 17:08:38 +02:00
Patrik Nordwall
0b420f33e2
Merge pull request #764 from akka/wip-2010-mute-log-patriknw
...
Mute expected log messages, see #2010
2012-10-02 03:05:29 -07:00
Patrik Nordwall
de420ec38a
Merge branch 'master' into wip-2010-mute-log-patriknw
2012-10-02 10:40:30 +02:00
Patrik Nordwall
040d494119
Skip exception msg check of UnknownHost, see #2010
2012-10-02 10:38:56 +02:00
Björn Antonsson
086e1a0363
Merge branch 'master' into wip-2413-pdf-adapt-code-samples-ban
2012-10-02 10:22:37 +02:00
Björn Antonsson
0988101881
Fixes according to review. #2413
2012-10-02 10:21:46 +02:00
Patrik Nordwall
54e4ccd578
Merge pull request #749 from akka/wip-2550-cleanup-remote-deployed-children-patriknw
...
Clean up remote-deployed children when target node goes down, see #2550
2012-10-02 00:53:19 -07:00
Björn Antonsson
08ef942242
Reformating configuration and examples for PDF (Scala, and leftovers). See #2413
2012-10-01 20:35:46 +02:00
Patrik Nordwall
8476b2195c
Mute expected log messages, see #2010
2012-10-01 20:12:36 +02:00
Patrik Nordwall
51ff9ce6d1
Cluster.unsubscribe with class parameter, see #2567
2012-09-28 13:09:36 +02:00
Patrik Nordwall
ba7a18dde5
Incorporate review feedback, see #2550
2012-09-28 11:18:15 +02:00
Patrik Nordwall
c6dd37607c
Revert wrong changes in ClusterConsistentHashingRouterSpec
2012-09-26 14:11:19 +02:00
Patrik Nordwall
8956523d5f
Clean up remote-deployed children when target node goes down, see #2550
...
* ClusterActorRefProvider watch remote deployed actors and sends
ChildTerminated when AddressTerminated
* Added addressTerminated flag to Terminated to know when the Terminated
was generated from a AddressTerminated
* Extra removal of child when the Terminated originates from AddressTerminated
to support immediate creation of child with same name
2012-09-26 14:06:44 +02:00
Patrik Nordwall
01bdf41f7f
Merge pull request #743 from akka/wip-2549-LeaderLeavingSpec-racy-patriknw
...
Race in LeaderLeavingSpec, see #2549
2012-09-25 05:33:56 -07:00
Patrik Nordwall
f3eadcd927
Race in LeaderLeavingSpec, see #2549
...
* Since the leaving cluster is shutdown it's not
possible to use the readView to assert that thing.
* Removed the check, enough verification in other parts of the test
anyway
2012-09-25 10:58:40 +02:00
Patrik Nordwall
b18817d933
NPE in SunnyWetherSpec, see #2544
2012-09-25 08:48:33 +02:00
Viktor Klang
5dbd16dc9e
Removing unused expression
2012-09-25 00:56:48 +02:00
Viktor Klang
0c6ce66e9b
Cleaning up a merge fault in the MetricsCollectorSpec
2012-09-25 00:56:10 +02:00
Viktor Klang
53fbf09616
Simplifying a metrics collection test
2012-09-25 00:51:10 +02:00
Helena Edelson
2866ee3082
Merge branch 'master' into wip-2546-heap-mem-metric
...
Conflicts:
akka-cluster/src/test/scala/akka/cluster/MetricsCollectorSpec.scala
2012-09-24 16:46:58 -06:00
Viktor Klang
857722aea8
Minor cleanup in MetricsCollectorSpec
2012-09-25 00:31:59 +02:00
Helena Edelson
0a2e66b9c3
#2546 MetricsCollectorSpec assertion modified for heap mem max in relation to used and committed.
2012-09-24 16:31:39 -06:00
Helena Edelson
dbce1c8b85
Cluster metrics internal API and cluster-wide transport of metrics data.
...
* Create Cluster Metrics API
* Create transport of relevant metrics data
Does not include load-balancing routers.
2012-09-24 13:07:11 -06:00
Patrik Nordwall
88a9123724
Move heartbeat-interval into failure-detector section
2012-09-20 15:23:18 +02:00
Patrik Nordwall
bc34adf624
Test consistent hashing router with cluster router, see #944
...
* Found and fixed issue with NoRouter which is used in the
combination of FromConfig and cluster.enabled=true
* Multi-node test that tests several of the possible
cominations
2012-09-20 12:35:03 +02:00
Patrik Nordwall
9423d37da9
Merge branch 'master' into wip-cluster-docs-patriknw
...
Conflicts:
project/AkkaBuild.scala
2012-09-20 10:40:08 +02:00
Patrik Nordwall
6dbe1c00c4
Further improvement of selectDeploymentTarget based on feedback
2012-09-20 09:24:06 +02:00
Patrik Nordwall
a790f5bb32
Use named parameters to Deploy, avoid strange path param
2012-09-20 09:22:30 +02:00
Patrik Nordwall
ab8a690c65
Use Either for LeaderChanged state, see #2518
2012-09-20 08:44:44 +02:00
Patrik Nordwall
6cf638815f
Disable remote logging
2012-09-20 08:09:46 +02:00
Patrik Nordwall
068335789c
Cluster config setting to disable jmx, see #2531
2012-09-20 08:09:01 +02:00
Roland
2502919c6e
Merge branch 'wip-more-duration-∂π'
2012-09-19 14:45:37 +02:00