Commit graph

4528 commits

Author SHA1 Message Date
Patrik Nordwall
3554ad7243 Merge branch 'master' into wip-traversal-oriented-layout-master-patriknw 2017-03-10 18:16:44 +01:00
Johan Andrén
8f42a477e5 Include exception message in log on swallow NoStackTrace exception #22488 2017-03-10 10:59:49 +01:00
Konrad `ktoso` Malawski
67fd0cc0b6 =str #22438 make use of OptionVal in materializer internals 2017-03-10 10:44:43 +01:00
Nafer Sanabria
3e016e7887 Update the maximum serializer identifier reserved for Akka 2017-03-07 18:45:45 -05:00
Patrik Nordwall
0850fe328f Merge pull request #22340 from ortigali/wip-21170-default-blocking-io-dispatcher
Add default-blocking-io-dispatcher and make TTL configurable
2017-02-24 12:20:32 +01:00
ortigali
e9fdd47ac3 add default-blocking-io-dispatcher and make TTL configurable with Java DNS properties #21170
make default-blocking-io-dispatcher use a fixed pool #21170

reword configuration comment #21170
2017-02-24 15:19:51 +05:00
Patrik Nordwall
6205c13329 Merge pull request #22386 from akka/wip-17895-log-more-args-patriknw
improve docs for logging with more than 4 args, #17895
2017-02-24 10:30:26 +01:00
Patrik Nordwall
34d99c65ee improve docs for logging with more than 4 args, #17895
* it was already supported by using an Array
2017-02-24 07:46:41 +01:00
Patrik Nordwall
76ae1eb392 Merge pull request #22382 from akka/wip-22330-dns-master-patriknw
Select right IP address based on Java preferences, #22336 (for validation)
2017-02-23 17:15:14 +01:00
Javier Puerto
8a4d976815 Select right IP address based on Java preferences. (#22336)
* Change priority of DNS resolved addresses based on java.net.preferIPv6Addresses property. #22330

* Include test specs for IPv6 resolver selection. #22330

* Use Java system properties to retrieve the IPv6 preference. #22330

(cherry picked from commit 6406c0ed95bf295b27bbb0e7e8e228f5979a1336)
2017-02-23 16:09:08 +01:00
Patrik Nordwall
9821865212 deprecate contrib.JavaLogger, include in akka-actor, #22198 2017-02-22 08:36:32 +01:00
Johan Andrén
cf6d5a4e8a Deprecation of ExtensionKey #22208 2017-02-17 17:07:15 +01:00
Johan Andrén
8f9b4f203a Pass the deserialized message on when serialize-messages on #13751 2017-02-17 16:41:25 +01:00
Konrad `ktoso` Malawski
d306700feb =doc Make it easier to disable Java serialization, #22283 (#22315)
* one single config option to disable it completely
* improve security documentation

Co-authored-by: Patrik Nordwall <patrik.nordwall@gmail.com>
2017-02-16 14:09:04 +01:00
Roland Kuhn
5766cd701d allow named adapters and add receptionist to system 2017-02-15 10:47:02 +01:00
Johan Andrén
70f2beaf0b Fail fast + docs around mixing major Scala versions serializing #22004 2017-02-14 12:21:04 +01:00
Tal Pressman
79a6cdc2f2 Remove references to FSM's Ev matcher 2017-02-14 11:44:47 +01:00
Nafer Sanabria
2c9e013ce5 Upgrade Typesafe Config & slf4j 2017-02-12 16:40:12 -05:00
Andrey Baidarov
9e1d6774e5 Reset pendingSend on address resolution failure #22076 2017-02-11 19:20:41 +01:00
Patrik Nordwall
e46a1f6b50 Merge pull request #22258 from ortigali/wip-22182-untyped-actor
Convert remaining UntypedActor in docs
2017-02-05 19:22:48 -07:00
ortigali
760de5c6d4 Convert remaining UntypedActor in docs #22182 2017-02-04 11:51:30 +05:00
Johan Andrén
ec13aaa5bb Make the coordinated shutdown jvm hook work #22253 2017-02-02 16:06:12 -07:00
Patrik Nordwall
cc57b34b01 Merge pull request #22215 from akka/wip-after-throw-patriknw
handle IllegalStateException in CoordinatedShutdown
2017-01-25 14:32:20 +01:00
Patrik Nordwall
88a0114a8a Merge pull request #22210 from akka/wip-comp-warn-patriknw
fix some compilation warnings
2017-01-25 14:31:46 +01:00
Patrik Nordwall
233464f153 Merge pull request #22212 from akka/wip-22169-addser-default-patriknw
Enable additional-serialization-bindings by default, #22169
2017-01-25 14:29:53 +01:00
Patrik Nordwall
8fde7ada64 fix some compilation warnings 2017-01-25 12:34:19 +01:00
Patrik Nordwall
ca09f706eb Change signature of addJvmShutdownHook
* because with Scala 2.12 it can't infer the right overload
* prefer the `() =>`, but here it's clear that it's a callback
* similar in ActorSystem.registerOnTermination
2017-01-25 10:52:47 +01:00
Patrik Nordwall
ce27e8fe63 handle IllegalStateException in CoordinatedShutdown
* the call to after may throw if scheduler terminated
2017-01-25 07:14:26 +01:00
Patrik Nordwall
9df49be5d0 Enable additional-serialization-bindings by default, #22169
* and thereby it was also possibe to simplify the documentation
  in remoting
2017-01-24 18:52:49 +01:00
Patrik Nordwall
fa11ed1817 remove deprecated methods in routing, #21423 2017-01-24 13:35:47 +01:00
Patrik Nordwall
9c1ad65736 removal of deprecated constructor in PromiseActorRef, #21423 2017-01-24 13:34:11 +01:00
Patrik Nordwall
db74c33130 remove deprecated constructor in serializers, #21423 2017-01-24 13:34:05 +01:00
Patrik Nordwall
cc8c543b90 remove deprecated util.Crypt, #21423 2017-01-24 13:32:47 +01:00
Patrik Nordwall
e69fc6e934 remove some deprecated event bus classes, #21423 2017-01-24 13:32:46 +01:00
Patrik Nordwall
5afa66589f remove deprecated ActorPath.ElementRegex, #21423 2017-01-24 13:32:46 +01:00
Patrik Nordwall
0f8f47878b remove deprecated ActorSystem termination methods, #21423
* those were deprecated by #15757 before 2.4.0
2017-01-24 13:32:46 +01:00
Patrik Nordwall
9de19bf312 eager initialization of CoordinatedShutdown, #22191
* e.g. the jvm shutdown hook should be installed immediately
* noticed that it was initialized from artery shutdown
* run-by-jvm-shutdown-hook=off in multi-jvm tests
2017-01-23 21:35:45 +01:00
Patrik Nordwall
4bd6b7aab1 improve AbstractActor, #21717
* Receive class that wraps PartialFunction, to avoid
  scary scala types
* move AbstractActorContext to AbstractActor.ActorContext
* converting docs, many, many UntypedActor
* removing UntypedActor docs
* add unit test for ReceiveBuilder
* MiMa filters
* consistent use of getContext(), self(), sender()
* rename cross references
* migration guide
* skip samples for now
* improve match type safetyi, add matchUnchecked
  * the `? extends P` caused code like this to compile:
    `match(String.class, (Integer i) -> {})`
  * added matchUnchecked, since it can still be useful (um, convenient)
    to be able to do:
    `matchUnchecked(List.class, (List<String> list) -> {})`
* eleminate some scala.Option
  * preRestart
  * findChild
  * ActorIdentity.getActorRef
2017-01-23 18:30:52 +01:00
Patrik Nordwall
6c8a69109a Merge pull request #22138 from VEINHORN/master
Remove unnecessary new keywords
2017-01-17 19:31:45 +01:00
Patrik Nordwall
84ade6fdc3 add CoordinatedShutdown, #21537
* CoordinatedShutdown that can run tasks for configured phases in order (DAG)
* coordinate handover/shutdown of singleton with cluster exiting/shutdown
* phase config obj with depends-on list
* integrate graceful leaving of sharding in coordinated shutdown
* add timeout and recover
* add some missing artery ports to tests
* leave via CoordinatedShutdown.run
* optionally exit-jvm in last phase
* run via jvm shutdown hook
* send ExitingConfirmed to leader before shutdown of Exiting
  to not have to wait for failure detector to mark it as
  unreachable before removing
* the unreachable signal is still kept as a safe guard if
  message is lost or leader dies
* PhaseClusterExiting vs MemberExited in ClusterSingletonManager
* terminate ActorSystem when cluster shutdown (via Down)
* add more predefined and custom phases
* reference documentation
* migration guide
* problem when the leader order was sys2, sys1, sys3,
  then sys3 could not perform it's duties and move Leving sys1 to
  Exiting because it was observing sys1 as unreachable
* exclude Leaving with exitingConfirmed from convergence condidtion
2017-01-16 09:01:57 +01:00
VEINHORN
0eac4d413b removed unnecessary new keywords 2017-01-13 12:35:05 +03:00
Patrik Nordwall
956676d0bc Merge pull request #22089 from VEINHORN/master
Remove redundant new modifier
2017-01-12 15:34:59 +01:00
Konrad Malawski
5c79b81e92 +doc document DoNotInherit and ApiMayChange 2017-01-06 15:12:53 +01:00
Konrad Malawski
6fffeceb0d +act #22109 add documentation annotations in akka.annotation 2017-01-06 13:55:15 +01:00
Philippus Baalman
6c7085252a extended copyright into 2017 2017-01-04 17:37:15 +01:00
VEINHORN
29612565eb removed redundant new modifier 2017-01-03 11:59:42 +03:00
Patrik Nordwall
e494ec2183 catch NotSerializableException from deserialization, #20641
* to be able to introduce new messages and still support rolling upgrades,
  i.e. a cluster of mixed versions
* note that it's only catching NotSerializableException, which we already
  use for unknown serializer ids and class manifests
* note that it is not catching for system messages, since that could result
  in infinite resending
2016-12-16 20:14:37 +01:00
Johan "Party Cannon" Andrén
1861ec6756 WIP ActorSystemSettings programatic config #21894 2016-12-15 15:05:13 +01:00
Konrad Malawski
760bed9c59 =act deprecate direct use of BalancingDispatcher (hide as private[akka]) 2016-12-15 12:31:20 +01:00
Konrad Malawski
2ab8ab2840 =21423 remove deprecated PersistentView 2016-12-15 12:31:20 +01:00