Commit graph

24957 commits

Author SHA1 Message Date
Patrik Nordwall
2a536d7065
Merge pull request #29140 from akka/wip-29085-log-patriknw
Log markers for SBR, #29085
2020-05-28 08:59:21 +02:00
Patrik Nordwall
95dd4b2021
handle thrown exceptions in Retry pattern in same way as failed Future (#29119) 2020-05-28 07:22:22 +01:00
Patrik Nordwall
b933fd0b16
Merge pull request #29137 from akka/wip-29131-region-termination-patriknw
Don't allocate to terminated regions, #29131
2020-05-27 14:30:47 +02:00
Patrik Nordwall
1472bd9e8c Log markers for SBR, #29085 2020-05-27 14:26:55 +02:00
Patrik Nordwall
95111955c4 Don't allocate to terminated regions, #29131
* when using down-removal-margin it could allocate to an
  already terminated region
* the watch fix in PR #29092 solves this
* this is an "optimization" to avoid the regions that
  have been terminated
2020-05-27 11:09:59 +02:00
Patrik Nordwall
7c77617d18
Merge pull request #29092 from akka/wip-29034-sharding-watch-patriknw
Allow ShardCoordinator to watch old region ActorRef that is not in cluster, #29034
2020-05-27 10:06:38 +02:00
Patrik Nordwall
90aa5be45e
fix wrong lastSequenceNumber, #28976 (#29128)
* off by one when accessed from event handler
* off by one from event handler during replay
* wrong when unstashing
* added more tests, also for persist of several events
2020-05-26 17:17:30 +02:00
Johan Andrén
2a1f54c8ce
Stash the custom termination message for watchWith #29101 2020-05-26 16:04:41 +02:00
Patrik Nordwall
228e1cfebc
Detect duplicate serializer identifiers, #29100
* Detect duplicate serializer identifiers, #29100
* and expand the documentation for the serializer identifier
* and mention BaseSerializer to read the identifier from config
* same class same id is ok
2020-05-26 13:09:53 +02:00
Patrik Nordwall
176152278b
doc: add routers to Higher level Cluster tools (#29117) 2020-05-26 13:09:01 +02:00
Johan Andrén
578acab047
Publish Dropped to eventstream when serialized payload too large #29077 (#29079) 2020-05-26 13:08:14 +02:00
Christopher Batey
fa702d5a45
Fix race in ActorThreadSpec (#29130) 2020-05-26 13:06:28 +02:00
Renato Cavalcanti
5b60931968
Merge pull request #29108 from scala-steward/update/metrics-core-4.1.9 2020-05-26 09:50:49 +02:00
Patrik Nordwall
4f0417e12e
InternalStableApi on JavaDurationConverters (#29118) 2020-05-26 09:47:24 +02:00
Renato Cavalcanti
3d377bec97
Merge pull request #29122 from akka/wip-reply-type-patriknw 2020-05-26 08:52:12 +02:00
Renato Cavalcanti
34ed9f2822
Merge pull request #29123 from akka/wip-steward-less-often-patriknw 2020-05-26 08:46:46 +02:00
Patrik Nordwall
4b6e659c83 Scala Steward once per once 2020-05-25 15:17:56 +02:00
Patrik Nordwall
07165d181b
change email in pom.xml (#29116) 2020-05-25 14:23:43 +02:00
Patrik Nordwall
888580e604 remove reply type parameter from Command in Account example
* only makes it look more complex than it is
* probably a remaining of the early reply experiments
2020-05-25 14:08:00 +02:00
Patrik Nordwall
c45e6ef39b
Add Lightbend's SBR to Akka Cluster, #29085 (#29099)
* change package name to akka.cluster.sbr
* reference.conf has same config paths
* akka.cluster.sbr.SplitBrainResolverProvider instead of com.lightbend.akka.sbr.SplitBrainResolverProvider
* dependency from akka-cluster to akka-coordination, for lease strategy
* move TestLease to akka-coordination and use that in SBR tests
* remove keep-referee strategy
* use keep-majority by default
* review and adjust reference documentation

Co-authored-by: Johan Andrén <johan@markatta.com>
Co-authored-by: Johannes Rudolph <johannes.rudolph@gmail.com>
Co-authored-by: Christopher Batey <christopher.batey@gmail.com>
Co-authored-by: Arnout Engelen <github@bzzt.net>
2020-05-25 12:21:13 +02:00
Scala Steward
f09ac3eff0
Update metrics-core, metrics-jvm to 4.1.9 2020-05-24 18:05:27 +02:00
Patrik Nordwall
e0586e546c
Detect illegal access to ActorContext from the outside (#27112) 2020-05-22 17:23:02 +02:00
klappvisor
a28ec9786e
Fixed Deploy productElement implementation #29104 (#29105) 2020-05-22 14:49:34 +02:00
László van den Hoek
7424dfa490
more useful JavaDoc for javadsl Flow (#28577) 2020-05-22 13:56:04 +02:00
Nicolas Vollmar
ab89e15438
Ignore possible state change in start (#29069) 2020-05-22 13:43:45 +02:00
contrun
11816df236
add lz4 compression for jackson (#29012) 2020-05-22 13:37:22 +02:00
Johannes Rudolph
6a07c4f809
actor: need to keep signature of clearActorFields for now (#29098) 2020-05-20 12:01:19 +02:00
Patrik Nordwall
228c19e688 Allow ShardCoordinator to watch old region ActorRef that is not in cluster, #29034
* Otherwise the remote watch is disabled and the old region ActorRef remains
  in the coordinator's state
2020-05-19 13:53:42 +02:00
Enno
8244f41d2e
Docs: revise Coordinated Shutdown with new actors APIs (#29057) 2020-05-18 19:19:11 +02:00
Patrik Nordwall
a232b42abe
Merge pull request #29089 from chbatey/issue-29060
Fix grammer error in cluster-concepts
2020-05-18 15:58:26 +02:00
Christopher Batey
0d1e45f2f5 Fix grammer error in cluster-concepts
Fixes #29060
2020-05-18 13:08:12 +01:00
Johannes Rudolph
59c5071e52
Don't set fields of actor / actorcell using reflection (#27614)
* encode failedFatally in the existing _failed field
* removed unused parameter of finishRecreate
* removed now unused parameter of clearActorFields
* Removed failed fatally with perpetrator state
* Remove actor_= and restrict places where _actor can be set
* test for non null context on actor termination
* Remove Reflect.lookupAndSetField
2020-05-18 14:07:57 +02:00
Ignasi Marimon-Clos
36c6bc1d07
Use new TLS algorithm defaults in remoting tests (#29074)
* Use the new dafaults in remoting tests

* scalafmt
2020-05-18 09:40:22 +02:00
Ignasi Marimon-Clos
54a9b3189a
Adds support to read PEM keys (#29039)
Co-Authored-By: James Roper <james@jazzy.id.au>
2020-05-16 18:09:24 -04:00
Johan Andrén
ac3065bfad
Docs for lazy stream operators (#28897) 2020-05-15 12:03:27 +02:00
Patrik Nordwall
5dc56a6d8c
Merge pull request #29070 from ennru/log-capture-init
Typed testkit: log capture logger initalisation
2020-05-14 14:01:24 +02:00
Enno Runne
5fb177eea4 Typed testkit: log capture logger initalisation 2020-05-14 12:32:18 +02:00
eyal farago
de59bb6803
Replace LazyFlow with FutureFlow (#28729)
And implement other lazy flows on top of it

Co-Authored-By: Johannes Rudolph <johannes.rudolph@gmail.com>
2020-05-14 10:28:53 +02:00
Arnout Engelen
9a1d5191b9
Allow taking a stream snapshot of a stream that uses TLS (#29047) 2020-05-13 09:14:04 +02:00
Ignasi Marimon-Clos
01b24fb4f5
Merge pull request #29049 from ignasi35/bump-algorithm-defaults 2020-05-12 21:31:07 +02:00
Patrik Nordwall
9677f19d2f
Additional testing of duplicated extensions (#29013)
* Additional testing of duplicated extensions
* explicit $ in config
* log first problem
2020-05-12 09:07:16 +02:00
Ignasi Marimon-Clos
99d75a4b41 Reviews tests asserting default values 2020-05-11 20:25:31 +02:00
kerr
bada816714
=build Fix commandAlias for fixall and sortImports (#28984)
* =build Fix commandAlias for fixall and sortImports

* =build Update sortImports to 0.5.0

* Sort imports to handle `javax`.

* fx
2020-05-11 11:47:33 +02:00
yiksanchan
de7d18667f
cancellable var -> private val (#29041) 2020-05-11 10:17:29 +02:00
Ignasi Marimon-Clos
5bc264d80b Review defaults for TLS algorithms defaults 2020-05-08 20:36:43 +02:00
Ignasi Marimon-Clos
599ab11709
Cleanup reference to TLS1.3 (#29048) 2020-05-08 18:46:13 +02:00
Ignasi Marimon-Clos
292a8b582a
Merge pull request #29032 from ignasi35/remove-signature-directive 2020-05-08 17:21:46 +02:00
Johan Andrén
3fc6445f96
Clarification about receptionist subscription (#29046) 2020-05-08 14:46:33 +02:00
Patrik Nordwall
39a785d500
Merge pull request #29014 from akka/wip-protobuf-3.11-patriknw
update protobuf 3.11.4
2020-05-08 12:23:59 +02:00
Patrik Nordwall
e43dfc189f
Merge pull request #29045 from akka/wip-29044-MessageAdapterSpec-patriknw
fix race condition in MessageAdapterSpec, #29044
2020-05-08 10:43:51 +02:00