Commit graph

26046 commits

Author SHA1 Message Date
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
Andrei Arlou
4feac9656b
Use apidoc directive in common/circuitbreaker.md (#22904) (#30679)
* Use apidoc derective in common/circuitbreaker.md (#22904)

* fix links

* use methods in line
2021-10-01 14:31:47 +02:00
eyal farago
e83a1d752d
Access to config through behavior testkit (#30637) 2021-10-01 12:06:45 +02:00
Johan Andrén
f096e878b6
Fix race in EventStreamSpec unsubscribe test (#30730) 2021-10-01 12:00:41 +02:00
Patrik Nordwall
5e247d9869
increase patience in AsyncDnsResolverIntegrationSpec, #30700 (#30710)
* might not solve the failed test but might give better error reason
* resolve-timeout config is 5s
* ask timeout from test is 10s
* patience was 5s, increased to 11s
2021-10-01 11:19:05 +02:00
Andrei Arlou
bd7105d47d
Fix external links - third iteration (#30697) (#30722) 2021-09-28 09:22:58 +02:00
David Barrett
46bae17854
Honor timeout parameter when stopping actors #30715 (#30717) 2021-09-27 17:37:54 +02:00
Andrei Arlou
5f38eb297f
Fix external links - second iteration (#30697) (#30707) 2021-09-27 16:04:18 +02:00
Arnout Engelen
feb7ad7de0
pr validation against 'main' rather than 'master' (#30719)
* pr validation against 'main' rather than 'master'

* be more specific
2021-09-27 14:09:23 +02:00
Arnout Engelen
8086c70437
Build akka-cluster-sharding with scala3 (#30712)
* Build akka-cluster-sharding with scala3

Umbrella issue https://github.com/akka/akka/issues/30243
Not running tests yet due to https://github.com/akka/akka/issues/30711

* scalafmt

* Remove leftover val
2021-09-25 12:42:15 +02:00