Commit graph

10 commits

Author SHA1 Message Date
Björn Antonsson
a03460329d Change cluster MemberEvents to only be published on convergence. See #2692
Conflicts:
	akka-cluster/src/main/scala/akka/cluster/ClusterEvent.scala
	akka-cluster/src/main/scala/akka/cluster/ClusterJmx.scala
	akka-cluster/src/main/scala/akka/cluster/ClusterMetricsCollector.scala
	akka-cluster/src/main/scala/akka/cluster/ClusterReadView.scala
	akka-cluster/src/multi-jvm/scala/akka/cluster/MultiNodeClusterSpec.scala
	akka-docs/rst/cluster/cluster-usage-java.rst
	akka-docs/rst/cluster/cluster-usage-scala.rst
	akka-kernel/src/main/dist/bin/akka-cluster
2012-12-14 12:46:13 +01:00
Patrik Nordwall
6d13a72001 Hardening the tests in cluster sample, see #2654 2012-11-26 15:29:24 +01:00
Patrik Nordwall
dfb9280049 Eliminate glitch that caused job to be sent to deadletters, see #2630
* Cluster sample
* The problem was that the sent job was sometimes sent to deadLetters
* The reason was that statsService was not created when a facade
  at another node forwared the job to the statsService, i.e.
  deadLetters
* Solved by using ask and recover with JobFailed in case of
  timeout in the facade, so that the facade always sends back
  JobResult or JobFailed
2012-10-24 18:14:08 +02:00
Roland
0f04239f67 move Duration classes according to scala 2.10 nightly and remove casts to FiniteDuration, see #2504 2012-10-11 15:18:10 -07:00
Patrik Nordwall
3e0e5f8473 Java version of Cluster usage documentation, see #2502
* Created separate java and scala rst chapters
* Converted the 3 cluster samples to java
* Everything tested manually, and with new multi-node tests
2012-10-04 14:16:11 +02: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
c7b966b4e7 Switch to ConistentHashingRouter in cluster sample 2012-09-20 12:58:51 +02:00
Patrik Nordwall
c0c6cc3931 Publish cluster LeaderChanged only when convergence, see #2518 2012-09-18 14:19:38 +02:00
Patrik Nordwall
175dd4c547 Minor cleanup 2012-09-18 10:49:41 +02:00
Patrik Nordwall
0524ba0a65 Cluster documentation
* 2 Sample applications with main programs to play with,
  and multi-node tests to illustrate testing, and
  code snippets for inclusion in rst docs
* TransformationSample illustratates subscription to
  cluster events
* StatsSample illustrates usage of cluster aware routers, both
  lookup and deploy
2012-09-13 11:35:04 +02:00