Commit graph

11982 commits

Author SHA1 Message Date
Patrik Nordwall
5dc108567d Style change of def starting with if
* When a def starts with if and is not a oneliner the if
  should be on a new line.
* The reason is that it might be easy to miss the if when
  reading the code.
2013-01-18 13:28:49 +01:00
Patrik Nordwall
1557f0c75b Merge pull request #1032 from akka/wip-2905-StressSpec-exercise-supervision-patriknw
Unique barriers for each round in StressSpec.exerciseSupervision, see #2905
2013-01-18 04:14:18 -08:00
Patrik Nordwall
bdd69f7cdd Unique barriers for each round in StressSpec.exerciseSupervision, see #2905
* Looks like the issue was caused by a mixup of barriers and/or name
  of the result aggregator actor
2013-01-18 13:13:38 +01:00
Patrik Nordwall
06807e73b8 Merge pull request #1029 from akka/wip-2907-heartbeats-patriknw
Detect failure when no heartbeats sent, see #2907
2013-01-18 04:10:02 -08:00
Patrik Nordwall
8b4e903e7d Detect failure when no heartbeats sent, see #2907
* Subscribe to InstantMemberEvent and start heartbeating when
  InstantMemberUp. Same for metrics.
* HeartbeatNodeRing data structure for bidirectional mapping of
  heartbeat sender and receiver. Not using ConsistentHash anymore.
  Node addresses are hashed to ensure that neighbors are spread out.
* HeartbeatRequest when receiver detects that it has not received
  expected heartbeats.
* New test InitialHeartbeatSpec that simulates the problem
* Add/remove some related conf properties
* Add some more logging to be able to diagnose eventual problems
* Explicit config of nr-of-end-heartbeats
2013-01-18 12:54:09 +01:00
drewhk
c5685a0855 Merge pull request #1031 from drewhk/wip-2780-removal-of-old-remoting-drewhk
Removed remaining parts of the old remoting #2780
2013-01-18 03:10:57 -08:00
Björn Antonsson
398840c204 Merge pull request #1037 from akka/wip-2862-leaking-netty-threads-ban
Leaking Netty threads causes file handle exhaustion
2013-01-18 02:19:05 -08:00
Björn Antonsson
a694946f19 Clean up network connections from the test coordinator and player. See #2862 2013-01-18 10:28:21 +01:00
Björn Antonsson
eaff56defe Shut down both client and server channels. See #2862 2013-01-18 08:45:42 +01:00
Endre Sándor Varga
b08c331577 Fixed problems handling passive connections in Remoting #2878
- Fixed potential race in EndpointWrite when TakeOff is processed
- Reenabled accidentally disabled gremlin due to changed defaults
- Fixed EndpointRegistry incorrectly handling passive connections
2013-01-17 14:37:29 +01:00
drewhk
2dd3697b5c Merge pull request #1028 from drewhk/wip-2878-out-of-order-msg-in-stresstest-drewhk
Fixed problems handling passive connections in Remoting #2878
2013-01-17 03:41:05 -08:00
Endre Sándor Varga
4f3469ed47 Fixed problems handling passive connections in Remoting #2878
- Fixed potential race in EndpointWrite when TakeOff is processed
- Reenabled accidentally disabled gremlin due to changed defaults
- Fixed EndpointRegistry incorrectly handling passive connections
2013-01-17 12:38:26 +01:00
Patrik Nordwall
d983104a7f Merge pull request #1025 from akka/wip-2803-instant-member-events-patriknw
Publish InstantMemberEvent immediately, see #2803
2013-01-15 09:23:48 -08:00
drewhk
1b533412b5 Merge pull request #1024 from drewhk/wip-2733-netty-workerpool-shutdown-drew
Fixed issue with Netty not releasing worker threads properly #2733
2013-01-15 05:58:17 -08:00
Roland Kuhn
af0906b506 Merge pull request #1020 from akka/wip-2836-ActorRefSpec-∂π
make ActorRefSpec more deterministic, see #2836
2013-01-15 01:09:30 -08:00
Patrik Nordwall
8aa6ae868c Merge pull request #1015 from akka/wip-2882-deadletter-null-sender-patriknw
Replace noSender in DeadLetterActorRef, see #2882
2013-01-14 10:43:37 -08:00
Patrik Nordwall
79303a1785 Incorparate review comments, see #2803 2013-01-14 19:32:52 +01:00
Patrik Nordwall
d07f331e78 Publish InstantMemberEvent immediately, see #2803 2013-01-14 19:13:48 +01:00
Endre Sándor Varga
5bce8b9430 Fixed issue with Netty not releasing worker threads properly #2733 2013-01-14 16:05:49 +01:00
Roland Kuhn
c321f735f3 Merge pull request #1022 from drewhk/wip-2715-upgrade-netty-3-6-1-drewhk
Updated Netty to 3.6.1.Final #2715
2013-01-14 06:34:59 -08:00
Viktor Klang (√)
6b638db65e Merge pull request #1006 from akka/wip-2879-copyright2013-√
#2879 - updating copyright info
2013-01-14 04:59:29 -08:00
Endre Sándor Varga
ba6e977995 Updated Netty to 3.6.1.Final #2715 2013-01-14 09:33:39 +01:00
Roland Kuhn
9f2a0afc05 Merge pull request #1016 from maffoo/wip-2898-hwt-fix-mgn
Fix HashedWheelTimer to properly handle timeouts that are multiple of wheel period
2013-01-11 12:39:10 -08:00
Roland
e188699c09 make ActorRefSpec more deterministic, see #2836 2013-01-11 17:40:49 +01:00
Patrik Nordwall
586aa38b62 Merge pull request #1018 from akka/wip-2872-npe-defaultAddress-patriknw
Throw startup exception from Remoting, see #2872
2013-01-11 04:09:04 -08:00
Patrik Nordwall
cb41c1f930 Merge pull request #1008 from akka/wip-2875-TransformationSampleJapiSpec-patriknw
Correction of within time in TransformationSampleJapiSpec, see #2875
2013-01-11 03:33:44 -08:00
Patrik Nordwall
316f9eed66 Merge pull request #1007 from akka/wip-2877-propagate-statusPromise-throttler-patriknw
Propagate statusPromise down to the actual change in throttler, see #2877
2013-01-11 02:18:49 -08:00
Patrik Nordwall
265eaef1f6 Confirmation of throttle mode change, see #2877
* added some missing copyright headers
* Use ask inside ThrottlerTransportAdapter
* Change signature of managementCommand
2013-01-11 11:15:32 +01:00
Patrik Nordwall
f96da34792 Merge pull request #1000 from akka/wip-2871-publish-on-clearState-patriknw
Publish clean state when joining (PublishStart), see #2871
2013-01-11 02:05:25 -08:00
Roland Kuhn
9f39d940a0 Merge pull request #984 from Crossing-Tech/master
akka-osgi provides configurations files in the etc directory (no need to repackage the bundle for configuration modification)
2013-01-11 01:44:55 -08:00
Patrik Nordwall
bf47a16447 Throw startup exception from Remoting, see #2872
* The problem with NPE of defaultAddress was because if the
  init of the transport takes long time (network timeout) the
  defaultAddress was never set
