Commit graph

1787 commits

Author SHA1 Message Date
Konrad Malawski
6ecab411b8 Revert "=act,rem #17911 handle IPv6 Addresses better" 2016-01-07 11:03:18 +01:00
Konrad Malawski
c1f20cd9fa Merge pull request #19353 from akka/wip-17911-safe-ipv6-address-handling-johanandren
=act,rem #17911 handle IPv6 Addresses better
2016-01-07 10:34:09 +01:00
Johan Andrén
711c407a8f =act,rem #17911 handle IPv6 Addresses better
* NettyTransport will autowrap IPv6 addresses in brackets if needed
* Address asserts that IPv6 addresses are wrapped in brackets
2016-01-05 21:47:45 +01:00
Johan Andrén
5053bd007a =act #19341 increase timeout of askspec testcase 2016-01-05 11:18:51 +01:00
Raymond Roestenburg
2404a9da01 #19246 Auto and manual reset and BackoffOptions.
Also moved `TransparantExponentialBackoffSupervisor` to `akka.pattern` (renamed to `BackoffOnRestartSupervisor`)
2015-12-29 21:23:16 +02:00
Patrik Nordwall
a1c3dbe307 =act #19201 improve configuration of thread-pool-executor
* The old implementation would cap the pool size (both corePoolSize
  and maximumPoolSize) to max-pool-size, which is very confusing
  becuase maximumPoolSize is only used when the task queue is bounded.
* That resulted in configuring core-pool-size-min and core-pool-size-max
  was not enough, because it could be capped by the default max-pool-size.
* The new behavior is simply that maximumPoolSize is adjusted to not be
  less than corePoolSize, but otherwise the config properties match the
  underlying ThreadPoolExecutor implementation.
* Added a convenience fixed-pool-size property.
2015-12-21 09:50:02 +01:00
Konrad Malawski
9abb1eaea6 +act #19085 adds Java API ByteString#createBuilder 2015-12-04 13:07:56 +01:00
Patrik Nordwall
bba8495a39 Merge pull request #18998 from jypma/pfbuilder_api_master
PFBuilder matchAny should take declared input type I
2015-11-24 11:44:22 +01:00
Patrik Nordwall
054e292563 Merge pull request #18944 from akka/wip-18487-BackofSupervisor-decider-patriknw
+act #18487 Support custom supervision strategy in BackoffSupervisor
2015-11-24 10:40:19 +01:00
Jan Ypma
9c1c3f3b2c !act #18996 PFBuilder matchAny should take declared input type I
Currently PFBuilder.matchAny takes a lambda with Object as input argument.
This loses type information for partial functions that are not akka
receive functions, e.g. exception handlers (PF<Exception,RouteResult).
With this change, the fallback handler still has the guaranteed type I
visible on its lambda.
2015-11-23 13:19:40 +01:00
drewhk
2bd88eab5c Merge pull request #18931 from lolski/lolski-issue-18913
moving PrettyDuration and PrettyDurationSpec to akka.util
2015-11-23 12:58:11 +01:00
lolski
8819535250 +act #18913 moved PrettyDuration to akka-actor 2015-11-21 00:01:51 +08:00
Patrik Nordwall
3f3642337e +act #18487 Support custom supervision strategy in BackoffSupervisor
* and forward messages from child to parent
  (needed for sharding passivation)
