Patrik Nordwall
ba5df98740
Unregister routees living on removed node, see #2103
2012-08-30 10:54:58 +02:00
Patrik Nordwall
b22a092932
Support programatic declaration of cluster router, see #2103
...
* Ordinary withRouther withDeploy is TOO ugly for this
* Implicit conversion adds withClusterRouter to Props
for Scala API
* Helper method in ClusterRouterPropsDecorator for Java API
2012-08-30 10:06:12 +02:00
Patrik Nordwall
695ce49727
Deploy to new members in cluster, see #2103
...
* Config max-nr-of-instances-per-node
* selectDeploymentTarget that takes max-nr-of-instances-per-node
and nr-of-instances into account
* Deploy when new member added or removed
* Moved routeeProps to RouteeProvider constructor, needed for
this feature, but also simplifies createRoute, createRoutee,
and resize, since routeeProps doesn't have to be passed around.
2012-08-29 19:33:19 +02:00
Patrik Nordwall
bf20ae5157
Better methods in RouteeProvider
...
* createRoutees only for new nrOfInstances
* createRoutees also registers
* New registerRouteesFor for path lookup
* removeRoutees to gracefully unregister and stop routee
2012-08-29 14:56:51 +02:00
Patrik Nordwall
f4cc8f8649
Make it more intuitive for tests using real Cluster(system) extension, see #2103
...
* We will write more tests that rely on real Cluster(system) extension,
such as ClusterRoundRobinRoutedActorSpec
* When not using FailureDetectorStrategy or overriding seed nodes
MultiNodeClusterSpec will use the real Cluster(system) extension
instead of a new Cluster instance with additional test facilities
2012-08-28 16:38:05 +02:00
Patrik Nordwall
f1626ca1d3
Small refactoring to improve resize api
2012-08-28 15:36:40 +02:00
Patrik Nordwall
417bdc2dfb
Prototype of cluster aware routers, see #2103
...
* Several FIXME that needs to be discussed
* ClusterRouterConfig created via ClusterActorRefProvider
2012-08-28 11:54:52 +02:00
Patrik Nordwall
f6079de381
Merge pull request #645 from akka/wip-2202-fine-grained-events-patriknw
...
Fine grained events, see #2202
2012-08-27 07:57:37 -07:00
Patrik Nordwall
fe28f29b38
Add comment about member replacement in Set, see #2202
2012-08-27 16:55:50 +02:00
Patrik Nordwall
4a06719722
Merge branch 'master' into wip-2202-fine-grained-events-patriknw
...
Conflicts:
akka-cluster/src/multi-jvm/scala/akka/cluster/TransitionSpec.scala
2012-08-27 16:52:06 +02:00
Patrik Nordwall
4ebe5079bd
Merge pull request #647 from akka/wip-2423-fix-TransitionSpec-patriknw
...
Fix failing TransitionSpec, see #2423
2012-08-27 07:03:30 -07:00
Roland
66d071ab84
adapt release script to maven publishing
2012-08-22 22:04:46 +02:00
Josh Suereth
1be260c283
Publish-to now accepts jvm property publish.maven.central to rewire resolver to be aven central.
2012-08-22 12:55:18 -04:00
Roland
04159dc931
fix scalaBinaryVersion for sbt plugin
2012-08-22 18:36:13 +02:00
Roland
43170ff168
redo ChildTerminated() processing, see #2391 "
...
the previous patch of including the UID in the Terminated message did
suffer from the system vs. normal message ordering problem, hence I
reverted the previous fix and replaced it by sending a NullMessage after
ChildTerminated, exactly like in the Supervise case.
2012-08-22 17:31:01 +02:00
Roland
d110836629
make all tests pass again with 2.10.0-M7
2012-08-22 17:30:46 +02:00
Roland
531e3fc5a0
disable one of Dataflow tests which depends on SI-6262, to be re-enabled later
2012-08-22 11:10:37 +02:00
Roland
f41f706ce5
adapt to different error messages, fix one case of Props()
2012-08-22 11:10:37 +02:00
Roland
a15900a591
port onto SBT-0.12 branch
2012-08-22 11:10:36 +02:00
Patrik Nordwall
8fe8fc5512
Remove cluster-sample/README, was added prematurely
2012-08-21 18:16:04 +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
20a038fdfd
Fine grained events, see #2202
...
* Defined the domain events in ClusterEvent.scala file
* Produce events from diff and publish publish to event bus
from separate actor, ClusterDomainEventPublisher
* Adjustments of tests
2012-08-21 15:35:38 +02:00
Roland Kuhn
6389e1097b
Merge pull request #644 from akka/wip-2418-Supervise-vs-Failed-∂π
...
add NullMessage after Supervise to prevent race, see #2418
2012-08-21 06:07:59 -07:00
Roland Kuhn
c38f473cb2
Merge pull request #632 from akka/wip-UnstartedCell-push-timeout-∂π
...
Wip unstarted cell push timeout ∂π
2012-08-21 06:07:14 -07:00
Roland
2089fcf84c
fix NullMessage handling to not be logged as AutoReceiveMessage
2012-08-21 14:45:13 +02:00
Björn Antonsson
312c2e9843
Merge branch 'wip-2343-simplify-testing-of-presence-of-child-ban'
2012-08-21 14:30:15 +02:00
Roland
97e6825bac
add even more explanation for NullMessage
2012-08-21 14:11:49 +02:00
Roland
6ce38537d1
add more explanation for NullMessage
2012-08-21 14:10:37 +02:00
Roland
f0c370cf87
add NullMessage after Supervise to prevent race, see #2418
...
- parent just checked for system messages and finds none
- Supervise is enqueued to parent
- Failed is enqueued to the parent
- Failed is processed before Supervise and thus dropped due to
non-matching UID
remedy is to enqueue NullMessage after enqueuing Supervise but before
really starting the actor, so that if NullMessage overtakes Supervise
the loop in processMailbox will then pick up Supervise next
2012-08-21 13:43:57 +02:00
Björn Antonsson
824ddacf83
Use pattern matching in getChild instad of flatMap in child
2012-08-21 13:41:40 +02:00
Patrik Nordwall
f7a39d50f4
Merge pull request #643 from akka/wip-2409-link-patterns-patriknw
...
DOC: Link to patterns, see #2409
2012-08-21 04:05:53 -07:00
Björn Antonsson
7792fa764e
ScalaDoc updated
2012-08-21 13:05:46 +02:00
Björn Antonsson
16452b0cad
Merge pull request #642 from amir343/master
...
A minor English typo in general doc is corrected
2012-08-21 03:57:59 -07:00
Björn Antonsson
6d01b306bc
Merge branch 'wip-2415-remove-references-to-deleted-akka-tutorials-in-the-build'
2012-08-21 12:47:56 +02:00
Björn Antonsson
4afff48757
Renamed childExists to child and return Option[ActorRef]. See #2343
2012-08-21 12:37:08 +02:00
Patrik Nordwall
85734537c7
Merge pull request #638 from akka/wip-2410-doc-pattern-after-patriknw
...
DOC: Describe pattern.after, see #2410
2012-08-21 02:16:47 -07:00
Patrik Nordwall
f5174f9be0
Merge pull request #637 from akka/wip-2407-doc-ssl-patriknw
...
DOC: Describe how to use SSL for remoting, see #2407
2012-08-21 02:15:37 -07:00
Patrik Nordwall
b752215bc0
Merge pull request #636 from akka/wip-2351-style-links-patriknw
...
Change link to Scala style guide, see #2351
2012-08-21 02:14:42 -07:00
Patrik Nordwall
d80391110a
Merge pull request #635 from akka/wip-timeout-file-patriknw
...
Rename Duration.scala file to Timeout.scala
2012-08-21 02:14:00 -07:00
Patrik Nordwall
cac7136ad1
Merge pull request #634 from akka/wip-2406-migration-guide-patriknw
...
Migration guide for 2.0 to 2.1, see #2406
2012-08-21 02:12:47 -07:00
Patrik Nordwall
786f3b747e
Add note about log-remote-lifecycle-events change, see #2406
2012-08-21 10:59:49 +02:00
Roland
61bf51e410
document finite vs. infinite durations
2012-08-21 10:54:31 +02:00
Patrik Nordwall
976c97ae2c
Remove prematurly added cluster-usage.rst
2012-08-21 10:47:39 +02:00
Patrik Nordwall
a05e42db85
Move misplaced docs/io/BinaryCoding
2012-08-21 10:45:01 +02:00
Roland
6ae2789df8
add more debug output in case of timeout in Stopping by collecting "not resumed"
2012-08-21 10:43:09 +02:00
Patrik Nordwall
0f0ed9db6f
Incorporate more review comments, see #2406
2012-08-21 10:37:40 +02:00
Patrik Nordwall
fc66c7a81f
Add back migration-guide-1.3.x-2.0.x with link to 2.0 docs, see #2406
2012-08-21 10:24:21 +02:00
Patrik Nordwall
00a28302a1
Fix erroneous links page
2012-08-21 10:14:50 +02:00
Patrik Nordwall
86502c3711
Incorporate review comments, see #2407
2012-08-21 10:04:15 +02:00
Roland
8211fd6e8f
change settings to FiniteDuration where applicable
2012-08-21 09:22:09 +02:00