Commit graph

215 commits

Author SHA1 Message Date
Endre Sándor Varga
682abccf7e Added defaultAddress() to RemoteTransport API 2012-11-21 14:18:24 +01:00
Endre Sándor Varga
0f0c5cb17a Merge branch 'master' into wip-2053d-actorbased-remote-drewhk 2012-11-21 12:04:14 +01:00
Viktor Klang
b00c47854b Switching over to immutable.Iterable where possible 2012-11-14 16:24:25 +01:00
Viktor Klang
8f131c680f Switching to immutable.Seq instead of Seq 2012-11-12 14:17:47 +01:00
Björn Antonsson
977194ff8e Improve MultiNodeSpec ifNode syntax. #2126 2012-11-01 15:16:02 +01:00
Björn Antonsson
d46f626479 Limit the number of netty worker threads based on configuration. #2659 2012-10-30 08:45:12 +01:00
Endre Sándor Varga
5f9253b79e New Remoting implementation (iteration 3) #2053
- Asynchronous lockless remoting
 - Pluggable transport drivers
 - Multiple transport support
 - Simplified lifecycle events
 - Support for netty based TCP, SSL+TCP and UDP support
 - Updated Akka protocol with soft-state connections and failure detection
 - Refactored failure detectors (currently duplicated from cluster)
2012-10-29 16:32:15 +01:00
Patrik Nordwall
5e83df74e9 Solve wrong barrier problem, see #2583
* The problem was that we didn't wait for the testconductor.shutdown Future
  to complete and therefore barriers could be triggered in unexpected order.
  The reason why we didn't await, was that during shutdown the Future was
  completed with client disconnected failure. I have fixed that and added
  await to all shutdowns.
2012-10-16 17:02:13 +02:00
Roland
b96d77c15a actually build the samples
and fix the resulting breakage (of not compiling them for some time,
that is)

also remove the last casts to FiniteDuration
2012-10-15 17:17:54 +02:00
Roland
bff79c2f94 Merge remote-tracking branch 'origin/master' into wip-2.10.0-RC1-∂π
- currently cheating: uses zeroMQ artifacts for scala 2.10M7
- fixed a bunch of more wrong references to scala.concurrent.util
2012-10-15 16:18:52 +02:00
Patrik Nordwall
ef695cbb29 LogRoleReplace filter out ESC characters 2012-10-12 13:00:16 +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
45efd3dc00 Adjust the scaladoc note as suggested, see #2586 2012-10-07 09:05:14 +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
Björn Antonsson
0730251e5f Review comments. #2049 2012-10-04 13:52:11 +02:00
Björn Antonsson
5cfb79aef5 Minor doc and API cleanup for Test Conductor. See #2049 2012-10-04 11:03:07 +02:00
Patrik Nordwall
de420ec38a Merge branch 'master' into wip-2010-mute-log-patriknw 2012-10-02 10:40:30 +02:00
Patrik Nordwall
fad6024596 Mute deadletters in ScatterGatherRoutedRemoteActorSpec, see #2010 2012-10-02 10:39:22 +02:00
Patrik Nordwall
8476b2195c Mute expected log messages, see #2010 2012-10-01 20:12:36 +02:00
Patrik Nordwall
72b94f994e Verify proper shutdown when remote deployed actor, see #2552 2012-09-27 14:28:52 +02:00
Patrik Nordwall
7d1a9e1d29 TestConductorSpec failure, final barrier missing, see #2440 2012-09-24 15:37:31 +02:00
Björn Antonsson
55f5e2dc6a Changed weird quotes in scaladoc. See #2528 2012-09-20 13:48:59 +02:00
Björn Antonsson
f9f4bf8c1f Changed multinode properties used by MultiNodeSpec. See #2528. 2012-09-20 12:01:49 +02:00
Roland
35b7a9e338 second round of FiniteDuration business, including cluster fixes
- make Scheduler only accept FiniteDuration, which has quite some
  knock-on effects
