Patrik Nordwall
a67fa18f8d
Reduce unwanted logging from remoting, see #2826
...
* Handle logging in EndpointManager supervisorStrategy
* Added some more exception types to be able to differentiate
failures
2013-03-11 13:36:00 +01:00
Patrik Nordwall
f4d59383d7
Log actor failures in supervisor, see #2824
...
* To make it possible to override with application
specific logging, or mute logging for certain failures
* Changed log level of Resume failures to WARNING, which
caused all the changes to the tests
2013-03-11 13:33:37 +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
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
Endre Sándor Varga
71f0ad8211
Fixing invalid causality assumption in AbstractTransportAdapter #3111
2013-02-28 12:19:41 +01:00
Endre Sándor Varga
50cac91632
Fixed according to review comments
2013-02-28 12:01:28 +01:00
Endre Sándor Varga
16188a2458
Fixed backoff delay to be read from RemotingSettings
2013-02-27 14:04:33 +01:00
Endre Sándor Varga
6f2f1db33d
Fixed regression caused by fixes in previous commit
2013-02-27 12:06:29 +01:00
Endre Sándor Varga
947e7e4518
TestTransport does not rely on onSuccess for writes
...
Fixed incorrectly reported backpressure by trttl
Added retry logic for initial associate
2013-02-26 16:24:27 +01:00
Endre Sándor Varga
330b1cd627
Hardened flushing code in Remoting #3036
2013-02-26 11:10:47 +01:00
Patrik Nordwall
645f1956d7
Merge pull request #1165 from akka/wip-2879-copyright-patriknw
...
Change more copyright to 2009-2013, see #2879
2013-02-21 12:45:07 -08:00
Patrik Nordwall
2a45d99ab3
Change more copyright to 2009-2013, see #2879
...
* Also added some missing headers
2013-02-20 21:26:52 +01:00
Patrik Nordwall
0f01ffe3a0
Add fail fast checks to prevent null message, see #2800
...
(cherry picked from commit 5526f9d2a8b01f944ff078ce57f2a03c21649d05)
* Added null check in Envelope.apply
2013-02-20 13:36:42 +01:00
Patrik Nordwall
9ed701a75c
Restore ssl settings in reference.conf, see #3022
...
* Cleanup and addition of configuration tests for remote settings
2013-02-11 14:45:00 +01:00
Björn Antonsson
814ba1c02a
Merge pull request #1115 from akka/wip-2977-remotingspec-ssl-failure-ban
...
We can't set the SHA1PRNG random source reliably from within Akka. See #2977
2013-02-11 00:25:26 -08:00
Patrik Nordwall
323e5c80b5
Polish the API/SPI of remoting, see #2827
...
* Changed TransportAdapterProvider to support java impl
* Verified java impl of AbstractTransportAdapter and
ActorTransportAdapter
* Privatized things that should not be public api
* Consistent usage of INTERNAL API marker in scaladoc
* Added some missing doc in conf
* Added missing SerialVersionUID
2013-02-10 17:47:43 +01:00
Björn Antonsson
a54659e5b4
We can't set the SHA1PRNG random source reliably from within Akka. See #2977
2013-02-08 16:20:40 +01:00
Patrik Nordwall
a651875020
Use configured hostname instead of getHostName, see #2997
...
* getHostName may trigger reverse name lookup
* use the configured hostname in all places
2013-02-06 14:11:15 +01:00
Patrik Nordwall
939893ef5f
Preserve sender when sending to deadLetters, see #3009
2013-02-04 12:41:58 +01:00
Björn Antonsson
6440e385f1
Merge pull request #1079 from akka/wip-2954-transport-startup-timeout-patriknw
...
Increase remoting startup/shutdown timeouts, see #2954
2013-02-01 04:48:00 -08:00
Patrik Nordwall
157a25bcde
Failure detector refactoring, see #2690
...
* Failure detector was previously copied with refactoring to
akka-remote and this refactoring makes use of that and removes
the failure detector in akka-cluster
* Adjustments to reference.conf
* Refactoring of FailureDetectorPuppet
2013-02-01 10:08:39 +01:00
Roland
ddbde50a14
remove old “direct” router references, see #2978
2013-01-31 16:22:08 +01:00
Viktor Klang (√)
5164e2e08e
Merge pull request #1096 from akka/wip-2986-ActorContext-executor-√
...
#2986 - Changing ActorContext and ActorRefFactory's dispatcher to retur...
2013-01-31 06:42:12 -08:00
Viktor Klang
e519e3dc3b
#2986 - Changing ActorContext and ActorRefFactory's dispatcher to return ExecutionContext
2013-01-31 15:41:31 +01:00
Patrik Nordwall
9dc124dacd
Remove work-around for sending to broken connections, see #2909
...
* Previous work-around was introduced because Netty blocks when sending
to broken connections. This is supposed to be solved by the non-blocking
new remoting.
* Removed HeartbeatSender and CoreSender in cluster
* Added tests to verify that broken connections don't disturb live connection
2013-01-31 13:41:02 +01:00
Patrik Nordwall
89b31c995c
Merge pull request #1090 from akka/wip-2870-rm-catch-tell-patriknw
...
Remove try ... catch constructs around invokations of tell, see #2870
2013-01-31 04:39:41 -08:00
Patrik Nordwall
f89dd49954
Share same instance of deadLetters between LARP and RARP, see #2983
2013-01-31 11:28:08 +01:00
Roland
b881963907
make sure that InterruptExceptions are not swallowed, see #2963
...
also remove an old work-around in CallingThreadDispatcherModelSpec and
describe the rules for interrupting in the testing docs
2013-01-29 17:26:15 +01:00
Patrik Nordwall
f9611178a3
Remove try ... catch constructs around invokations of tell, see #2870
2013-01-29 16:10:46 +01:00
Endre Sándor Varga
2773b685d1
Fixed mismatched RemoteConfigSpec with reference.conf
2013-01-29 14:17:37 +01:00
drewhk
3e54c347dc
Merge pull request #1077 from drewhk/wip-2959-cluster-deathwatch-fix-drewhk
...
Dead letters containing remote envelopes handled correctly #2959
2013-01-29 03:07:51 -08:00
Endre Sándor Varga
e0a9dd70ba
Dead letters containing remote envelopes handled correctly #2959
...
- New DeadLetter class for handling remoting specific envelopes
- Fixed error handling of name lookups
- Name lookup is now handled via futures (future refactor opportunity)
2013-01-29 11:31:53 +01:00
Patrik Nordwall
735d76ec79
Increase remoting startup/shutdown timeoutsi, see #2954
2013-01-28 15:59:41 +01:00
Björn Antonsson
bd25c94445
Keep the dispatcher inhabitants count balanced. See #2919
...
Conflicts:
akka-remote/src/test/scala/akka/remote/UntrustedSpec.scala
2013-01-28 15:06:14 +01:00
Endre Sándor Varga
8795c8dd3c
Reversed order in which adapters are applied from config
...
Needed to be aligned with the new scheme format
2013-01-25 11:42:57 +01:00
drewhk
fe22c7515f
Reversed protocol scheme order in Addresses
2013-01-24 17:23:51 +01:00
Endre Sándor Varga
f338acb3fb
Fixed missing hostname setting in RemotingSpec
2013-01-24 14:35:46 +01:00
Endre Sándor Varga
99adbdfab4
Changed and documented new remoting configuration #2593
2013-01-24 12:35:05 +01:00
drewhk
9935337d8e
Merge pull request #1057 from akka/wip-netty-port-patriknw
...
Change wrong netty port conf in tests
2013-01-24 03:23:50 -08:00
Endre Sándor Varga
580a2484a9
Added blocking handshake for outbound SSL connections #2833
...
- Eliminated "Promise passing style" and using future composition wherever possible
2013-01-24 10:21:33 +01:00
Patrik Nordwall
4a5695f9d8
Change wrong netty port conf in tests
2013-01-24 09:53:18 +01:00
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
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
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
Endre Sándor Varga
5bce8b9430
Fixed issue with Netty not releasing worker threads properly #2733
2013-01-14 16:05:49 +01: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