Commit graph

26366 commits

Author SHA1 Message Date
Muskan Gupta
467a46d2db
Replace FoldSink with sink (#31003) 2021-12-20 09:18:28 +01:00
Peter Vlugter
78df739ef6
Add adjustable active entity limit per shard region (#31004) 2021-12-20 09:09:14 +01:00
Patrik Nordwall
cc446477ee
Add slice queries to Persistence TestKit (#30995)
* Add currentEventsBySlices to Persistence TestKit to make it feature comatible with currentEventsByTag, simplifies some usage in downstream projects
* Add DurableStateStoreBySliceQuery to Persistence TestKit, to make it feature comatible with the tagged queries simplifies some usage in downstream projects
2021-12-20 09:05:40 +01:00
Arnout Engelen
3c9ef34280
fix check that nightly tests ran (#30998) 2021-12-17 09:14:35 +01:00
Andrei Arlou
29f1d8b6d0
Use apidoc directive in typed/cluster-concepts.md (#22904) (#30982) 2021-12-16 16:25:02 +01:00
Patrik Nordwall
6ed3972f4e
lastSequenceNumber in DurableStateBehavior, #30833 (#30834)
* Recovering Behavior must be a class for the WithSeqNrAccessible to be able
  to find it
2021-12-16 13:41:28 +01:00
Patrik Nordwall
a36329c4c2
Mark the new passivation strategies as may change (#30999) 2021-12-16 12:53:41 +01:00
Patrik Nordwall
331d1da8c5
dilate ask timeout in ActorRefResolveCacheQuarantineSpec, #30996 (#30997) 2021-12-16 12:45:58 +01:00
Peter Vlugter
0c92cc573a
Add more entity passivation strategy traces and simulations (#30994)
* Add optimal clairvoyant algorithm to passivation strategy simulations

* Add natural zipfian distribution trace using text of Moby Dick

* Add some looping access pattern traces from the LIRS paper

* Add CloudPhysics access pattern trace from LIRS2 paper

* Add Wikipedia access pattern trace to passivation simulations
2021-12-16 11:04:18 +01:00
Patrik Nordwall
aa29071b96
Update to logback 1.2.8 (#30991)
* LOGBACK-1591
* documentation, tests and (provided) testkit
2021-12-16 09:05:37 +01:00
Andrei Arlou
ba4c5749f0
Use apidoc directive in typed/cluster-singleton.md (#22904) (#30946)
* Use apidoc directive in typed/cluster-singleton.md (#22904)

* add link to objects
2021-12-15 22:45:39 +01:00
utkarshup11
889a34e77d
Fixed small typo mistake #30967 (#30992)
* Fixed small typo mistake in Sink materialized value

* Change Sinks materialized value to Sink's materialized value
2021-12-15 22:06:35 +01:00
Patrik Nordwall
4375fe6bd7
Change number of slices to 1024 (#30990)
* more flexible with some more
2021-12-15 14:22:03 +01:00
Patrik Nordwall
6c9c733896
Optional akka-remote dependency from akka-persistence-query, #30980 (#30987)
* akka-protobuf-v3 is anyway a dependency from akka-stream
* akka-remote can remain provided by adding lazy on the WrappedPayloadSupport
* tested with a sample with only akka-persistence and akka-persistence-query
2021-12-14 12:47:45 +01:00
Patrik Nordwall
5b9e22c348
Use sub-directory for embedded Aeron media driver (#30986)
* in multi-node tests we create the volume /opt/volumes/media-driver
  and run with -Daeron.dir=/opt/volumes/media-driver but when starting
  the embedded media driver a unique part is added to the directory name
  so it becomes like
  Started embedded media driver in directory [/opt/volumes/media-driver-ClusterLogVerboseEnabledSpec-27c2fe72-c2b2-4ef4-ab87-a783f5d9ece4]
* this adds the unique part as a sub-directory instead, so that it's still in in the
  /opt/volumes/media-driver/ volume
* I don't know if this will make things more stable but the defined volume wasn't really
  used as intended
2021-12-14 12:47:13 +01:00
Arnout Engelen
5fafdced8e
Cleanup cross building (#30981)
* wip

* Don't set crossScalaVersions at the toplevel

* scalafmtSbt

* Accidentally commited

* Set default scalaVersion

* Set top-level scala version to default

* Add comment explaining why to +~
2021-12-14 11:00:02 +01:00
Johannes Rudolph
ad3a8a965d
Update to sbt 1.5.6 (#30988)
To mitigate any impact of sbt's use of log4j2
2021-12-13 15:30:50 +01:00
Renato Cavalcanti
49cd4d3d28
update minimal protoc version (#30971) 2021-12-10 16:22:23 +01:00
Patrik Nordwall
0c0b2405b9
Fix failing ClusterShardingRememberEntitiesSpec, #30975 (#30976) 2021-12-10 15:41:44 +01:00
Patrik Nordwall
f946655ad5
Serializer for EventEnvelope and Offset (#30970) 2021-12-09 13:30:59 +01:00
Peter Vlugter
3a7201183d
Introduce new default entity passivation strategy (#30968) 2021-12-09 13:04:27 +01:00
Johan Andrén
35c128b7d8
A bit less noise from updates going to shards that has already shut down when stopping (#30969) 2021-12-09 12:47:23 +13:00
Peter Vlugter
3ddd58ca42
Add variations to entity passivation strategies (#30951)
* Simplify the variations for passivation strategy settings
* Abstract out double-linked list operations for recency and frequency
* Add optional dynamic aging to least frequently used passivation strategy
* Add segmented least recently used passivation strategy
* Split entity passivation specs into multiple files
2021-12-08 13:31:01 +13:00
Scala Steward
a9b620c184
Update aeron-client, aeron-driver to 1.37.0 (#30966)
* Update aeron-client, aeron-driver to 1.37.0

* Update agrona as well

Co-authored-by: Arnout Engelen <arnout@bzzt.net>
2021-12-07 14:23:52 +01:00
Peter Vlugter
250474f026
Simplify entity activity tracking for passivation strategies (#30960) 2021-12-07 14:20:17 +01:00
Scala Steward
259095467d
Update sbt-java-formatter to 0.7.0 (#30965) 2021-12-07 11:21:02 +01:00
Scala Steward
41891297fa
Update paradox-theme-akka, ... to 0.40 (#30964) 2021-12-07 11:20:39 +01:00
Scala Steward
fc2b7428f1
Update sbt-scalafix to 0.9.33 (#30962) 2021-12-07 11:20:19 +01:00
Scala Steward
70ebdf2f2a
Update logback-classic to 1.2.7 (#30963) 2021-12-07 11:17:52 +01:00
Andrei Arlou
0f70838f88
Use apidoc directive in scheduler.md (#22904) (#30947)
* Use apidoc directive in scheduler.md (#22904)

* add parentheses for java methods
2021-12-06 17:50:57 +01:00
Andrei Arlou
68a8ae7966
Use apidoc directive in mailboxes.md (#22904) (#30959)
* Use apidoc directive in mailboxes.md (#22904)

* fix typo
2021-12-06 17:45:20 +01:00
Andrei Arlou
910836e7f2
Use apidoc directive in typed/mailboxes.md (#22904) (#30913) 2021-12-06 16:59:13 +01:00
Andrei Arlou
f3afc9ae9c
Use apidoc directive in event-bus.md (#22904) (#30958) 2021-12-06 16:21:09 +01:00
Patrik Nordwall
06e69e66ff
Hardening of JoinConfigCompatCheckerSpec, #30843 (#30955)
* status is not always updated for a shutdown cluster node, see issue #17479
* look from the other members instead
2021-12-06 09:20:37 +01:00
Arnout Engelen
31c020a8c1
fix doc release instructions (#30956)
Leftover comment that's now done by GHA
2021-12-03 11:49:39 +01:00
Johan Andrén
9c0e62464d
Quick-push all allocated shards to region/proxy when registering #27168
This should shorten latencies per new shard that is addressed from
a newly joined region/proxy
2021-12-03 11:22:30 +01:00
Patrik Nordwall
da564dc7ce
Remove optional traits in EventsBySliceQuery (#30953)
* EventTimestampQuery and LoadEventQuery are optional, and it was an
  oversight to add them to EventsBySliceQuery
* javadsl is ok
2021-12-01 14:34:30 +01:00
Patrik Nordwall
b336371013
Retry ActorSelection resolve in LargeMessagesStreamSpec, #24143 (#30954)
* failed with ActorNotFound in aeron-udp multi-node tests
2021-12-01 10:39:33 +01:00
Johan Andrén
37057f430e
A few tutorial improvements from (#30949) 2021-11-30 14:25:27 +01:00
Johan Andrén
e5f05e1d28
info instead of debug log when JVM triggers coordinated shutdown (#30944) 2021-11-30 14:24:54 +01:00
Andrei Arlou
9ea4b9b0fa
Use apidoc directive in typed/actor-lifecycle.md (#22904) (#30945) 2021-11-30 14:08:46 +01:00
Johan Andrén
90003a6239
warnings instead of errors for artery failures during shutdown (#30943)
Log warnings instead of errors for artery failures during shutdown or that will be retried
2021-11-30 09:55:42 +13:00
Nicolas Vollmar
8db5daa064
Waits with sending complete message until last message has been acknowledged #21015 (#30938) 2021-11-29 09:00:54 +01:00
Patrik Nordwall
2909d4cce5
Use GhExcludeTest in CI again (#30941)
* -XX:+AlwaysActAsServerClassMachine in CI
* Remove GHExcludeTest from all tests, since we have included those in CI workflows
* Exclude a few failing tests from CI
* run CI with -Dakka.test.tags.exclude=gh-exclude again
2021-11-28 19:52:16 +01:00
Patrik Nordwall
cef765a298
Hardening of JoinConfigCompatCheckerRollingUpdateSpec, #30769 (#30936)
* fails frequently in the aeron-udp multi-node tests
* could be that it requires more resources since it's starting
  many actor systems in same jvm
* noticed heartbeat send delay in logs, but not unreachable
* adjusting config to what we have in some other tests
2021-11-25 11:21:43 +01:00
mbairagi85
1e5a9da39c
Update ambiguous comment with maximum-large-frame-size (#30907) 2021-11-25 11:21:11 +01:00
Paweł Kaczor
16943a12c6
Improve unstash / unstashAll scaladoc (#30815) 2021-11-24 17:02:02 +01:00
Patrik Nordwall
3a2c1a688d
Hardening of ReplicatedEventSourcingSpec, #30842 (#30937)
* from logs it looks like the replicated event from the first
  incarnation of the actor isn't stored before the second
  incarnation is replayed
* stop and wait for termination before starting second incarnation
2021-11-24 13:53:29 +01:00
Peter Vlugter
5e523053e3
Support idle entity timeouts in limit-based passivation strategies (#30933) 2021-11-23 13:45:41 +01:00
Arnout Engelen
789a01c53e
scala3/docs: remove umbrella ticket reference (#30912)
I think we're now at a point where we can work with
separate issues for particular problems.
2021-11-19 18:00:08 +01:00