2012-09-18 09:58:30 +02:00
Roland
251a62293a unb0rk akka-actor-nightly build
This means tightening types from Duration to FiniteDuration in several
places; a good thing, since we replace runtime complaints by compile
time errors.
2012-09-14 16:44:38 +02:00
Björn Antonsson
fe7091e2d2 Typo in docs. #1802 2012-09-12 15:50:02 +02:00
Björn Antonsson
afe30e9038 Removed all dependencies to ScalaTest in the published artifacts. See #1802 2012-09-12 15:12:13 +02:00
Björn Antonsson
6c25954a2d Merge branch 'master' into wip-1802-multijvm-test-harnesses-needs-to-be-published-ban 2012-09-12 11:09:26 +02:00
Björn Antonsson
8974365ea2 Added missing copyright header. #1802 2012-09-12 10:28:17 +02:00
Patrik Nordwall
018a949678 Merge branch 'master' into wip-2103-cluster-routers-patriknw
Conflicts:
	akka-cluster/src/multi-jvm/scala/akka/cluster/ClientDowningNodeThatIsUnreachableSpec.scala
	akka-cluster/src/multi-jvm/scala/akka/cluster/ClientDowningNodeThatIsUpSpec.scala
	akka-cluster/src/multi-jvm/scala/akka/cluster/ConvergenceSpec.scala
	akka-cluster/src/multi-jvm/scala/akka/cluster/LeaderDowningNodeThatIsUnreachableSpec.scala
	akka-cluster/src/multi-jvm/scala/akka/cluster/LeaderElectionSpec.scala
	akka-cluster/src/multi-jvm/scala/akka/cluster/MultiNodeClusterSpec.scala
	akka-cluster/src/multi-jvm/scala/akka/cluster/SingletonClusterSpec.scala
	akka-cluster/src/multi-jvm/scala/akka/cluster/SplitBrainSpec.scala
	akka-cluster/src/multi-jvm/scala/akka/cluster/UnreachableNodeRejoinsClusterSpec.scala
	akka-cluster/src/test/scala/akka/cluster/ClusterSpec.scala
	akka-remote/src/main/scala/akka/routing/RemoteRouterConfig.scala
2012-09-11 10:55:47 +02:00
Björn Antonsson
7299450121 Make akka-testkit and akka-remote-tests contain enough for MultiNodeSpec. See #1802 2012-09-10 13:14:48 +02:00
Patrik Nordwall
b400b0b818 Merge branch 'master' into wip-2103-cluster-routers-patriknw
Conflicts:
	akka-remote/src/main/scala/akka/routing/RemoteRouterConfig.scala
2012-09-07 16:57:49 +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
7744081224 Incorporate review comments, see #2433 2012-08-31 11:16:57 +02:00
Patrik Nordwall
9f389a7950 Resizer specified in code combined with other router config, see #2433
* Use withFallback to use Resizer specified in code if not configured
* Use withFallback in RemoteRouterConfig also
* Fix bug of child name in RemoteRouteeProvider
2012-08-27 14:51:51 +02:00
Viktor Klang
9d097bcf50 Making it possible/mandatory to signal which ExecutionContext will actually execute something scheduled 2012-08-08 15:57:30 +02:00
Viktor Klang
1114da2198 Importing language features used by akka-cluster and akka-remote-tests 2012-07-26 14:47:21 +02:00
Roland
b2ce64fb6f fix up multi-jvm tests 2012-07-25 18:02:45 +02:00
Viktor Klang
6fc5fd393d Making sure that the multi-jvm tests compile 2012-07-25 16:33:21 +02:00
Viktor Klang
1261fab3af Removing akka.util.NonFatal and replacing it with scala.util.control.NonFatal 2012-07-22 15:33:18 +02:00
Viktor Klang
f3078263bc Making sure that akka-remote and akka-remote-tests compiles and that tests are green 2012-07-21 18:30:14 +02:00
Viktor Klang
52d33113d9 Partial work + broken commit 2012-07-04 15:25:30 +02:00
Viktor Klang
8ede1f55e9 Moving to s.c.EC and s.c.A, compiles but tests aren't passing 2012-06-29 16:40:36 +02:00
Viktor Klang
e62a0eee1c Merge with master 2012-06-29 16:07:36 +02:00
Viktor Klang
0bf45a9403 Initial work in moving to scala.concurrent.Await + Awaitable 2012-06-29 16:06:26 +02:00
Viktor Klang
54a3a44bf8 #2292 - Removing akka.util.Duration etc and replace it with scala.concurrent.util.Duration 2012-06-29 13:33:20 +02:00
Björn Antonsson
2ea0bba9e9 Cluster node that is UNREACHABLE and rejoins. see #2160 2012-06-29 13:24:46 +02:00
Patrik Nordwall
3d7360cd3c Merge pull request #567 from akka/wip-2239-large-cluster-patriknw
Test and improve gossip in large cluster
2012-06-29 04:12:55 -07:00
Patrik Nordwall
ab3a26d0d2 Fix LogRoleReplace, remote lifecyle not logged 2012-06-29 10:57:34 +02:00
Viktor Klang
dec7824de8 Merge branch 'master' into wip-scala210M4-√ 2012-06-28 15:55:47 +02:00