Commit graph

25170 commits

Author SHA1 Message Date
Patrik Nordwall
95e2eb97dc
Merge pull request #29444 from johanandren/wip-banner-update
Update to paradox akka theme 0.35 to get new LB.com links
2020-08-10 08:46:38 +02:00
Patrik Nordwall
0f412c0aa0
Merge pull request #29469 from ennru/docs-deploy-rename
docs: redirect to deploying from old URL
2020-08-10 08:44:25 +02:00
Patrik Nordwall
2709fa6862
add akka-docs to nonFatalJavaWarningsFor (#29470) 2020-08-10 07:15:43 +01:00
Patrik Nordwall
686729c75b
Harden multi-dc joining, #29280 (#29346)
* Harden multi-dc joining, #29280

* failing test MultiDcJoinSpec
* require that all have seen the gossip seen for the first member in other DC
* the test also revealed that gossip wasn't propagated between DCs when
  the VectorClock was the same and only seen is different
* add a SHA-1 disgest of the seen in the GossipStatus to detect that they
  are different and that full gossip should be exchanged

* comments

* another test

* mima version
2020-08-07 17:02:31 +01:00
Enno Runne
52c005baec docs: redirect to deploying from old URL
refs https://github.com/akka/akka-management/pull/732
2020-08-07 10:56:58 +02:00
Christopher Batey
faada69ab4
javacOptions in Compile configuration (not compile task) (#29459) 2020-08-05 14:12:29 +02:00
Enno
531553ca27
docs: add newish modules in listing (#29446) 2020-08-04 14:01:58 +02:00
Ignasi Marimon-Clos
946135bcaa
Bump jackson to 2.10.5 (#29405) 2020-08-04 14:01:03 +02:00
Johan Andrén
3181cbbbda
Avoid non-tail recursion when stashed no-effect messages are processed (#29437)
* Avoid non-tail recursion when stashed no-effect messages are processed #29401

* MiMa filter

* revert PersistAll(empty) => none

Co-authored-by: Patrik Nordwall <patrik.nordwall@gmail.com>
2020-08-04 12:54:05 +01:00
Arnout Engelen
327e16980d
Make warnings in Java code fatal (#28402) 2020-08-04 13:47:38 +02:00
Yufei Cai
58fa1e3604
fix StreamRefs IllegalStateException (#29432)
* Test SinkRefStage in the CumulativeDemand-after-UpstreamFinish scenario
2020-08-03 11:16:03 +02:00
ohze.net
68fc503c4c
Update ssl-config-core 0.4.2 (#29365)
Co-authored-by: Bùi Việt Thành <thanhbv@sandinh.net>
2020-07-31 16:38:58 +02:00
Johan Andrén
50ae889e14 Update to paradox akka theme 0.35 to get new LB.com links 2020-07-31 16:32:06 +02:00
Johan Andrén
c5124a00b4
Clarify pool router routees are always local (#29419)
* Clarify pool router routees are always local

* Update routers.md
2020-07-30 10:04:30 +01:00
Johan Andrén
a061886af2
Avoid warning for NoState to RememberingStart when not remembering entities #29400 (#29404)
This is an unexpected transition but we did it as an implementation detail and
it should not cause a logged error.
2020-07-30 10:44:36 +02:00
yiksanchan
1d813fd9c2
doc(RetryFlow): explain with more details (#29229) 2020-07-28 17:44:53 +02:00
Ignasi Marimon-Clos
438e195365
Add verifyCodeStyle #29377 (#29378) 2020-07-22 22:32:40 +02:00
Hugh McKee
9cb9d3d44f
fix typo (#29412) 2020-07-22 08:54:21 +02:00
Andrii
beda844b8d
Allow using hypen in actorSystem name and do not replace it with underscore #28994 (#29399)
Co-authored-by: andrii.ryzhenko <andrii.ryzhenko@betlab.com>
2020-07-21 11:19:19 +02:00
Ignasi Marimon-Clos
a51a85c8ad
typo (#29403) 2020-07-21 10:17:05 +02:00
Christopher Batey
212de410b0
Avoid stuck rebalances during coordinator leaving (#29385)
* Watch all regions as they may shutdown after rebalance starts

* Send graceful shutdown to selection if no coordinator found

* mima

* Add missing new line

* Make log markers consistent for rebalance worker
2020-07-17 12:44:12 +01:00
Christopher Batey
b5d5dd2d2b
Fix mima excludes for actor termination task (#29394) 2020-07-17 07:24:03 +01:00
Johan Andrén
772db9ce7c
addActorTerminationTask fix (#29379) 2020-07-16 19:00:45 +02:00
Johan Andrén
1fe573d7ef
2.6.8 post release changes (#29390) 2020-07-16 17:10:01 +02:00
Łukasz Drygała
073ef663c5
remove not needed curly braces (#29392) 2020-07-16 15:48:21 +02:00
Łukasz Drygała
1290befec8
Update actor-lifecycle.md (#29391) 2020-07-16 13:41:18 +02:00
Renato Cavalcanti
6d290d6699
Merge pull request #29380 from johanandren/wip-29270-durable-pruning-spec
Durable pruning fail fix
2020-07-15 16:45:08 +02:00
Johan Andrén
01edcab657
Allow entities to stop by terminating without remember entities (#29384)
* Allow entities to stop by terminating in sharding without remember entities #29383
  We missed an allowed transition from running/active to stopped/NoState in shard. 
  when the logic was rewritten.
* Add a toggle to opt-in crash shard on illegal state transitions
  Default is logging an error and not crashing shard and all other entities, our tests have the toggle enabled.
* A fix for passivation when not using remember entities fixing #29359 and possibly #27549
2020-07-15 08:38:23 +02:00
davidlzs
9739e6f44d
Replace reference to deprecated API (#29381)
Updated stream-composition.md to use Flow.fromSinkAndSourceCoupledMat or Flow.fromSinkAndSourceCoupled rather than the deprecated CoupledTerminationFlow.fromSinkAndSource.
2020-07-14 08:48:33 +02:00
Ignasi Marimon-Clos
68fa87c58c
Merge pull request #29356 from ignasi35/monitor-operator-sample-code 2020-07-13 19:33:36 +02:00
Johan Andrén
0921786512 Durable pruning fail fix #29270
Failed once when the new cluster node had not joined the cluster yet, so start with waiting for that.
2020-07-13 16:31:11 +02:00
Johan Andrén
e4b4fc6d8c
Post 2.6.7 updates (#29370)
* Post 2.6.7 updates
* MiMa excludes for the JDK11 only JFR classes
2020-07-13 15:19:30 +02:00
Ignasi Marimon-Clos
6ca92cc543 javafmt 2020-07-13 14:04:28 +02:00
Johannes Rudolph
54d79df07d
actor: remove stack trace from AskTimeoutException (#29376)
The exception will be instantiated from the scheduler thread so it does
not contain any more helpful information.
2020-07-13 13:37:28 +02:00
Ignasi Marimon-Clos
96c887b134
typo (#29375) 2020-07-13 13:35:45 +02:00
Ignasi Marimon-Clos
6c12ae117a PR comments 2020-07-13 10:46:16 +02:00
Johan Andrén
142a63f600
No dry run in release instructions #29199 (#29369) 2020-07-10 15:59:26 +01:00
ohze.net
214defac7a
Update sbt 1.3.13 (#29366)
Co-authored-by: Bùi Việt Thành <thanhbv@sandinh.net>
2020-07-10 15:06:37 +02:00
James Roper
558160702b
Added MergeSequence graph stage (#29247)
Fixes #28769

Use case for this is if you have a sequence of elements that has been
partitioned across multiple streams, and you want to merge them back
together in order. It will typically be used in combination with
`zipWithIndex` to define the index for the sequence, followed by a
`Partition`, followed by the processing of different substreams with
different flows (each flow emitting exactly one output for each input),
and then merging with this stage, using the index from `zipWithIndex`.

A more concrete use case is if you're consuming messages from a message
broker, and you have a flow that you wish to apply to some messages, but
not others, you can partition the message stream according to which
should be processed by the flow and which should bypass it, and then
bring the elements back together acknowledgement. If an ordinary merge
was used rather than this, the messages that bypass the processing flow
would likely overtake the messages going through the processing flow,
and the result would be out of order offset acknowledgement which would
lead to dropping messages on failure.

I've included a minimal version of the above example in the documentation.
2020-07-09 11:52:46 -04:00
Arnout Engelen
1898216b0d
Allow 2.5 snapshot requirement in version check (#29363) 2020-07-09 17:01:24 +02:00
Johan Andrén
996f424835
Ok/error protocol and failable ask #29186 (#29190)
New type StatusReply simplifies the very common use case of replying to a request with either a successful reply or an error reply which can be repetitive to define for every actor, with the additional overhead of having to make sure each such sealed top type + 2 concrete reply classes has working serialization.
2020-07-09 16:57:53 +02:00
Sebastian Alfers
ec08c9dde4
Fix SBR lease-implementation config example (#29361) 2020-07-09 09:48:28 +02:00
Johan Andrén
df995fe7bd
Use the target actor name in the temporary ask actor name (#29245)
* Allows specifying the large message channel for the response using wildcard patterns in config
 * Makes debugging asks somewhat easier
2020-07-08 17:43:52 +02:00
Patrik Nordwall
2f424b13dd
Sharding EntityRef for testing, #29267 (#29336) 2020-07-08 17:35:39 +02:00
Johan Andrén
a70a19e8ee
Revert "Flush messages before DeathWatchNotification, #28695 (#28940)" (#29357)
This reverts commit f6ceb4d49a.
2020-07-08 13:11:46 +02:00
Enno
3baf1268f9
ByteString performance improvements (#29358) 2020-07-08 12:32:25 +02:00
Johannes Rudolph
1e3ce9b345
actor: improve ByteStringBuilder.++= / addAll
Especially in the Scala 2.13 version, the previous `if xs.iterator.isEmpty`
for the common case was a big problem, since it expensively created an
iterator even for the most common ++=(ByteString) case.
2020-07-08 11:34:03 +02:00
Johannes Rudolph
40949669e4
actor: implement ByteString.isEmpty in as simple terms as possible
It turned up in profiles, the usual implementation in 2.13 is through
SeqOps.isEmpty -> lengthCompare which checks if knownSize != -1 for
the fast path. All of that doesn't sound too bad but introduces enough
indirection that the inliner might not be able to inline all of that
which then leads to a multimorphic callsite e.g. to call lengthCompare.
2020-07-08 09:35:28 +02:00
contrun
d476578c52
use datagram channel creator for udp sender (#29009) 2020-07-08 09:28:30 +02:00
Radim Kolar
3fff152b96
BehaviourTestKit: Add receptionist inbox (#29294) 2020-07-08 09:15:13 +02:00