Commit graph

26069 commits

Author SHA1 Message Date
Johan Andrén
eb197cae7f
fix a few deprecation warnings when starting up sbt (#30829) 2021-11-01 08:53:32 +01:00
Patrik Nordwall
527571fc3a
Aeron media driver volume for multi-node CI, #30601 (#30835) 2021-10-29 14:19:17 +02:00
Levi Ramsey
1adc1a9250
Clarify docs around cluster shutdown (#30825)
* Clarify docs around cluster shutdown

Previous docs could give the impression that changing the number of cluster nodes required a full shutdown.  This clarifies that the shutdown is only needed if changing the number of shards and that adjusting the number of shards is not required for changing the number of nodes.
2021-10-28 08:44:21 +02:00
Johan Andrén
d11a15c50f
Skip mima check for Scala 3 for now (#30830) 2021-10-27 21:19:41 +02:00
Patrik Nordwall
ffd7ee7b7d
Link to mTLS with rotating certs blog post (#30828) 2021-10-27 17:16:15 +02:00
Muskan Gupta
6f30c6fc08
Improve doc language (#30786) 2021-10-27 14:47:21 +02:00
Sebastian Alfers
659eb40146
Allow initial state to be null while using EventSourcedBehaviorTestKit (#30823)
* Allow initial state to be null while using EventSourcedBehaviorTestKit
2021-10-26 16:41:18 +02:00
Muskan Gupta
4d14c6f977
Remove fixme part about guards and pattern matching from StyleGuide (#30787) 2021-10-25 18:00:41 +02:00
James Roper
33052e3abc
Added durable state current persistence ids query (#30811) 2021-10-25 17:42:21 +02:00
Stefano Baghino
619b5691fc
Make StreamConverters.asOutputStream ignore empty arrays (#30818) 2021-10-25 17:40:10 +02:00
Patrik Nordwall
496d721e2a
Harden BalancingSpec, #30821 (#30822) 2021-10-25 17:38:22 +02:00
kenji yoshida
bf0ef69d70
use Scala 3.1.1-RC1 instead of NIGHTLY version (#30817) 2021-10-25 09:21:27 +02:00
James Roper
a581e86deb
Fixed testkit durable state store current changes non completion (#30819)
PersistenceTestKitDurableStateStore.currentChanges was correctly only
returning the current changes, however it was not completing until an
addition change was made. This fixes that.
2021-10-25 09:18:53 +02:00
Arnout Engelen
cdad7938b0
Include Scala 3 in cross-build (#30392)
* Include Scala 3 in cross-build

sbt cross-building sometimes behaves surprisingly, so this does not work
yet: when switching to 3.0.1-RC1 it still tries to build the modules
that do not support that version yet, even though they are 'excluded'.

This also currently breaks cross-publishing, so we cannot merge this.
Once this works we should add a note to the documentation clarifying
that the Scala 3 artifacts are experimental.

* Fix jackson test dependency

* Don't publish docs for scala3 artifacts for now

* Publish empty doc packages for Scala 3 artifacts
2021-10-25 08:18:22 +02:00
Muskan Gupta
62139a2220
Remove OptionVal workaround (#30789)
* Remove OptionVal workaround
* Revert "Avoid pattern-matching on OptionVal since Scala 2.13 allocates when checking the pattern"
  This reverts commit f0194bbc1ad43ac2c79bf156bfe91adf7fd5e538.
* Revert "Optimizes retrieval of mandatoryAttributes by removing potential allocation of OptionVal"
  This reverts commit 165b0e0d5c057965e37418299061bdf48c33fc44.
2021-10-22 16:27:44 +02:00
eyal farago
0bc96eaa93
akka_30782__fmp_postSop_nvm: flatMapPrefix: postStop: check promise completion before instantiating the abrupt termination exception (#30798) 2021-10-21 13:19:52 +02:00
Patrik Nordwall
9f88a1b596
Update latestPatchOf26 to 2.6.17 (#30810) 2021-10-21 11:43:28 +02:00
Scala Steward
2de42de9fc
Update aeron-client, aeron-driver to 1.35.1 (#30652)
* Update aeron-client, aeron-driver to 1.35.1

* Update agrona along with aeron

https://github.com/real-logic/aeron/blob/1.35.1/build.gradle#L45

Co-authored-by: Arnout Engelen <arnout@bzzt.net>
2021-10-20 15:16:22 +02:00
Andrei Arlou
2c5a14bab8
Use apidoc directive in general/actor-systems.md (#22904) (#30767) 2021-10-20 10:58:45 +02:00
Patrik Nordwall
96264446cd
Harden BalancingSpec, #30686 (#30785)
* I think it was a thread starvation problem because next test step could
  start before the previous pool had been terminated.
* Many (at least 5) threads are blocked in this test and AkkaSpec defines a max of 8.
2021-10-20 10:26:18 +02:00
Renato Cavalcanti
4ef9b31d8e
move aeron tests in multi-node (#30706) 2021-10-20 08:07:47 +02:00
Johan Andrén
f561146fa7
Do not try to resolve localhost with search domains (#30779)
* Prepopulate cache with localhost entries
2021-10-20 08:03:12 +02:00
Johan Andrén
73adc3194a
Don't throw when cancelling an already cancelled subsink #30322 (#30695)
Cannot be observed from the SubSink side if the materialization failed or the
running stream already cancelled, so just ignore the sub-sink cancellation in the
case where the sink is already cancelled.
2021-10-20 07:53:27 +02:00
Patrik Nordwall
ced82528cf
Harden another race condition in ReplicatedEventSourcingSpec, #30783 (#30784) 2021-10-20 07:49:39 +02:00
Sebastian Alfers
3683830af7
improve cluster restart documentation (#30799)
* improve cluster restart documentation
2021-10-19 16:30:26 +02:00
Dragisa Krsmanovic
d7fe31f3a8
Improve performance of JoinConfigCompatChecker (#30801) 2021-10-19 13:12:42 +02:00
Muskan Gupta
70120060b8
Change ShardCoordinator update failure logging #30608 2021-10-13 10:06:09 +02:00
Scala Steward
16ed5b4f64
Update sbt-ci-release to 1.5.9 (#30762) 2021-10-13 09:20:56 +02:00
Patrik Nordwall
9b50b03001
Harden LocalPubSubSpec, #30749 (#30759)
* from the logs we can see that an ActorRef from previous test is still active
* probably counted in the TopicStats
2021-10-13 08:21:54 +02:00
Johan Andrén
b859d9fc48
Update verifyCodeStyle and applyCodeStyle to be what we really require (#30777)
Previously it included a coarse grained Java reformat which it seems was never
quite worked through (reformatting generated sources etc), so go back on that,
and make sure verifyCodeStyle is exactly what we require for PR validation to pass
(and that it does not diverge)
2021-10-13 08:21:09 +02:00
Patrik Nordwall
93a748b952
Harden FlowThrottleSpec, #26325 (#30781)
* "must send elements downstream as soon as time comes"
* it failed with perThrottleInterval:
   Map(0 -> List((0,1), (499,2)), 2 -> List((1000,3), (1499,4)), 3 -> List((1999,5)))
* round the interval groups
* use dilated
2021-10-13 08:19:42 +02:00
Patrik Nordwall
c92489f9ed
Relax termination order check in ClusterShardingGracefulShutdownOldestSpec, #30744 (#30768)
* the Termination messages can be delivered in different order
2021-10-12 08:23:29 +02:00
Arnout Engelen
7742f1ded3
Build akka persistence typed with scala3 (#30772) 2021-10-12 08:22:12 +02:00
Muskan Gupta
f637e1f72f
Fix typo in ActorDocSpec (#30776) 2021-10-12 08:19:49 +02:00
Scala Steward
bd1bce8750
Update scala-library to 2.12.15 (#30766) 2021-10-08 16:24:02 +02:00
Patrik Nordwall
87bfeaeb2c
remove debug logging for cancel timer (#30773)
* too verbose and not much value
2021-10-08 14:50:45 +02:00
Scala Steward
be0cf7c38b
Update metrics-core, metrics-jvm to 4.2.4 (#30764) 2021-10-08 14:35:12 +02:00
Patrik Nordwall
5011b957db
Harden ClusterShardingSpec, #30667 (#30770) 2021-10-08 13:50:27 +02:00
Justin Pihony
c034d20993
Handle null for StatusReply (#30728)
Fix specifically for Scala 2.12
2021-10-07 17:46:31 +02:00
Scala Steward
0ebbaffe9b
Update sbt-scalafix to 0.9.31 (#30760) 2021-10-07 17:40:39 +02:00
Patrik Nordwall
e0db5f4e64
Remove a test with race condition in ClusterSpec, #30743 (#30758) 2021-10-07 15:48:44 +02:00
Johan Andrén
5da7dc6c19
ReplicatedEventSourcingSpec race fix #30661 (#30735) 2021-10-07 14:44:02 +02:00
Johan Andrén
10dff2e839
Add more logging to figure out BalancingSpec fail (#30745) 2021-10-07 14:42:35 +02:00
Johan Andrén
055e0c5406
fix: Race condition in sharding SupervisionSpec #30633 (#30751) 2021-10-07 14:35:20 +02:00
Johan Andrén
3cb335e5f9
fix: AsyncDnsResolverIntegrationSpec failing with timeout from config (#30756) 2021-10-07 14:31:18 +02:00
Andrei Arlou
4e98300f49
Use apidoc directive in general/configuration.md (#22904) (#30718)
* Use apidoc directive in general/configuration.md (#22904)

* refer to ConfigFactory

* use name Typesafe Config library

Co-authored-by: Arnout Engelen <arnout@engelen.eu>

Co-authored-by: Arnout Engelen <arnout@engelen.eu>
2021-10-07 10:53:40 +02:00
Andrei Arlou
b468efd95b
Fix external links - fifth iteration (#30697) (#30755) 2021-10-07 10:46:54 +02:00
dr3s
084e44dcf2
Include vesion.conf transformer (#30754)
version.conf also needs to be merged when using alpakka and other things that include that file.
2021-10-07 10:08:57 +02:00
Justin Pihony
1e05c52c5d
Value not def for underlying state store (#30748)
* Value not def for underlying state store

* Ooops forgot to remove parens

* Remove type param

* Other type

* Fix types

* Similar reference wrapper issue

* Trailing spaces removed
2021-10-06 12:20:48 -04:00
Patrik Nordwall
e0ce825a55
Remove ApiMayChange from Durable State (#30733) 2021-10-06 17:22:07 +02:00