Patrik Nordwall
d98a7ef1e8
Cluster singleton failure due to down-removed, see #3130
...
* The scenario was that previous leader left.
* The problem was that the new leader got MemberRemoved
before it got the HandOverDone and therefore missed the
hand over data.
* Solved by not changing the singleton to leader when receiving
MemberRemoved and instead do that on normal HandOverDone or
in failure cases after retry timeout.
* The reason for this bug was the new transition from Down to
Removed and that there is now no MemberDowned event. Previously
this was only triggered by MemberDowned (not MemberRemoved) and
that was safe because that was "always" preceeded by unreachable.
* The new solution means that it will take longer for new singleton
to startup in case of unreachable previous leader, but I don't
want to trigger it on MemberUnreachable because it might in the
future be possible to switch it back to reachable.
2013-03-11 12:37:35 +01:00
Patrik Nordwall
01bfb9378e
Logging of joining
2013-03-08 15:47:03 +01:00
Patrik Nordwall
1c910c729e
Merge pull request #1233 from akka/wip-3133-MBeanSpec-patriknw
...
Increase within timeout in MBeanSpec, see #3133
2013-03-08 06:45:27 -08:00
Björn Antonsson
26fcd1afd9
Merge pull request #1234 from akka/wip-3129-transitionspec-failed-ban
...
TransitioinsSpec can't use address ordering to check who's leader. See #3129
2013-03-08 02:27:50 -08:00
Björn Antonsson
e00c551550
TransitioinsSpec can't use address ordering to check who's leader. See #3129
2013-03-08 09:05:51 +01:00
Patrik Nordwall
b614b14803
Increase within timeout in MBeanSpec, see #3133
...
* 5 seconds for detecting unreachable is not always enough
2013-03-08 08:59:42 +01:00
Rich Dougherty
a78e26ae41
Merge pull request #1211 from akka/wip-3110-test-thread-dump-rich
...
Dump diagnostics (Coroner's Report) if a test takes too long. Fixes #3110
2013-03-07 23:21:35 -08:00
Rich Dougherty
f6a14cb5ac
Dump diagnostics (Coroner's Report) if a test takes too long. Fixes #3110
2013-03-08 12:39:19 +13:00
Roland
7933fa5d0d
make config switchable in initialCommands for SBT console
2013-03-07 19:59:59 +01:00
Patrik Nordwall
3f29adcee5
Merge pull request #1231 from akka/wip-2930-tmp-ignore-patriknw
...
Temporary ignore failing tests, see #2930
2013-03-07 06:53:33 -08:00
Patrik Nordwall
238ffbfc7b
Temporary ignore failing tests, see #2930
2013-03-07 15:18:59 +01:00
Patrik Nordwall
925f2dc003
Merge pull request #1224 from akka/wip-3075-pub-member-events-patriknw
...
Publish member events when state change first seen, see #3075
2013-03-07 06:03:38 -08:00
Patrik Nordwall
d72d48301a
Joining member should not be leader, see #3021
...
* Prefer members with status Up or Leaving, and as
fallback use Joining, Exiting, Down
* Minor scaladoc fixes
2013-03-07 14:07:17 +01:00
Patrik Nordwall
5b844ec1e6
Publish member events when state change first seen, see #3075
...
* Remove InstantMemberEvent
2013-03-07 14:07:17 +01:00
Patrik Nordwall
5c7747e7fa
Transition from Down to Removed, see #3075
2013-03-07 14:02:42 +01:00
Roland Kuhn
c3c904761f
Merge pull request #1229 from akka/wip-fix-javadoc-∂π
...
fix formatting of Java API in doc comments + genjavadoc 0.3
2013-03-07 04:52:06 -08:00
Roland
bcfbea42c1
fix formatting of Java API in doc comments + genjavadoc 0.3
2013-03-07 09:05:55 +01:00
Björn Antonsson
1680702f5d
Merge pull request #1222 from akka/wip-3115-clusterstressspec-failure-ban
...
Merge gossip seen table when versions are the same. See #3115
2013-03-06 22:54:55 -08:00
Björn Antonsson
78c3ca359a
Fixes according to review. See #3115
2013-03-06 16:55:46 +01:00
Björn Antonsson
cd847e3a29
Merge pull request #1214 from akka/wip-3064-tcpconnectionspec-times-out-ban
...
Back off if another thread has processed all messages for this actor. See #3064
2013-03-06 06:41:51 -08:00
Roland Kuhn
5b819f4784
Merge pull request #1213 from kevinwright/abstract-agent-3108
...
Made `Agent` an abstract trait
2013-03-06 06:26:32 -08:00
Björn Antonsson
ccdee92961
Back off if another thread has processed all messages for this actor. See #3064
2013-03-06 14:05:04 +01:00
Roland Kuhn
7a0680f768
Merge pull request #1225 from akka/wip-javadoc-∂π
...
integrate genjavadoc, see #3122
2013-03-06 02:42:29 -08:00
Roland Kuhn
2444971ade
Merge pull request #1223 from akka/wip-fish-ignore-patriknw
...
Use fishForMessage instead of ignoreMsg, see #3116
2013-03-06 00:49:21 -08:00
Roland
7e7c1140b8
build unified javadocs (under target/genjavadoc-api), see #3122
...
this also changes the akka_*-javadoc.jar to contain the assembled
javadocs
2013-03-06 09:46:26 +01:00
Kevin Wright
df55bc44c9
Make SecretAgent final (sorry James, you knew it couldn't last forever!) and standardised doc comment.
...
Add `Actor.create` factory method to 2.1->2.1 migration docs
2013-03-06 08:20:50 +00:00
Patrik Nordwall
b2bdcfebaf
Use fishForMessage instead of ignoreMsg, see #3116
...
* ignoreMsg doesn't filter already received messages
2013-03-06 08:39:56 +01:00
Patrik Nordwall
119797bfdd
Merge pull request #1221 from akka/wip-3112-FutureDocTestBase-patriknw
...
Adjust timing in FutureDocTestBase, see #3112
2013-03-05 12:02:07 -08:00
Patrik Nordwall
8a22d9c98b
Merge pull request #1220 from akka/wip-3116-ClusterSingletonManagerSpec-patriknw
...
Harden ClusterSingletonManagerSpec, see #3116
2013-03-05 12:01:43 -08:00
Patrik Nordwall
49b8bdde45
Merge pull request #1219 from akka/wip-3103-TimerBasedThrottlerSpec-patriknw
...
Harden TimerBasedThrottlerSpec, see #3103
2013-03-05 12:01:06 -08:00
Roland
77c18fc128
add javadoc to most projects
2013-03-05 19:10:45 +01:00
Björn Antonsson
e2f5fec8d8
Merge pull request #1216 from akka/wip-3040-statssamplespec-failed-ban
...
Adding more information in TestKit asserts. See #3040
2013-03-05 04:05:21 -08:00
Björn Antonsson
fad4289b1b
Merge gossip seen table when versions are the same. See #3115
2013-03-05 12:49:35 +01:00
Patrik Nordwall
0e7063b4bf
Adjust timing in FutureDocTestBase, see #3112
...
* Corresponding scala test uses the same value
2013-03-05 11:01:04 +01:00
Patrik Nordwall
2cba3606ae
Harden ClusterSingletonManagerSpec, see #3116
...
* One of the test steps was not deterministic and verification too strict
* Created a separate test for the chaotic scenarios
2013-03-05 10:47:11 +01:00
Roland
e32f7d8474
javadoc-ify akka-actor
2013-03-04 23:40:29 +01:00
Patrik Nordwall
1445f07217
Harden TimerBasedThrottlerSpec, see #3103
...
* Race between throttler timer and within/expectNoMsg
* Use within intervals instead of expectNoMsg
2013-03-04 16:42:34 +01:00
Björn Antonsson
370d6451c7
Actually use the correct timeout value in the cluster StressSpec. See #3092
2013-03-04 15:43:51 +01:00
drewhk
15857ee0e6
Merge pull request #1202 from drewhk/wip-3089-fixed-l10n-tcp-tests-drewhk
...
Fixed TcpConnetionSpec to be l10n aware #3089
2013-03-04 05:36:57 -08:00
Endre Sándor Varga
cbe582454c
Fixed TcpConnetionSpec to be l10n aware #3089
2013-03-04 14:35:00 +01:00
Viktor Klang (√)
1fbedeba0f
Merge pull request #1217 from akka/wip-habana-√
...
Adding some cuban sigar
2013-03-04 05:17:28 -08:00
Viktor Klang
0fea7ed68a
Adding some cuban sigar
2013-03-04 13:44:50 +01:00
drewhk
52e1bb3d92
Merge pull request #1215 from drewhk/wip-3055-confirmedclose-tcp-drewhk
...
Fixed race between async close() and ChannelReadable message in tests #3...
2013-03-01 08:34:36 -08:00
Endre Sándor Varga
f8d178502e
Fixed race between async close() and ChannelReadable message in tests #3055
2013-03-01 16:21:27 +01:00
drewhk
4a4ec9cf76
Merge pull request #1212 from drewhk/wip-3111-init-race-transportadapter-drewhk
...
Fixing invalid causality assumption in AbstractTransportAdapter #3111
2013-03-01 07:02:08 -08:00
Roland Kuhn
fad7193ab2
Merge pull request #1210 from akka/wip-dsl-import-∂π
...
clarify context needed for ActorDSL.actor()
2013-02-28 23:03:39 -08:00
Kevin Wright
f305ed72a8
Made Agent an abstract class, pushed existing implementation into a private SecretAgent class and added a java-lovin' factory method. See #3108
2013-02-28 23:14:46 +00:00
Roland
36cbf96d8e
clarify context needed for ActorDSL.actor() and add @implicitNotFound
2013-02-28 15:07:53 +01:00
drewhk
7884c6a71c
Merge pull request #1209 from drewhk/wip-3099-testtransport-improvement-drewhk
...
Fixes in test transport and others #3099
2013-02-28 03:37:37 -08:00
Björn Antonsson
f0fa124d32
Merge pull request #1205 from akka/wip-3050-akka-cluseter-stressspec-failed-ban
...
Make sure that all nodes use tha same number of rounds in the test. See #3050
2013-02-28 03:25:19 -08:00