Commit graph

12466 commits

Author SHA1 Message Date
Viktor Klang (√)
b8ddc1c565 Merge pull request #667 from akka/wip-2463-√
Wip 2463 √
2012-09-06 03:09:35 -07:00
Viktor Klang
5c5d8674f2 Adding migration docs for the Either => Try changes as well as cleaning up a couple of imports 2012-09-06 11:59:22 +02:00
Patrik Nordwall
3d29077cb0 Longer timeouts in CircuitBreakerMTSpec, see #2474
* callTimeout of 100 ms was too short. A gc could easily make that fail.
2012-09-06 10:24:33 +02:00
Patrik Nordwall
806b5efcdf Fix NPE due to initialization order, see #2473 2012-09-06 10:04:52 +02:00
Viktor Klang
cfc9c3c27d Fixing minor documentation error 2012-09-06 03:28:00 +02:00
Viktor Klang
4eee04cb60 #2469 - Switching to scala.util.Try instead of Either[Throwable, T] in the codebase 2012-09-06 03:17:51 +02:00
Björn Antonsson
6e4b0dc3de Merge pull request #673 from akka/wip-2439-race-in-initchild-ban
Race in initChild. See #2439
2012-09-05 06:30:24 -07:00
Björn Antonsson
48e9b0f9ce Race in initChild. See #2439 2012-09-05 14:17:40 +02:00
Roland
0e8a6d3b30 (oh snap, had increased thread count in AkkaSpec) 2012-09-04 10:58:39 +02:00
Roland
7ece60d998 add even more logging 2012-09-04 10:57:13 +02:00
Patrik Nordwall
ea59b952ce Direct failed remote sends to deadLetters, see #1588
* When Watch is sent to deadLetters it will generate Terminated
* Test: receive Terminated when watched node is unknown host
* Test: receive Terminated when watched path doesn't exist
2012-09-04 09:55:08 +02:00
Gerolf Seitz
07daa444f0 Docs update for escaped characters in names, see#2123 2012-09-03 21:42:24 +02:00
Patrik Nordwall
6b40ddc755 Maintain AddressTerminated subscription in DeathWatch, see #1588 2012-09-03 20:37:33 +02:00
Patrik Nordwall
dad04cf9e5 DeathWatch must only notify when watching, see #1588
* Discard Terminated when not watching the subject
* This will filter eventual duplicates
* Note about the fw case  in Scaladoc of Terminated
* Added description of changed behaviour in migration guide
2012-09-03 18:36:11 +02:00
Roland
df46b3cf59 make logging more voluminous in SupervisorHierarchySpec 2012-09-03 15:47:48 +02:00
Roland
7d26631956 make logging more aggressive in SupervisorHierarchySpec 2012-09-03 15:14:25 +02:00
Björn Antonsson
9721a9778f Bumped version of multi-jvm to 0.2.0-M5 and override multi-node-java. See #2443 2012-09-03 14:25:55 +02:00
Patrik Nordwall
cc2283b500 Remove concurrent access to testconductor ClientFSM, see #2456
* The problem was "cannot write GetAddress(RoleName(second))
  while waiting for registered-listener", which was due to
  enter barrier from one thread and ask for node address from
  another thread.
