Commit graph

12466 commits

Author SHA1 Message Date
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
Viktor Klang
c38be1bc4a Preserving Envelopes in UnstartedActorCell as requested by Mr Pink 2013-01-18 12:17:32 +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
Derek Mahar
8a47ccf0c6 Update akka-docs/rst/general/actor-systems.rst 2013-01-17 22:26:06 -05:00
Derek Mahar
564ba01434 Update akka-docs/rst/general/actor-systems.rst 2013-01-17 22:14:36 -05:00
Mathias
7384e07d9b improvements from the first round of feedback, see #2885 and #2887 2013-01-17 17:31:08 +01:00
Johannes Rudolph
9bcca4003a in tests make sure to get a server address that is highly probable to be currently unbound 2013-01-17 15:07:00 +01:00
Johannes Rudolph
7d89aefb63 use a direct buffer pool for buffers needed for channel.read/write
The major advantage of this approach is that a Write is only copied once
into its direct buffer and this direct buffer is kept until it is written
fully.
2013-01-17 14:46:21 +01:00
Johannes Rudolph
18aecef4bd fix issues discussed in the pull request 2013-01-17 14:45:50 +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
Johannes Rudolph
e11c3fe6bb fix assertion error typo 2013-01-16 17:08:42 +01:00
Johannes Rudolph
e22c80655d refactor tests to reuse common connection setup 2013-01-16 17:08:42 +01:00
Mathias
27d111b1f5 tcp selector and listener actors, extension of tcp manager actor, see #2885 and #2887 2013-01-16 15:24:48 +01:00
Johannes Rudolph
be9abae1e3 tcp connection actors, see #2886 2013-01-16 15:11:35 +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
drewhk
284e64f7c5 Merge pull request #1017 from drewhk/wip-2887-tcpmanager-drewhk
Created top level manager for TCP based IO #2887
2013-01-14 00:35:44 -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
Roland Kuhn
e885efa71a Merge pull request #1019 from spray/wip-IO
update/improve design docs as background info for IO layer, see #2890
2013-01-11 05:28:25 -08:00
Mathias
ab228c0941 update/improve design docs as background info for IO layer, see #2890 2013-01-11 14:19:50 +01:00
Endre Sándor Varga
091ac35e7b Created top level manager for TCP based IO #2887 2013-01-11 13:20:40 +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
Roland Kuhn
b99c5dc1ed Merge pull request #1014 from akka/wip-2888-IO-extension-∂π
add Tcp IO extension and first draft of settings/options, see #2888
2013-01-10 07:45:08 -08:00
Roland
52e393c6c8 add Tcp IO extension and first draft of settings/options, see #2888 2013-01-10 16:44:44 +01:00
Patrik Nordwall
223865d672 Replace noSender in DeadLetterActorRef, see #2882 2013-01-10 16:02:36 +01:00
Roland Kuhn
a6e5d73e31 Merge pull request #1010 from akka/wip-2890-design-docs-∂π
add design docs as background info for IO layer, see #2890
2013-01-10 03:20:58 -08:00
Roland
f47f973f3c add design docs as background info for IO layer, see #2890 2013-01-10 12:20:17 +01:00
Roland Kuhn
12145c0e96 Merge pull request #1009 from spray/wip-IO
Add first version of TCP message protocol
2013-01-09 08:59:22 -08:00