2013-01-11 09:55:42 +01:00
Matthew Neeley
382dc3b1e4 Fix HashedWheelTimer when timeout is multiple of wheel period #2898 2013-01-10 16:14:12 -08:00
Patrik Nordwall
223865d672 Replace noSender in DeadLetterActorRef, see #2882 2013-01-10 16:02:36 +01:00
Patrik Nordwall
8c6eb9aa42 Correction of within time in TransformationSampleJapiSpec, see #2875
* We had the same issue in ticket 2820 and then the conclusion was that
  the within timeout should be increased due to "publish on convergence",
  but it was not done correctly in TransformationSampleJapiSpec, see
  8bf7c03158
* Also fixed the wrong (but harmless) subscribe in TransformationBackend
2013-01-09 17:04:52 +01:00
Patrik Nordwall
be2d5977b8 Merge pull request #1003 from akka/wip-protocol-pattern-LogRoleReplace-patriknw
Adjust protocol pattern in LogRoleReplace for new remoting
2013-01-09 06:34:44 -08:00
Patrik Nordwall
8a880c16d2 Adjust protocol pattern in LogRoleReplace for new remoting 2013-01-09 15:33:28 +01:00
drewhk
abb209d466 Merge pull request #1001 from drewhk/wip-2867-throttlertransport-failed-drewhk
Fixed startup race in transport adapters #2867
2013-01-09 03:15:27 -08:00
Viktor Klang
adfeb2c1f0 #2879 - updating copyright info 2013-01-09 11:38:00 +01:00
Patrik Nordwall
9faccf6270 Remove todo ReentrantReadWriteLock 2013-01-09 11:06:57 +01:00
Patrik Nordwall
67297b516e Merge pull request #1005 from akka/wip-2877-revert-patriknw
Revert "Propagate statusPromise down to the actual change in throttler, ...
2013-01-08 12:02:29 -08:00
Patrik Nordwall
dec4542f11 Revert "Propagate statusPromise down to the actual change in throttler, see #2877"
This reverts commit 9c1a00d020.
2013-01-08 20:58:13 +01:00
Patrik Nordwall
943c438d5e Publish clean state when joining (PublishStart), see #2871
* The failure in JoinTwoClustersSpec was due to missing publishing
  of cluster events when clearing current state when joining
* This fix is in the right direction, but joining clusters like this
  will need some design thought, creating ticket 2873 for that
2013-01-08 19:32:36 +01:00
Patrik Nordwall
5d53ec0c52 Merge pull request #1002 from akka/wip-2877-throttler-ack-patriknw
Propagate statusPromise down to the actual change in throttler, see #2877
2013-01-08 09:13:41 -08:00
Roland Kuhn
554e3396ca remove extra "the" in docs 2013-01-08 18:08:22 +01:00
Roland Kuhn
bddc992a78 Merge pull request #1004 from drewhk/wip-2833-only-ssl-client-handshakes-drewhk
Only client should issue an SSL handshake #2833
2013-01-08 08:57:27 -08:00
Patrik Nordwall
a0cb4b3782 Merge pull request #940 from akka/wip-2786-cluster-stress-patriknw
Stress / long running test of cluster, see #2786
2013-01-08 06:15:06 -08:00
Patrik Nordwall
46d376b3e5 Remove LargeClusterSpec, superseded by StressSpec, see #2786 2013-01-08 15:09:51 +01:00
Endre Sándor Varga
695fe02e58 Only client should issue an SSL handshake #2833 2013-01-08 14:05:55 +01:00
Patrik Nordwall
9c1a00d020 Propagate statusPromise down to the actual change in throttler, see #2877
* added some missing copyright headers
2013-01-08 13:11:53 +01:00
Endre Sándor Varga
48216980fc Fixed startup race in transport adapters #2867 2013-01-08 11:45:15 +01:00