Commit graph

26055 commits

Author SHA1 Message Date
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
Patrik Nordwall
2050b62090
Fix bug in Artery delivery of Terminated message, #30135
* DeathWatchNotification (the remote system message for Terminated) is
  supposed to be delivered after other ordinary messages.
* The flush mechanism didn't take the inbound lanes on the receiving side
  into account. That could case DeathWatchNotification to overtake
  other messages that are in flight in the inbound lanes.
* This makes sure that the Flush is copied to all inbound lanes and
  the sender of the flush can wait for all expected acks before sending
  DeathWatchNotification.
* Adds expectedAcks to FlushAck in i wire protocol compatible way to
  support rolling updates.
2021-10-06 16:08:49 +02:00
Andrei Arlou
cbfa2c26c9
Use apidoc directive in general/addressing.md (#22904) (#30680)
* Use apidoc directive in general/addressing.md (#22904)

* fix link
2021-10-05 16:13:24 +02:00
Johan Andrén
1901d152ab
Some of the circuit breaker spec timeouts were not dilated (#30734)
* Some of the circuit breaker spec timeouts were not dilated #26955

* Formatting
2021-10-05 10:29:27 +02:00
Patrik Nordwall
e20e55b148
Fix compilation error on Scala 2.12 (#30741) 2021-10-05 09:11:55 +02:00
Arnout Engelen
f12d72effc
Compile akka-cluster-sharding-typed with scala3 (#30738)
* Compile akka-cluster-sharding-typed with scala3

Refs #30243

* Remove unused variable
2021-10-04 12:23:35 +02:00
Andrei Arlou
8db6362d71
Fix external links - fourth iteration (#30697) (#30736) 2021-10-04 12:13:43 +02:00
Matt Kohl
8c9b6f3608
Documentation fixes (#30740) 2021-10-04 09:18:44 +02:00
Andrei Arlou
3045e1775a
Remove final modifier from private methods (#30737) 2021-10-04 09:18:02 +02:00
Patrik Nordwall
2bc8460777
review patience config (#30709)
* take it from testkit settings instead of hard coded
* dilate it
* it's still somewhat confusing since we have both
  classic and typed testkits and they dilate the default
  timeout differently, but don't want to change too much
2021-10-01 16:48:16 +02:00
Johan Andrén
1b381bd26c
Murmur2 hashes of byte strings with a length that is a factor of 4 #30696
Credits for finding and suggesting fix goes to @coertel-yw
2021-10-01 16:29:36 +02:00
Patrik Nordwall
697f7a0e08
dilate TestKit shutdownActorSystem (#30685)
* rather many "Failed to stop [] within [10 seconds]" in CI
2021-10-01 15:41:17 +02:00
Eduardas Kazakas
9c851e4a7a
Changed akka.actor.typed.scaladsl.ActorContext#system method to implicit method #30724 (#30727) 2021-10-01 14:51:03 +02:00
Patrik Nordwall
6d500bb13e
more hardening of MessageAdapterSpec, #30698 (#30713) 2021-10-01 14:47:16 +02:00
Patrik Nordwall
f021dc9248
Only compile with Scala 3 in PR validation (#30731)
* seems to be much more test failures in the Scala 3 job
* let's not block PR validation by that, we still have full nightlies
  with Scala 3
2021-10-01 14:46:41 +02:00