2015-11-16 17:46:02 +01:00
Anton Karamanov
0e31184c91 +act #15819 Add PromiseRef and FutureRef as an alternative to ask pattern 2015-11-13 01:25:28 +03:00
Anton Karamanov
254c478ebb +act #15819 Create ask() variant that can be used without sender() 2015-11-13 01:25:28 +03:00
Johan Andrén
ea22eca7fd =act #18607 Test failing on timeout not happening
Changed the future to never complete to be sure there is no racing
2015-11-11 12:35:31 +01:00
Andrea
cd3d68a77c =act switch to java std lib ThreadLocalRandom 2015-11-06 14:04:33 +01:00
Patrik Nordwall
ac82354077 Merge pull request #18552 from johanandren/wip-18371-warn-about-java-serialization-johanandren
=act #18371 Warn if the default Java serializer is used
2015-10-26 08:34:11 +01:00
Kailuo Wang
90cba9ce0d +act #18356 Metrics based resizer for router 2015-10-22 11:14:00 -04:00
Johan Andrén
146bb89e23 =act #18371 Warn if the default Java serializer is used
Unless the message is in akka.* or the configuration setting 'akka.actor.warn-about-java-serializer-usage'
is disabled a warning is logged for each class that the Java serializer is choosen for.
2015-10-21 10:10:24 +02:00
Patrik Nordwall
9e8168479a =act #18346 Document scheduler task throws 2015-09-10 17:03:18 +02:00
Patrik Nordwall
b4e482e092 +act #16629 Possibility to receive messages that not reset receiveTimeout
Need this for AtLeastOnceDelivery

Messages marked with `NotInfluenceReceiveTimeout` will not reset the timer.
This can be useful when `ReceiveTimeout` should be fired by external inactivity
but not influenced by internal activity, e.g. scheduled tick messages.

add to rst docs also
2015-08-19 15:29:22 +02:00
Patrik Nordwall
81caeb4fc6 =act #15040 ScatterGatherFirstCompleted reply when no routees 2015-08-18 18:04:34 +02:00
Patrik Nordwall
af4d09857c =act #17842 Move BackoffSupervisorSpec to akka-actor-tests
* it was forgotten in the previous move of BackoffSupervisor
2015-08-12 14:56:31 +02:00
Konrad Malawski
ce3180be6e =act 18160 harden SchedulerSpec slightly 2015-08-10 13:19:28 +02:00
Konrad Malawski
5d746b40b1 =act,per additional test for onTransition behaviour when initialize() called 2015-07-10 00:52:26 +02:00
Martynas Mickevičius
aaa6b623e1 Merge pull request #17892 from 2m/wip-relax-actor-system-spec
=act #17822 harden ActorSystemSpec
2015-07-03 08:41:51 +03:00
Martynas Mickevičius
8346e40f39 =act #17822 harden ActorSystemSpec 2015-07-02 10:04:47 +03:00
Konrad Malawski
140c4dcdce =pro #17855 dont publish benchmarks or tests, fix license in bench 2015-07-01 17:05:12 +02:00
Konrad Malawski
2a5161ff6f !per #17755 removes the saved callback in plugins and adds receive 2015-06-25 13:44:03 +02:00
Konrad Malawski
9e3a9983a7 +act #17719 introduce Tuple3-22 classes for java api 2015-06-23 15:01:35 +02:00
Konrad Malawski
2c606383e5 Merge pull request #17763 from ktoso/wip-17690-validations-in-root-actor-path-ktoso
=act #17690 add additional validation for name param in RootActorPath
2015-06-22 17:16:53 +02:00
Konrad Malawski
e89402dda0 =act #17690 add additional validation for name param in RootActorPath 2015-06-18 10:46:16 +02:00
Patrik Nordwall
d19f694821 Merge pull request #17490 from akka/wip-17010-logger-mailbox-patriknw
=act #17010 Drain log messages on system shutdown
2015-06-17 16:49:42 +02:00
Patrik Nordwall
156e2a0aea =act #17010 Drain log messages on system shutdown
* by using a special mailbox that emits the remaining log messages
  to the StandardOutLogger
