Commit graph

1401 commits

Author SHA1 Message Date
Patrik Nordwall
a1d7199a42 =rem #16623: Fix concurrent reliable delivery actors
(cherry picked from commit 4f7c90660226b05edc3581454d18fd53a4762802)

Conflicts:
	project/AkkaBuild.scala
2015-01-19 10:03:40 +01:00
Roland Kuhn
f0be7f8a21 Merge pull request #16429 from hepin1989/master
=rem #16428 optimize protobuf serializer for master
2015-01-15 15:17:37 +01:00
Konrad Malawski
e110cd1213 Merge pull request #16595 from Arneball/master-arneball-patch
Rebased 16537 - Constant moved to val, will removed unneccesary allocation
2015-01-13 17:23:34 +01:00
Raul Bache
51f5454581 =act Constant value made a val to avoid unnecessary allocation
Changed the parameter type of targetName in PromiseActorRef#apply and changed so that toString of targetName is called once the value is actually needed, eg in the case of timeout.

The creating of the String used in the AskTimeOutException will then be deferred to when timeouts actually occur rather than before, as it was before this change.

Callsites of PromiseActorRef#apply are changed so that they instead of ActorSel#toString and ActorRef#toString send the ActorSel / ActorRef itself, thus not creating the Strings from toString unless necessary, saving StringBuilders and char[] used in ActorRef#toString and ActorSel#toString
2015-01-07 23:56:02 +01:00
hepin
a19e02b9e5 =rem #16428 optimize protobuf serializer 2014-12-23 01:52:55 +08:00
Sergey Krauchenia
f08f1727fb =act, ker, rem, doc #16330 deprecate akka.util.Crypt
* deprecate akka.util.Crypt
* fix documentation after deprecating
2014-12-20 13:30:37 +03:00
Ostapenko Evgeniy
dee5ad3deb =act #16361 Added more information to AskTimeoutException 2014-11-27 11:54:02 +03:00
Konrad Malawski
fd498d34a5 Merge pull request #16322 from carrot-garden/name-space-for-loggers
= akka-*: full name space for loggers - resolve #16138
2014-11-19 09:46:15 +01:00
Patrik Nordwall
4c7adf919f Merge pull request #16276 from akka/wip-15530-remote-log-cause-patrikwn
+rem #15530 Include cause in some remote log messages
2014-11-19 07:42:33 +01:00
Andrei Pozolotin
d83acb92c3 = akka-*: full name space for loggers - resolve #16138
reflect logger name changes in the migration guide

fix typo in migration guide

fix typo in migration guide (xml)
2014-11-18 09:17:07 -06:00
Björn Antonsson
1a5007009d =rem #16241 Added helpful message for remoting startup timeout. 2014-11-11 10:00:49 +01:00
Patrik Nordwall
4a505cdc81 +rem #15530 Include cause in some remote log messages 2014-11-11 08:15:37 +01:00
Konrad 'ktoso' Malawski
3f12ef262f !clu #15042 useRole restriction on local node is now respected
This is an API breaking change if someone implemented their own Routers.
The change is required because the router must know if the local routees
should be started or not so it has to check the roles of the cluster
member (the local one). We could delay this decision of starting local
routees, but that would allow messages to be dead-letter-ed (bad).
2014-10-31 22:33:23 +01:00
Martynas Mickevičius
9311e9474e =pro Grab binary version for MIMA combatibility testing from a setting.
Thanks to @jsuereth
2014-10-28 15:13:13 +02:00
Martynas Mickevicius
47556a0ebf =rem #15007 add ability to bind to a different address than the remoting waits messages from
This can be used to traverse NATs with the following configuration:

akka.remote.netty.tcp {
  ...
  hostname = my-external-address.lt
  bind-hostname = 192.168.1.100
}

Use Akka BoundAddressesExtension to get bound addresses
2014-09-15 18:30:12 +03:00
Roland Kuhn
1eda0d9b23 =act,clu,rem #15828 Turkish I bug
Conflicts:
	akka-cluster/src/main/scala/akka/cluster/ClusterSettings.scala
