Commit graph

58 commits

Author SHA1 Message Date
Endre Sándor Varga
cc15919512 =rem #3527 Throw away system message delivery state when new UID from a remote Address is detected 2013-08-22 11:02:51 +02:00
Endre Sándor Varga
01b3be1242 +rem #3485 Make dispatcher for all remoting actors configurable 2013-08-20 14:01:30 +02:00
Endre Sándor Varga
634d60d027 ! remoting: EndpointWriter uses mailbox requirements instead of dispatchers #3480 2013-07-01 12:16:06 +02:00
Endre Sándor Varga
e6e5be859b Fixes for leaked connection
- Also introduces reason in the Disassociate message
 - Reliable delivery now transitions from idle to active if there are pending system msgs
 - Minor fix in merging receive buffers (reduces resends)
 - Tweaked WireFormat
 - Removed busy-wait in startup
 - throwing the proper exception type in EndpointReader
 - InvalidAssociationException extends NoStackTrace
2013-06-20 17:28:26 +02:00
Endre Sándor Varga
46fb44737c Proper handoff of readers #3286 2013-06-03 15:59:05 +02:00
Patrik Nordwall
fbadb89962 Merge pull request #1513 from akka/wip-3177-remote-exc-msg-patriknw
Improve logging in remoting, see #3177
2013-06-03 02:09:02 -07:00
Patrik Nordwall
1dbe65f53e Improve logging in remoting, see #3177
* Supress TimeoutReason logging
* Add logTermination in FSM
* Improve some error messages, incl making them unique
* Cookie only logged if debug enabled
2013-05-30 21:37:57 +02:00
Patrik Nordwall
07baf05bae harmonize MyActor.props pattern, see #3418 2013-05-30 14:50:46 +02:00
Roland
92db59183e make LocalScope mean “purely local” and avoid Props serialization check, see #3210 2013-05-29 23:36:39 +02:00
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