2015-06-17 15:32:30 +02:00
drewhk
078019c906 Merge pull request #17539 from akka/wip-17530-blocking-CTD-∂π
=act #17530 fix BatchingExecutor vs. CallingThreadDispatcher
2015-06-12 15:53:12 +02:00
Patrik Nordwall
c81b7273a1 add test 2015-05-29 12:33:05 +02:00
Martynas Mickevičius
0b15a8c2f4 Merge pull request #17532 from 2m/wip-pr-multi-jvm
=pro run multi-jvm tests when validating pr
2015-05-28 16:03:34 +03:00
Martynas Mickevičius
7fc2790458 =pro run multi-jvm tests when validating pr
* addunidoc task via an AutoPlugin that depends on PrValidation and Unidoc autoplugins
* separate cli option logic to a case class
* remove autoplugin for root project
2015-05-28 13:57:50 +03:00
Patrik Nordwall
198fdcf93f =act #17415 fix concurrency bug in CircuitBreaker
* transition did not account for concurrent transistions

(cherry picked from commit 2a73e77f66202b1bd5a5918329b9dd34448ce7b6)
2015-05-28 11:14:56 +02:00
Roland Kuhn
5dc25fbb44 add crosscompilation for 2.12.0-M1 2015-05-21 21:09:30 +02:00
Roland Kuhn
b549ab9d45 =act #17530 fix BatchingExecutor vs. CallingThreadDispatcher 2015-05-21 12:49:53 +02:00
Roland Kuhn
18688fc84b = #17380 fix doc comments for java8 doclint
* actor and cluster-metrics comments
* agent/camel/cluster/osgi/persistence/remote comments
* comments in contrib/persistence-tck/multi-node/typed
2015-05-18 12:51:36 +02:00
Patrik Nordwall
1fdaa07e45 Merge pull request #17443 from akka/wip-17441-BalancingSpec-patriknw
=act #17441 Harden BalancingSpec
2015-05-13 10:11:02 +02:00
Roland Kuhn
25ddd1b253 =act #16327 fix BatchingExecutor.blockOn
It contained a difficult to hit race condition that was exploited with
the help of a custom same-thread execution context by Play (its Iteratee
trampoline). In short: don’t resubmit the current Batch if it contains
an unsynchronized variable.

(cherry picked from commit 6d6b9048ddaa72e7b7f1183dabf550b78de6d4e4)
2015-05-12 12:40:44 +02:00
Patrik Nordwall
b30e460be7 = #17342 Make 2.4 binary compatible with 2.3
(cherry picked from commit 89af8bdb90)

* remove final identifier in serializers

i* revert/deprecate ProtobufSerializer.ARRAY_OF_BYTE_ARRAY

* adding back compatible empty constructor in serializers

* make FSM.State compatible

* add back ActorPath.ElementRegex

* revert SocketOption changes and add SocketOptionV2
  see a6d3704ef6

* problem filter for ActorSystem and ActorPath

* problem filter for ByteString

* problem filter for deprecated Timeout methods

* BalancingPool companion

* ask

* problem filter for ActorDSL

* event bus

* exclude hasSubscriptions

* exclude some problems in testkit

* boundAddress and addressFromSocketAddress

* Pool nrOfInstances

* PromiseActorRef

* check with 2.3.9

* migration guide note

* explicit exclude of final class problems
2015-05-11 21:11:52 +02:00
Patrik Nordwall
139606dcbb =act #17441 Harden BalancingSpec 2015-05-11 11:42:26 +02:00
hepin
e4baf1d82e +act #17274 make ForkJoinPool asyncMode configurable
(cherry picked from commit 05f156bdc0eae121aa122028a582084bc4bb22dc)
2015-05-08 12:35:20 +02:00
Endre Sándor Varga
3d5cb2454f =act #17341: Revert starvation prone optimization 4e0bd6d
- also adding test to reproduce the problem
(cherry picked from commit 9e115f2)
2015-05-07 16:07:57 +02:00
Patrik Nordwall
ee1cb711f9 Merge pull request #17402 from akka/wip-17002-ActorSystemSpec-patriknw
=act #17002 Harden ActorSystemSpec
2015-05-07 11:06:20 +02:00