Commit graph

22093 commits

Author SHA1 Message Date
Patrik Nordwall
43dc381d59
Clear system messages sequence number for restarted node, #24847
* Notice that the incarnation has changed in SystemMessageDelivery
  and then reset the sequence number
* Take the incarnation number into account in the ClearSystemMessageDelivery
  message
* Trigger quarantine earlier in ClusterRemoteWatcher if node with
  same host:port joined
* Change quarantine-removed-node-after to 5s, shouldn't be necessary
  to delay it 30s
* test reproducer
2018-04-10 11:39:55 +02:00
Konrad `ktoso` Malawski
85026f5f1d
update sbt (#24871) 2018-04-10 11:23:00 +09:00
Hawstein
ecdaf0e530 add eagerCancel to Partition and Balance stage (#22339)
* add eagerCancel to Partition and Balance stage

* fix mima error

* rebase master and add unit test

* add java support and since to deprecated
2018-04-10 01:46:39 +09:00
Patrik Nordwall
332aa58540 clarify the resolve debug logging (#24858) 2018-04-09 10:39:13 +02:00
Johan Andrén
b94e064a34 Make sure to close resource in UnfoldResourceAsync (#24842)
* Make sure to close resource in UnfoldResourceAsync #24839

* Better fix for #24839
2018-04-09 14:30:24 +09:00
kerr
8106722b26 =build upgrade to SBT 1.1.3 (#24863) 2018-04-09 13:20:48 +09:00
Patrik Nordwall
a855ad5feb
Merge pull request #24837 from chbatey/issue-24806
ArteryMessageLoggingSpec pick up command line overrides for akka settings
2018-04-06 17:29:58 +02:00
Johan Andrén
30423e3b84
Ported ActorBenchmark to typed (#24815) 2018-04-06 08:56:34 +02:00
Justin Pihony
dd884117c1 Remove explicit outlet selector from graph docs (#24852) 2018-04-06 15:11:24 +09:00
Konrad `ktoso` Malawski
546cf15234
add weakly up to leader actions list (#24849)
* add weakly up to leader actions list

* Update cluster.md
2018-04-06 00:04:24 +09:00
Martynas Mickevičius
8f40eb15a5 #24752 Fix timestamped versions (#24845)
* #24752 Fix timestamped versions

* Add a comment
2018-04-05 20:50:24 +09:00
Patrik Nordwall
90541b20db more efficient MDC in Typed persistence, #24787 2018-04-04 14:20:57 +02:00
anilkumarmyla
d986c7b6bb Akka event logging unnecessary ' started' while shutdown #24803 2018-04-04 10:08:55 +02:00
Martynas Mickevičius
8fb67319d0
Merge pull request #24843 from 2m/wip-latest-mima-2m
Update to the latest mima 0.2.0
2018-04-04 10:25:40 +03:00
Konrad `ktoso` Malawski
89b18b05cd
=clu #24840 deprecation mark also in reference conf, removal-margin (#24841) 2018-04-04 10:20:40 +09:00
Martynas Mickevičius
6f2480ba8a
Fix stream excludes 2018-04-03 22:57:49 +03:00
Martynas Mickevičius
63be9b72cb
Fix persistence excludes 2018-04-03 22:55:25 +03:00
Roland Kuhn
d503271d1c override watchWith in EffectfulActorContext, fixes #24924 (#24828) 2018-04-03 20:30:44 +02:00
Christopher Batey
74f39e9409 ArteryMessageLoggingSpec pick up command line overrides for akka settings
Use ConfigFactory.load to pick up overrides in the additional actor
system. Otherwise one runs with udp and other tcp for the artery-tcp
job.

Fixes #24806
2018-04-03 08:03:57 +01:00
Patrik Nordwall
6f330ef69c automatic throttle burst size, #24699 (#24784)
* automatic throttle burst size, #24699

* throttleEven used maxBurst=Int.MaxValue, which in practise resulted
  in no throttling at all at high rates
* The original problem that throttleEven tried to solve was that when
  the throttle rate (cost / per) was high the cost of scheduling
  dominated and became much lower than the given rate, if 0 or low
  maxBurst was given. Difficult for user to know what maxBurst to use.
* In fact, that was already the case for rates > 30/s.
* This is fixed by automatically adjusting the maxBurst for higher
  throttle rates in a new throttle overload that doesn't include
  maxBurst parameter
* Also skipped the mode parameter for that variant since Shaping is
  what almost always is what you want, and otherwise you can use
  the full signature with a good maxBurst
* Deprecated throttleEven, since it is the same. Also fixed the
  implementation of throttleEven to use the automatic burst size,
  since Int.MaxValue is not useful at all.
2018-04-02 15:07:16 +01:00
Patrik Nordwall
ee85d23a3e use new Typed persistence impl in javadsl, #24753 (#24802)
* don't use untyped
* snapshot and tagging predicates
* onRecoveryCompleted
* actually run the java test by adding JUnitSuite
2018-04-02 11:59:41 +01:00
jefftt
7af4396d59 Remove incorrect comment from MarkerLoggingAdapter and deprecate LogMarker#extractFromMDC (#24808) (#24818) 2018-04-02 08:54:40 +01:00
Patrik Nordwall
896aa7e33b use java.time.Duration in Typed javadsl, #24646 (#24804) 2018-04-02 08:30:49 +01:00
Patrik Nordwall
6229c6f34e
Merge pull request #24800 from chbatey/issue-24781
BehaviorTestKit - hasEffects and expectEffectPF
2018-03-28 11:44:25 +02:00
Christopher Batey
b798dfb131 BehaviorTestKit - hasEffects and expectEffectPF 2018-03-28 08:14:29 +01:00
Konrad `ktoso` Malawski
92d068190d
Update ssl-config (#24799)
This version includes automatic module names as well now, so we're more and more jigsaw friendly
2018-03-28 08:57:11 +09:00
Johan Andrén
9ac83812ae More generous timeout in typed ClusterApiSpec (#24797)
* More generous timeout

* ActorTestKit.shutdown
2018-03-28 01:18:43 +09:00
Patrik Nordwall
e2ab5820a5
Merge pull request #24682 from akka/wip-24491-typed-hello-world-patriknw
better Typed HelloWorld, #24491
2018-03-27 17:47:57 +02:00
Patrik Nordwall
054573e7e1 better Typed HelloWorld, #24491
* single actor hello world is too unrealistic and
  shows the wrong things
* although this is longer I think it's better

java and feedback
2018-03-27 16:50:52 +02:00
Patrik Nordwall
4b54941947 log warning if heartbeat sender ticks are delayed (#24785) 2018-03-27 19:22:21 +09:00
Christopher Batey
c8f16845f2 Log sent/receive message log level check #24774 2018-03-27 12:20:19 +02:00
Johan Andrén
879e72d833
Allow nested typed timers #24366 2018-03-27 11:21:07 +02:00
mikolak-net
00068e2d1d Extrapolate stage and expand redoc #23804 2018-03-27 10:39:25 +02:00
Johan Andrén
26f0f86088 Typed logging MDC improvements (#24729)
* No ClassTag needed for MDC and factory method updates #24684, #24664

* Lightweight way to do MDC: Logger.withMdc #24684

* Some MDC complications adressed

* Typed persistence MDC usage updated
2018-03-27 10:15:59 +02:00
kerr
884eec2138 = build bump to sbt 1.1.2 (#24791) 2018-03-27 07:18:30 +01:00
Arnout Engelen
691254b1a7 Consolidate docs on disabling Java serialization (#24790)
Was duplicated across Artery and classic remoting, moved it to serialization.
2018-03-27 11:12:10 +09:00
Gergő Törcsvári
67a81eb01b GraphDSL create with Seq[Graph] added #24067 2018-03-26 17:41:54 +02:00
Daniel Kalman
86e44167f3 Added retry pattern #22276 (#23997) 2018-03-26 13:56:20 +02:00
Prada Souvanlasy
46c662965f fix #23618 : Support for persistence dynamic configuration at runtime (#23841) 2018-03-26 13:52:31 +02:00
Mark James Talbot
0a426a7ab0 Change Artery TCP to use bind address (#24773) 2018-03-26 13:44:33 +02:00
Patrik Nordwall
0bb2e3d34a
Merge pull request #24780 from akka/wip-genjavadoc-0.11-patriknw
Use genjavadoc 0.11 which is needed for Scala 2.12.5
2018-03-25 21:51:55 +02:00
Patrik Nordwall
7d85172295 mima filter for PersistentActor.defer
* was in wrong file when PR was merged
2018-03-25 20:23:06 +02:00
Patrik Nordwall
f4396dea38 Use genjavadoc 0.11 which is needed for Scala 2.12.5 2018-03-25 20:15:26 +02:00
Konrad `ktoso` Malawski
d503cb0da3
Add delivery semantics notes to stream refs (#24777) 2018-03-24 10:45:43 +09:00
Oleksii Tkachuk
f2d3a9dd27 Many recoveries spec: Transferred (#24767)
* Many recoveries spec: Transferred

* Many recoveries spec: Changes according to review.
2018-03-23 13:54:15 +09:00
Gergő Törcsvári
ea9b7c9971 [docs] added notes where the code was unclear for beginners (#24757)
* [docs] added notes where the code was unclear for beginners

* Update stream-graphs.md
2018-03-22 13:03:04 +09:00
Patrik Nordwall
4cbc0494ca
Merge pull request #24505 from jrudolph/jr/enable-sbt-log-timestamps
=pro add log timestamps to all sbt output and enable sbt debug logging for multi-jvm for ssh debugging
2018-03-21 13:46:52 +01:00
Patrik Nordwall
11f2ef5784
Merge pull request #24508 from psliwa/patch-1-defer-method
Adding defer method to PersistentActor
2018-03-21 13:41:51 +01:00
Patrik Nordwall
b34c38e37e
Merge pull request #24755 from hepin1989/javadocs
=doc using java.time.Duration for stream's javadsl
2018-03-21 13:36:14 +01:00
Patrik Nordwall
fe4cfbe990
Merge pull request #24759 from hepin1989/testkit
+ testkit Add java.time.Duration to testkit's javadsl
2018-03-21 13:33:25 +01:00