Commit graph

26087 commits

Author SHA1 Message Date
Renato Cavalcanti
523b5b7f43
updated scala versions (#30870) 2021-11-12 17:30:49 +01:00
Patrik Nordwall
f83ae19311
Reduce multi-node tests to 10 pods, #30874 (#30875) 2021-11-11 15:35:32 +01:00
Patrik Nordwall
744966bb99
Harden DistributedPubSubRestartSpec, #30699 (#30872)
* not sure if it's the cause of the failure but it
  looks like a missing barrier
2021-11-10 16:29:56 +01:00
Patrik Nordwall
d90532bc56
adjust cpu requests for failing ClusterSingletonManagerSpec, #30253 (#30873)
* ClusterSingletonManagerSpec is failing with Artery aeron-udp because of
  starvation slowness
* we use 5 nodes with 4 vCPU each
* ClusterSingletonManagerSpec uses 8 pods
* my thinking is that with the previous cpu request 1 it might
  schedule too many pods on the same node (if it doesn't distribute
  them evenly)
* with this new cpu request it should still be able to schedule 2 pods
  per node and that covers all tests except the StressSpec, which is
  anyway disabled
* also changed to n2 series and reduced idle-cpu-level
2021-11-10 16:29:06 +01:00
Andrei Arlou
5e2c9dc517
Use apidoc directive in additional/osgi.md (#22904) (#30816) 2021-11-08 10:46:04 +01:00
Andrei Arlou
068c44af75
Use apidoc directive in io.md (#22904) (#30813) 2021-11-08 10:34:38 +01:00
Scala Steward
8eeaf231ee
Update gson to 2.8.9 (#30867) 2021-11-08 10:33:05 +01:00
Scala Steward
d98a2ba6c4
Update sbt-ci-release to 1.5.10 (#30866) 2021-11-08 10:23:38 +01:00
Scala Steward
b9faf0262c
Update sbt-unidoc to 0.5.0 (#30865) 2021-11-08 10:22:59 +01:00
Jonas Ackermann
85ac5f4f02
[Docs] Update usage of lazySource in stream cookbook to match snippet (#30780) 2021-11-05 17:12:19 +01:00
Arnout Engelen
53d8d7b91d
Document experimental Scala 3 support (#30849)
Perhaps we should add a page to the docs summarizing the status
of Scala 3 support, so we can point people to that rather than directly
at the GitHub issues?
2021-11-05 13:05:09 +01:00
Patrik Nordwall
c0615eab45
Create unique media driver dir for Aeron stream tests, #30845 (#30862) 2021-11-05 13:04:10 +01:00
Patrik Nordwall
8adda9e1be
Mark flaky BalancingSpec as pending, #30860 (#30861) 2021-11-05 11:05:15 +01:00
Arnout Engelen
7ef5dd51db
Return revision in PersistenceTestKitDurableStateStore getObject (#30858) 2021-11-05 08:58:58 +01:00
Peter Vlugter
a518a96c6a
Add entity passivation strategies (#30852)
* New internal API for pluggable strategies
* New least recently used passivation strategy
2021-11-04 09:10:04 +01:00
Francis De Brabandere
0b52d58120
Document slf4j log switch for akka classic when typed on classpath (#30856)
fixes #30848
2021-11-04 08:58:09 +01:00
Patrik Nordwall
a39dbfc088
aeron.dir also for normal multi-node tests, #30601 (#30839) 2021-11-01 16:23:27 +01:00
Raymond Roestenburg
0d18262633
fix(persistence-testkit): added fallback to snapshotplugin config. (#30837) 2021-11-01 10:28:11 +01:00
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