Patrik Nordwall
1dac00a129
More props factories, see #3418
2013-05-31 08:09:56 +02:00
Roland Kuhn
51ed174432
Merge pull request #1508 from akka/wip-3391-SchedulerSpec-∂π
...
adapt SchedulerSpec rate test to 10ms time slices, see #3391
2013-05-30 08:05:28 -07:00
Roland Kuhn
f45ac18348
Merge pull request #1507 from akka/wip-3406-routee-start-∂π
...
only create the routees once they can be looked-up, see #3406
2013-05-30 08:04:41 -07:00
Roland Kuhn
8df8541801
Merge pull request #1500 from akka/wip-3210-local-only-∂π
...
make LocalScope mean “purely local” and avoid Props serialization check,...
2013-05-30 08:03:32 -07:00
Björn Antonsson
6e815a4a6e
Merge pull request #1510 from akka/wip-3312-supervisorhierarchyspec-takes-too-long-ban
...
Change workSchedule time to avoid SupervisorHierarchySpec running slow #3312
2013-05-30 07:59:34 -07:00
Björn Antonsson
584d2c04eb
Merge pull request #1509 from akka/wip-3407-ssltlssupportspec-failure-ban
...
Make the SslTlsSupportSpec AkkaSslHandler stop on all types of close #3407
2013-05-30 07:59:16 -07:00
Patrik Nordwall
07baf05bae
harmonize MyActor.props pattern, see #3418
2013-05-30 14:50:46 +02:00
Patrik Nordwall
37d742fb5d
Merge pull request #1501 from akka/wip-long-lines-patriknw
...
Wrap long lines, for pdf
2013-05-30 05:46:26 -07:00
Björn Antonsson
a136f8b0aa
Change workSchedule time to avoid SupervisorHierarchySpec running slow. See #3312
...
The analysis has shown the following:
* when it happens, no work is outstanding, the supervisor hierarchy is in a quiet state
* test completes normally in 20s, one observed outlier at 33s and two failures which can be extrapolated to 75s and 59s
* timings can be reproduced on a notebook by inserting Thread.slee(p) in Hierarchy.preRestart
* what happens then is that the FSM backs off (with 250ms timer), bursts work, backs off, etc.
* setting the back-off timeout to 50ms reduces runtime from 50s to 20s on the notebook
Preliminary conclusion is that this is an artifact of the test procedure. No indication was seen of corruption or indefinitely suspending actor or any other incorrect behavior.
2013-05-30 14:45:48 +02:00
Patrik Nordwall
95366cb585
Wrap long lines, for pdf
2013-05-30 14:45:15 +02:00
Patrik Nordwall
7c1ab68263
Merge pull request #1505 from akka/wip-another-cluster-experimental-patriknw
...
remove unused pom.xml with akka-cluster-experimental ref
2013-05-30 05:25:03 -07:00
Björn Antonsson
a528214f87
Make the SslTlsSupportSpec AkkaSslHandler stop on all types of close. See #3407
2013-05-30 14:24:45 +02:00
Björn Antonsson
279c601cca
Merge pull request #1506 from akka/wip-3390-remotenodedeathwatch-failure-ban
...
Add a barrier in RemoteNodeDeathWatchSpec to compensate for connection time #3390
2013-05-30 05:21:22 -07:00
Roland
fb9d10a767
adapt SchedulerSpec rate test to 10ms time slices, see #3391
...
using a larger sample will also make the spread of the resulting
calculated rate smaller; the referenced ticket is about a deviation from
the target rate which was slightly out of bounds
2013-05-30 13:16:39 +02:00
Roland
0af123aa6d
only create the routees once they can be looked-up, see #3406
...
- move the creation of the RoutedActorCell’s route into
ActorCell.start(); it used to be done in the constructor
- this requires “val route” to turn into a volatile private var
Thanks to Patrik for finding it!
2013-05-30 13:04:23 +02:00
Björn Antonsson
3f158385b9
Add a barrier in RemoteNodeDeathWatchSpec to compensate for connection time. See #3390
2013-05-30 11:55:31 +02:00
Björn Antonsson
9d2677a4cf
Merge pull request #1504 from akka/wip-2996-make-test-work-on-j9-ban
...
Make AkkaSpec getCallerName work on J9 #2996
2013-05-30 01:55:54 -07:00
Björn Antonsson
edd697a584
Merge pull request #1503 from akka/wip-3292-osgi-integration-test-ban
...
OSGi Make the integration test work again #3292
2013-05-30 01:40:29 -07:00
Patrik Nordwall
709a4a2868
remove unused pom.xml with akka-cluster-experimental ref
2013-05-30 08:21:30 +02:00
Björn Antonsson
b1170607a6
Make AkkaSpec getCallerName work on J9. See #2996
2013-05-30 07:48:53 +02:00
Roland Kuhn
9c89f170d2
Merge pull request #1490 from akka/wip-3377-Props.create-∂π
...
improve safety of Props.create by allowing Creator<T>, see #3377
2013-05-29 22:46:06 -07:00
Roland
f8fa825e48
improve safety of Props.create by allowing Creator<T>, see #3377
...
Props constructors need to be deprecated instead of being mutated
because we cannot just start throwing exceptions in people’s existing
code. Props.withCreator is deprecated for similar reasons, but also
because Props are about the creators, so replacing that after the fact
is not good style.
2013-05-29 23:40:27 +02:00
Roland
92db59183e
make LocalScope mean “purely local” and avoid Props serialization check, see #3210
2013-05-29 23:36:39 +02:00
Björn Antonsson
9797e00f0c
OSGi Make the integration test work again. See #3292
...
OSGi Adding ScalaBuff and removing experimental from cluster. See #3292
OSGi create bundle for ScalaBuff. See #3292
OSGi Make the integration test work again. See #3292
2013-05-29 22:27:24 +02:00
Patrik Nordwall
c5ce28da7f
Merge pull request #1496 from akka/wip-3408-ClusterSingletonManager-leaving-order-patriknw
...
Fix exiting ordering problem in ClusterSingletonManager, see #3408
2013-05-29 07:30:59 -07:00
Patrik Nordwall
552ff9c84c
Merge pull request #1497 from akka/wip-3409-CoordinatedIncrementSpec-patriknw
...
Increase ask timeout in CoordinatedIncrementSpec, see #3409
2013-05-29 07:24:36 -07:00
Patrik Nordwall
91716a5cf9
Merge pull request #1498 from akka/wip-3413-ConcurrentActivationTest-patriknw
...
Dilate ask timeout in ConcurrentActivationTest, see #3413
2013-05-29 07:23:53 -07:00
Patrik Nordwall
bcda4f7ab8
Merge pull request #1499 from akka/wip-fix-footnote-patriknw
...
Footnote breaks pdf generation
2013-05-29 06:30:38 -07:00
Patrik Nordwall
dfbf2eb96a
Footnote breaks pdf generation
2013-05-29 15:03:15 +02:00
Patrik Nordwall
a7d57fd485
Merge pull request #1495 from akka/wip-3233-optimize-warn-patriknw
...
Warn about -optimize flag, see #3233
2013-05-29 04:44:53 -07:00
Patrik Nordwall
20d4a1dd0c
Merge pull request #1494 from akka/wip-3331-upd-cluster-docs-patriknw
...
Mark not impl parts in Cluster Specification, see #3331
2013-05-29 03:01:25 -07:00
Patrik Nordwall
5cda24db07
Dilate ask timeout in ConcurrentActivationTest, see #3413
2013-05-29 11:47:38 +02:00
Patrik Nordwall
a525c52f35
Increase ask timeout in CoordinatedIncrementSpec, see #3409
2013-05-29 09:51:06 +02:00
Patrik Nordwall
146e2c0719
Fix exiting ordering problem in ClusterSingletonManager, see #3408
...
* The problem was:
- first is leaving, second is new oldest
- two actors subscribe to cluster events, OldestChangedBuffer and ClusterSingletonManager
- ClusterSingletonManager receives MemberExited(first), and then also MemberRemoved(second)
before OldestChangedBuffer receives MemberExited(first) and delivers
OldestChanged(first->second)
- MemberRemoved(second) is the result of the cluster extension shutdown
- because ClusterSingletonManager gets the MemberRemoved(second) before the OldestChanged
it will not send the hand over data to second
- second becomes new singleton after retry period, as designed, but without hand over data
* The solution is to check the selfExited flag in Oldest state, similar to what is done
in WasOldest
* I considered the alternative to tunnel all member events through same subscriber,
but that would involve more changes to the code
2013-05-29 09:11:43 +02:00
Roland Kuhn
003588eef5
Merge pull request #1487 from akka/wip-3394-creationVsDispatcher-∂π
...
remove fallback to default-dispatcher, see #3394
2013-05-28 23:41:20 -07:00
Viktor Klang (√)
8e53a59e84
Merge pull request #1485 from akka/wip-3335-connect-timeout-√
...
#3335 - Adding connection timeout to TCP connections
2013-05-28 11:12:37 -07:00
Viktor Klang (√)
96c68b7bce
Merge pull request #1493 from akka/wip-3405-fix-race-in-mpsc-√
...
#3405 - fix race between consumer and producer for MPSC
2013-05-28 11:11:45 -07:00
Viktor Klang
1f694a3612
#3405 - fix race between consumer and producer for MPSC
2013-05-28 16:54:58 +02:00
Patrik Nordwall
3250efedef
Warn about -optimize flag, see #3233
2013-05-28 16:46:51 +02:00
Patrik Nordwall
bb030fa394
Mark not impl parts in Cluster Specification, see #3331
2013-05-28 16:24:30 +02:00
Patrik Nordwall
42224fbc28
Merge pull request #1492 from akka/wip-getting-started-patriknw
...
Getting started link to Activator
2013-05-28 07:18:16 -07:00
Patrik Nordwall
933c067a88
Merge pull request #1491 from akka/wip-3272-must-should-patriknw
...
Remove redundant should/must in tests, see #3272
2013-05-28 07:17:43 -07:00
Patrik Nordwall
852be1b9bb
Merge pull request #1489 from akka/wip-3192-fixme-patriknw
...
FIXME in cluster, see #3192
2013-05-28 07:17:16 -07:00
Patrik Nordwall
ae9d28d8c3
Merge pull request #1486 from akka/wip-3348-ClusterStats-patriknw
...
Disable cluster stats by default, see #3348
2013-05-28 07:16:44 -07:00
Patrik Nordwall
a323936299
Disable cluster stats by default, see #3348
...
* Add VectorClockStats
2013-05-28 16:15:57 +02:00
Roland Kuhn
a4af04ca09
Merge pull request #1484 from akka/wip-3192-FIXMEs-∂π
...
fix some FIXMEs, see #3192
2013-05-28 06:57:07 -07:00
Roland Kuhn
a5364fc496
Merge pull request #1488 from akka/wip-3393-Trigger-NPE-∂π
...
do not close over context.self in TickGenerator, see #3393
2013-05-28 06:41:40 -07:00
Roland
f802c94b9b
remove fallback to default-dispatcher, see #3394
2013-05-28 15:40:00 +02:00
Björn Antonsson
6ec9d932dd
Merge pull request #1481 from akka/wip-3341-split-out-mailbox-documentation-ban
...
Split mailbox documentation into a separate section #3341
2013-05-28 06:29:28 -07:00
Viktor Klang
15039a846f
#3335 - Adding connection timeout to TCP connections
2013-05-28 15:21:02 +02:00