2014-09-09 10:05:19 +02:00
Konrad Malawski
bb0955d635 Merge pull request #15782 from ktoso/wip-props-with-nulls-ktoso
=act,rem #13946 fix handling of null parameters in Props
2014-09-01 16:50:03 +02:00
Konrad 'ktoso' Malawski
f13d4975cc =act,rem #13946 fix handling of null parameters in Props
+ Props creation with nulls does not fail any longer
+ null values are now serialised properly and can be used in remote
  deployments too
+ added tests for Reflect.findConstructor
> does not change wire protocol, so that's open for discussion (if we
> want it to be more like SerialisedMessage or not)

Resolves #13946
2014-09-01 13:33:16 +02:00
Patrik Nordwall
cc1f85ed80 =rem #15100 Harden InetRNGSpec 2014-08-29 15:52:39 +02:00
Viktor Klang
b8c634451f +act - 15757 - Changes the signature of ActorSystem.terminate() and ActorSystem.whenTerminated() to be of Future[Terminated] iso Future[Unit] 2014-08-26 10:57:47 +02:00
Patrik Nordwall
0fd9198f5d +act #13992 Improve identify replies of wildcard selections
(cherry picked from commit 4747b18d66fafb5699168288b09b7f39da5c2e4e)

Conflicts:
	akka-actor/src/main/scala/akka/actor/ActorSelection.scala
	project/AkkaBuild.scala
2014-06-23 12:19:03 +02:00
Patrik Nordwall
4a8f24870c =rem #13923 Mute log and stack traces in RemoteInitErrorSpec 2014-06-04 09:16:30 +02:00
Csongor Somogyi
5e978220a5 =rem #13923 Fixes hanging ActorSystem termination
* occurs on failed RemoteActorRef initialization
* fixed shutting down Netty when startup fails
* fixed registering ActorSystem's termination hook before ActorRefProvider
  initialization
* added new test case (checking if no threads left after a failed actor
  system initialization)
2014-05-30 13:43:37 +02:00
Endre Sándor Varga
0e46db47d9 =rem #15109: Separate field in Pass for refuseUid
- Fixes #15109
  - also fix GotUid race with InvalidAddress supervision event
(cherry picked from commit 3fe83fa)
2014-05-15 14:33:16 +02:00
Martynas Mickevicius
fdcd964165 =pro #15031 separate sbt build file for every module 2014-05-14 10:05:09 +02:00
Patrik Nordwall
a97de7db90 =rem #13960 #13989 #13742 #13985 Optimize EndpointWriter
* Replace stash with internal bufferi, j.u.LinkedList
* Replace FSM with become
* Adaptive backoff, important to backoff, but not for too long,
  depends on environment and use case
* Prioritize heartbeat messages from remote watcher and cluster
  failure detector
* Use payload messages as heartbeats for transport failure detector,
  change transport failure detector to be based on absolute timeout,
  see ticket #13989 and #13742
* Log remote disassociate from transport failure detector,
  see ticket #13985
* Add benchmark sample in akka-sample-remote-scala
2014-04-24 13:39:58 +02:00
Björn Antonsson
f7b0c49045 =rem #3967 Handle refused connections as association failures 2014-04-07 15:27:17 +02:00
Endre Sándor Varga
f69a94a3f4 =rem 3933: Quarantine piercing should not lose quarantine marker
(cherry picked from commit 7c8160b)
2014-03-25 15:10:45 +01:00
Roland Kuhn
b97a257f9a =rem #3930 part 2: track UID of associated systems
for proper clean-up of the old association (including the writer) when
the restarted system connects before the old association has been torn
down
2014-03-21 20:43:14 +01:00
Roland Kuhn
cada750240 =act,rem #3930 part 1: remote daemon watches parents
also stop child actors which are replaced in VirtualPathContainers
2014-03-21 20:43:13 +01:00
Patrik Nordwall
514e0cc297 !rem #3920 Remove LogRemoteLifecycleEvents 2014-03-14 14:12:36 +01:00
Patrik Nordwall
1e445b4eba !act,rem,clu #3920 Remove deprecated old routers 2014-03-14 14:12:11 +01:00
Patrik Nordwall
67925cb94e =act, rem #2556 Optimize subscriptions of AddressTerminated
* unsubscribe in eventStream is too slow when using many actors
  that are watching remote actors, and becomes a problem for example
  when shutting down such a system
