Endre Sándor Varga
c36ff9717d
Quarantining completely disables outbound attempts #3285
...
- also a bugfix for use-passive = off
2013-05-24 17:21:40 +02:00
drewhk
beed693c1b
Merge pull request #1473 from drewhk/wip-proper-sync-shutdown-remoting-drewhk
...
Shutdown of transports are now synchronous with system shutdown #3368
2013-05-23 07:03:24 -07:00
Endre Sándor Varga
4c3853a999
Shutdown of transports are now synchronous with system shutdown #3368
2013-05-23 14:50:31 +02:00
Patrik Nordwall
0464c524be
Error reporting when starting remoting with wrong configuration, see #3373
...
* Handle failure from listens
* This also solves the missing error reporting when binding to occupied
port, see #3319
2013-05-22 15:39:45 +02:00
Patrik Nordwall
3d1c0a7325
Connection retries to shutdown node, see #3326
...
* In EC2 connection time out is around 1 minute. A few messages
were sent after quarantining and these caused endless restarts,
and connect attempts with 1 minute interval.
* This change makes sure that the endpoint is stopped after the first
failed connection attempt.
* Changed default settings for netty connection-timeout, and matching
retry window to allow for 3 restarts
2013-05-13 17:09:30 +02:00
Björn Antonsson
539df2e98a
Enforce mailbox types on System actors. See #3273
2013-05-03 11:05:32 +02:00
Dario Rexin
8a2e522a6e
removed deprecation warnings from akka-remote
2013-04-26 21:07:38 +02:00
Endre Sándor Varga
25c75f9e7e
Fixed bug in outbound quarantine
2013-04-19 15:31:03 +02:00
Endre Sándor Varga
efbc0a781f
Quarantine is in wrong block
2013-04-19 13:36:39 +02:00
Endre Sándor Varga
444b73bec6
Fixed review comments
...
- Using Duration.Undefined
- Quarantine message is actually handled ;)
2013-04-19 12:33:12 +02:00
Endre Sándor Varga
33e2710bf9
Hooked in quarantining
2013-04-19 11:39:28 +02:00
Endre Sándor Varga
2b0a27be9e
Added acknowledged delivery of system messages
2013-04-18 16:10:20 +02:00
Patrik Nordwall
bc06a266b8
Supress stack trace for exc thrown when remoting is stopped
2013-04-08 17:16:40 +02:00
Viktor Klang (√)
641e499cc4
Merge pull request #1287 from akka/wip-2970-lightweight-ec-form-promiseactorref-√
...
#2970 - Removing scheduler and dispatcher from ARP and reimplementing P...
2013-04-03 11:23:54 -07:00
Viktor Klang
fcfe7b4617
#2970 - Removing scheduler and dispatcher from ARP and reimplementing PromiseActorRef to use an internal calling thread EC
2013-04-03 19:12:03 +02:00
Björn Antonsson
33080a4155
Correctly serialize local actor refs from other actor systems. See #3137
2013-04-03 10:32:13 +02:00
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
Endre Sándor Varga
330b1cd627
Hardened flushing code in Remoting #3036
2013-02-26 11:10:47 +01: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
Patrik Nordwall
939893ef5f
Preserve sender when sending to deadLetters, see #3009
2013-02-04 12:41:58 +01: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
Endre Sándor Varga
99adbdfab4
Changed and documented new remoting configuration #2593
2013-01-24 12:35:05 +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
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
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
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
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
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
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
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
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
66ccefe00e
Workaround for tests relying on accurate throttling
...
- increased default capacity of token bucket in testconductor (Player)
2012-12-19 15:47:30 +01:00
Endre Sándor Varga
37877fa3ed
Fixes by Roland:
...
- exhaustive matches in AkkaProtocolTransport
- handling of Terminated in flushing state in Remoting
- various fixes of warnings
2012-12-19 15:12:29 +01:00
Endre Sándor Varga
4c7691fe40
Removed implicit conversions from ActorRef to AssociationEventListener and HandleEventListener
2012-12-18 14:30:04 +01:00
Endre Sándor Varga
752e43a0e7
Implemented strictly ordered shutdown between remoteDaemon and transport in RARP.
2012-12-18 14:30:03 +01:00
Endre Sándor Varga
b886fcd54c
Added clarifications to driver-adapter stack building method
2012-12-18 14:29:25 +01:00
Endre Sándor Varga
eb3a0de01b
Added flushing shutdown to Remoting
2012-12-18 14:29:21 +01:00
Endre Sándor Varga
ddcb2192eb
Improved protocol driver stack initialization sequence
2012-12-18 14:28:50 +01:00
Endre Sándor Varga
8dc60cca4e
- Added AddressUrlEncoder to centralize address string encoding at one place
...
- Removed HasTransport trait from NettyHelpers
- Fixed unsafe initialization of boss and worker executors in netty driver when using an akka dispatcher
2012-12-18 14:27:00 +01:00
Endre Sándor Varga
6bd64d55bd
- Fixes in contrib and docs
...
- Fixed getExternalAddressFor
2012-12-18 14:26:55 +01:00
Endre Sándor Varga
f1177464ad
Fixed handling of passive connections in the failureinjector and remoting
2012-12-18 14:26:54 +01:00
Endre Sándor Varga
fbdd830a08
- Removed usage of nulls from Remoting
...
- Eliminated dangerous closed-over states in Props usages
2012-12-18 14:26:05 +01:00
Endre Sándor Varga
d46a4b6916
- Removed usage of null from Endpoint
...
- Fixed race resolution logic in FailureDetectorRegistry to not create unnecessary instances
2012-12-18 14:24:37 +01:00
Endre Sándor Varga
9f006789fc
Made RemotingEvents sealed and final
2012-12-18 14:23:38 +01:00
Endre Sándor Varga
0705d47a88
Streamlined configuration, transport adapters and FailureInjector
...
- Transports no longer uses raw ActorRefs as listeners but proper interfaces.
- Added managementCommand support to Transports
- Added support for dynamically loadable transport adapters
- Added throttler/failure injector transport adapter
- added actor based adapter support
- Changed configuration method of multiple transports - Fixed tests to work with the new remoting
2012-12-03 10:06:38 +01:00
Endre Sándor Varga
5b96c28acd
Fixed according to review comments.
2012-11-22 13:33:48 +01:00
Endre Sándor Varga
a0a860f0f7
Several fixes of the Remoting and Endpoint
...
- correct registration of endpoints
- passive endpoints now registered to detect parallel incoming connections
- special care to avoid multiple existing endpoints for the same remote addresses (concurrent inbound or outbound communication leads to out-of-order delivery)
2012-11-21 16:39:04 +01:00
Endre Sándor Varga
682abccf7e
Added defaultAddress() to RemoteTransport API
2012-11-21 14:18:24 +01:00
Endre Sándor Varga
5f9253b79e
New Remoting implementation (iteration 3) #2053
...
- Asynchronous lockless remoting
- Pluggable transport drivers
- Multiple transport support
- Simplified lifecycle events
- Support for netty based TCP, SSL+TCP and UDP support
- Updated Akka protocol with soft-state connections and failure detection
- Refactored failure detectors (currently duplicated from cluster)
2012-10-29 16:32:15 +01:00