Commit graph

25098 commits

Author SHA1 Message Date
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
3deffc8de2
Harden ShardCoordinator state replication, #28856 (#28895) (#29094)
* Possibility to prefer oldest in ddata writes and reads
  * enabled for Cluster Sharding
* New ReadMajorityPlus and WriteMajorityPlus
  * used by Cluster Sharding, with configuration
  * also possible to define ReadAll in config

(cherry picked from commit 4ba835d328)
2020-05-20 07:34:22 +01: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
Johannes Rudolph
01603ccc90
stream: make keepAlive IdleInject more reliable against flukes
Refs #28993

The previous `nextDeadline - time < 0` required that nanoTime resolution is
actually high enough to see that the deadline had already passed. If it
had not, the current keep alive was missed and also all future ones (until
another a regular element would trigger another push/pull cycle).

Now, with `>=` it also works in that case and just fails noisily if our
assumptions are not true.

It's not clear how it could have happened. On my machine, timers
trigger 1-2 tick-durations too late (but at least ~2ms). How that could be
the same in terms of the nanoTime resolution is hard to see.
2020-05-19 12:29:32 +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
Christopher Batey
9299f387dd
Reafactor shard to have a state for each entity (#29071)
* Refactor shard to have a state for each entity

Rather than inferred from various maps and sets.

Unfortunately, we still have the by actor ref and by id but have moved
them to a class so they are always updated together.

* Avoid allocation on the message path

* Change Entities API to all OptionVals rather than a mixture

* Add spec for Entities
* Avoid multiple conversions of collection for handoff
2020-05-18 07:48:14 +01: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
Christopher Batey
33226dbffc
Batch entitiy start updates for remembered entities (#29064)
* Initial prototype for batching entity creates
2020-05-14 11:38:09 +01: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
Christopher Batey
dba6eec460
Migration from persistent shard coordinator to ddata with eventsource… (#29058)
* Migration from persistent shard coordinator to ddata with eventsourced remembered entities

* Fix bin compat in typed sharding

* Add log capturing

* Java API for nested case objects in typed sharding settings

* Starting some docs for remembering entities store

* Snapshot and marker to detect going back to persistence mode

* Review feedback

* Unused imports
2020-05-13 10:38:11 +01: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
Johan Andrén
6f8f44b3df
Coordinator ddata state store with persistent remember entities (#29043)
* WIP

* Test and config update

* Multi-jvm tests updated to cover ddata state + persistent remember entities
2020-05-11 11:17:29 +01: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
Patrik Nordwall
0060794586 fix race condition in MessageAdapterSpec, #29044
* if FunctionRef is stopped first, which is probably the most common case
  the message will be redirected as is to deadLetters
* otherwise the wrapped message is sent to deadLetters
2020-05-08 09:44:08 +02:00
yiksanchan
a66aaa089d
Fix grammar in CONTRIBUTING.md (#29042) 2020-05-08 08:05:34 +02:00
yiksanchan
39914aa7ed
Improve grammar (#29040) 2020-05-07 22:11:10 +02:00
Renato Cavalcanti
bd923e285a
remove commented out (irrelevant) test case 2020-05-07 21:00:41 +02:00
Patrik Nordwall
ea582828bb
Possibility to disable Artery ActorRef and manifest compression, #28967 (#29020) 2020-05-07 15:34:10 +02:00
Patrik Nordwall
bfb67f4e74
Step two of the CBOR serialization issue, #28927 (#28928)
* Configuration changes to enable toBinary by default for jackson-cbor
* Must be in second step to support rolling updates
2020-05-07 15:26:47 +02:00
Patrik Nordwall
6161ca3e89
clarify ClusterSingletonProxy role docs (#29015) 2020-05-07 15:22:57 +02:00
Patrik Nordwall
066f461916
free memory when FunctionRef is stopped, #28959 (#29026) 2020-05-07 15:20:56 +02:00
Arnout Engelen
2223413503
Fix publishing credentials instructions (#29002)
You authenticate with your private key, of course...
2020-05-07 15:18:20 +02:00
Johan Andrén
b16e2597bd
Extra details around consistent hashing. (#29019) 2020-05-07 15:16:47 +02:00
Christopher Batey
0a208f4cb8
Fix race condition in InputStreamSinkSpec (#28990)
There's only one read so it was relying on both the Data and the Failed
being in the shared queue when it takes place.

Remove the data so that the poll on the shared queue will wait for the
Failed to be added.

Ref #28829
2020-05-07 10:33:24 +01:00
Ignasi Marimon-Clos
c1fd93c504 Removes signature directive support 2020-05-06 19:47:30 +02:00
yiksanchan
683868f9fe
Improve grammar (#29007) 2020-05-06 19:30:28 +02:00
Enno
d82c834a70
Docs: sort out links (#29027) 2020-05-06 15:02:12 +02:00
Renato Cavalcanti
f04559de66
Merge pull request #28989 from chbatey/issue-38972 2020-05-06 13:53:54 +02:00
Renato Cavalcanti
94d3223be2
Merge pull request #29030 from johanandren/wip-updated-classic-block-docs 2020-05-06 13:11:59 +02:00
Ignasi Marimon-Clos
6b4213be2b
Final signature to apidoc review (#29021)
* Replace signature with apidoc in fromMaterializer operator docs

* (untyped) actorRefWithBackpressure replace siugnature with apidoc

* (typed) actorRefWithBackpressure replace siugnature with apidoc

* signature to apidoc of map

* (typed and untyped) actorRef signature to apidoc

* Reviews ask (no replacement)

* from/apply from signature to apidoc directive.
2020-05-06 11:17:53 +02:00