* Previous eventStream solution:
  Stopping 20000 actors took 50355 ms
* This solution:
  Stopping 20000 actors took 764 ms
2014-03-12 10:17:34 +01:00
Roland Kuhn
4dd5fe3257 Merge pull request #2047 from drexin/wip-3858-make-case-classes-final-drexin
=all #3858 Make case classes final
2014-03-11 16:06:31 +01:00
dario.rexin
826cc74de3 !tes #2971 Make TestKit.remaining throw AssertionError outside of within 2014-03-11 11:23:12 +01:00
dario.rexin
2cbad298d6 =all #3858 Make case classes final 2014-03-07 13:20:01 +01:00
Björn Antonsson
8e32b4577c Merge pull request #2053 from drewhk/wip-3902-reduce-drop-in-stresstest-drewhk
=rem #3902: Reduce disassociate errors in remote stress-test
2014-03-04 13:56:03 +01:00
Björn Antonsson
51f9501a0d Merge pull request #2049 from drewhk/wip-3787-loglevel-fix-forwardport-drewhk
=rem #3787: Fix wrong loglevels in remote events logging
2014-03-04 13:36:17 +01:00
Endre Sándor Varga
0c41e008d9 =rem #3902: Reduce disassociate errors in remote stress-test 2014-03-03 15:06:12 +01:00
Roland Kuhn
b5eeb08fde +act #3900 make systemActorOf available to Extensions 2014-03-03 12:00:25 +01:00
Endre Sándor Varga
824e4b4666 =rem #3787: Fix wrong loglevels in remote events logging (forward port) 2014-02-28 15:20:28 +01:00
Endre Sándor Varga
e69d068cc0 =rem #3879: Stop sysmsg redelivery for unknown systems after a timeout 2014-02-19 14:44:19 +01:00
Patrik Nordwall
1e86e6436b Merge pull request #2007 from akka/wip-3870-stop-redelivery-to-unknown-patriknw
=rem #3870 Stop re-delivery of system messages when watching non-existing sys
2014-02-13 12:54:46 +01:00
Patrik Nordwall
23b9fad153 Merge pull request #2001 from akka/wip-3867-endpointWriter-patriknw
=rem #3867 Make sure endpointWriter is terminated before ungate
2014-02-13 12:37:10 +01:00
Patrik Nordwall
12746fe555 Merge pull request #1989 from akka/wip-3620-doc-deploy-conf-patriknw
=doc #3620 Add unified documentation of deployment section
2014-02-13 12:21:33 +01:00
Patrik Nordwall
fa215ff965 =doc #3620 Add unified documentation of deployment section 2014-02-13 12:20:26 +01:00
Patrik Nordwall
aa6bdd197e =rem #3870 Stop re-delivery of system messages when watching non-existing sys
* We don't know the UID so we can't quarantine, but we can stop the endpoint
  writer and drop outstanding system messages
2014-02-13 11:27:53 +01:00
Roland Kuhn
f958760aee Merge pull request #1857 from danielhopkins/3748-actorselection
3748 actorselection helpers
2014-02-13 08:30:06 +01:00
Patrik Nordwall
35b1d6879a =rem #3867 Make sure endpointWriter is terminated before ungate
* actor name [endpointWriter] is not unique
* The problem was that the test used 100ms until ungate and
  that made it possible for the endpointWriter to not be
  completely terminated (and removed) before Ungate and
  new Send in idle state, which created new endpointWriter
* I could reproduce it with a sleep in EndpointWriter.postStop
* The solution is to start the scheduled Ungate after Terminated
  has been received
2014-02-10 14:41:48 +01:00
Patrik Nordwall
f1edf78979 Merge pull request #1980 from vossad01/wip-3838-SetCopyrightYear2014-vossad01
Update Copyright to 2014, see #3838
2014-02-06 11:14:38 +01:00