2012-09-03 14:08:06 +02:00
Patrik Nordwall
b1e251e0bc Prototype of death watch hooked up with failure detector, see #1588
* Probably a lot of things missing, but wanted to try the first idea
* The test is green :)
2012-08-31 16:37:35 +02:00
Patrik Nordwall
0c63e93d6b Change timouts to 'remaining' in RoutingSpec 2012-08-31 15:51:15 +02:00
Viktor Klang
353b463068 Merge branch 'master' of github.com:akka/akka 2012-08-31 14:00:33 +02:00
Viktor Klang
f066f2d043 #2463 - Making it possible to configure the Deserializer for 0MQ and fixing an exhaustiveness check in patmat for SocketOptions 2012-08-31 13:56:37 +02:00
Viktor Klang
05ac275f12 Patching CoordinatedIncrementSpec to try avoid failing on jenkins when timeout is too long 2012-08-31 13:54:14 +02:00
Patrik Nordwall
c6d936d07c Merge pull request #665 from akka/wip-2442-div-by-zero-in-SmallestMailboxRouter-patriknw
Avoid / by zero in SmallestMailboxRouter also, see #2442
2012-08-31 04:20:56 -07:00
Patrik Nordwall
d9bd43a1fa Avoid / by zero in SmallestMailboxRouter also, see #2442 2012-08-31 12:57:33 +02:00
Patrik Nordwall
ccfd8454fc Merge pull request #662 from akka/wip-cluster-failing-tests-patriknw
Fixed some failing cluster tests
2012-08-31 03:35:05 -07:00
Patrik Nordwall
6b3161acbe Merge pull request #651 from akka/wip-1916-cluster-doc-patriknw
First part of usage doc for cluster, see #1916
2012-08-31 03:27:59 -07:00
Patrik Nordwall
602852ba12 Some clarifications from review, see #1916 2012-08-31 12:27:17 +02:00
Björn Antonsson
613d241351 Merge pull request #661 from akka/wip-2454-callingthreaddispatchermodelspec-fails-with-an-interruptedexception-ban
Clear out interrupted flag before we recurse. See #2454
2012-08-31 03:04:41 -07:00
Björn Antonsson
9d7ac4009d Merge pull request #660 from akka/wip-2314-rewrite-future-docs-to-scala.concurrent.future-ban 2012-08-31 03:04:15 -07:00
Patrik Nordwall
ad1e02f2be Merge pull request #654 from akka/wip-2442-div-by-zero-patriknw
Avoid ArithmeticException: / by zero in routers, see #2443
2012-08-31 02:24:43 -07:00
Patrik Nordwall
feb1c142f5 Merge pull request #650 from akka/wip-2433-remote-router-resize-patriknw
Resizer specified in code combined with other router config, see #2433
2012-08-31 02:21:46 -07:00
Patrik Nordwall
7744081224 Incorporate review comments, see #2433 2012-08-31 11:16:57 +02:00
Viktor Klang
22ba933152 The Unborkening 2012-08-31 10:48:31 +02:00
Patrik Nordwall
9b6aeadf2e createRoutees also when initial CurrentClusterState is received, see #2103 2012-08-31 10:44:07 +02:00
Gerolf Seitz
22a31299b9 Allow escape sequences in actor names, see #2123. 2012-08-31 08:15:38 +02:00
Viktor Klang
d209247b7f Clarifying in the docs that the user gets an ActorRef and not a RoutedActorRef 2012-08-30 18:09:31 +02:00
Viktor Klang
4c859420d1 Adding :ActorRef to signal that actorOf returns an ActorRef for routers as well 2012-08-30 18:05:28 +02:00
Patrik Nordwall
bb9fad1d0b Add missing CurrentClusterState case to tests, see #2456
* The only reason I can think of why the MemberExited event
  isn't received in MembershipChangeListenerExitingSpec is that
  CurrentClusterState isn't handled. Might be something else
  but this was wrong anyway.
2012-08-30 17:27:50 +02:00
Patrik Nordwall
8ba0041e7c Remove increased leader-actions-interval, since it's false safety, see #2444 2012-08-30 17:27:50 +02:00
Patrik Nordwall
369d33da14 Removed racy test, covered by MembershipChangeListenerJoinSpec anyway, see #2444
* There is a race between leader actions and the clusterView polling,
  it doesn't help with longer leader-actions-interval, since you
  can be unlucky
* Exactly this is covered by MembershipChangeListenerJoinSpec and
  there implemented with subscription, which is the only way
2012-08-30 17:27:49 +02:00
Viktor Klang
2c251ccf1c #2436 - Changing typo in untyped actor code 2012-08-30 16:27:00 +02:00
Björn Antonsson
70ec85b084 Clear out interrupted flag before we recurse. See #2454 2012-08-30 15:21:51 +02:00
Björn Antonsson
6a23ff6add Clarified that the Future is in the Scala Standard Library. See #2314 2012-08-30 14:52:25 +02:00
Viktor Klang (√)
8de174723b Merge pull request #659 from akka/wip-2450-√
#2450 - Fixing expectMsgAllConformingOf and expectMsgAllClassOf + adding...
2012-08-30 05:38:19 -07:00
Viktor Klang (√)
29b2077fc5 Merge pull request #658 from akka/wip-2452-√
#2452 - Fixing so that rootGuardian actorFor deadLetters returns deadLet...
2012-08-30 05:37:54 -07:00
Viktor Klang (√)
da7b6ef3f3 Merge pull request #657 from akka/wip-2451-√
#2451 - Changing so that Stash overrides postStop instead so that stashe...
2012-08-30 05:37:37 -07:00
Viktor Klang (√)
4ab5cef2e9 Merge pull request #656 from akka/wip-2396-√
#2396 - Removing the Props.apply(ActorContext => Actor.Receive) method a...
2012-08-30 05:37:17 -07:00
Viktor Klang (√)
b404d75521 Merge pull request #649 from bjornharrtell/patch-4
Add warning about passing mutable state into the constructor of an Actor
2012-08-30 05:36:51 -07:00
Patrik Nordwall
c84e05a779 Organize imports, see #2103 2012-08-30 13:52:47 +02:00