Commit graph

24744 commits

Author SHA1 Message Date
Christopher Batey
0d1237fd44
Latency benchmarks for rememered entities + JFR events (#29103) 2020-05-28 09:35:27 +02:00
Christopher Batey
870eef540a
Improve remember entities docs (#29136) 2020-05-27 15:50:55 +01:00
Christopher Batey
b463a1adbd
Merge master into re feature branch (#29135)
* Merge master into feature branch

* Formatting

* Remove redundant fixme

* Remove files that snuck in

* Fix backoff supervisor test
2020-05-27 12:50:53 +01:00
Johan Andrén
7dfb34f37e
Don not crash coordinator on old remember entities store responses (#29129)
* The require made the coordinator crash and never recover friendship with regions

* We don't need those logs
2020-05-26 11:51:36 +01:00
Johan Andrén
0baf31cef7
Multiple remember entities fixes (#29124)
* Logging cleanup
* Cherry pick of Chbateys fix for watch/termination of entity
* When write is in progress or in batch queue message needs to go in buffer (If it doesn't it can re-order delivery)
2020-05-26 09:03:56 +02:00
Johan Andrén
bee6f3cbf0
Don't stall coordinator init on slow remember shard store #28925 2020-05-22 15:40:26 +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
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
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
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
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
Johan Andrén
bc2671757f
A stash that should have been buffer #28957 (#28987) 2020-05-05 10:45:49 +02:00
Johan Andrén
29d288a4ba
Shard coordinator remember entities refactor (#28909)
* Simplified coordinator ddata store
2020-04-28 08:58:14 +02:00
Johan Andrén
722b68e7cc
Refactor remember entitites in shards (#28776)
* DData and Persistence based remember entitites refactored
* Order methods in the order of init in the shard.
* Some bad isolation between test cases causing problems
* Test coverage for remember entities store failures
* WithLogCapturing where applicable
* MiMa filters
* Timeouts from config for persistent remember entities
* Single method for deliver, less utf-8 encoding
* Include detail on write failure
* Don't send message to dead letter if it is actually handled in BackOffSupervisor
* Back off supervisor log format plus use warning for hitting max restarts
* actor/message based spi
* Missing assert that node had joined cluster
2020-04-03 14:57:49 +02:00
Manuel Bernhardt
4c81ef838b
Don't advertise temporary references in the compression table #28822 2020-03-30 09:19:12 +02:00
Patrik Nordwall
f31b58b61a
Merge pull request #28827 from akka/wip-mima-2.6.4-patriknw
mima: check against 2.6.4, and missing filters
2020-03-27 15:23:39 +01:00
Johan Andrén
2a099e1306
Updated incorrect comment (#28825) 2020-03-27 14:12:40 +01:00
Arnout Engelen
79b1cda615
Create the git tag before releasing rather than during (#28820) 2020-03-27 11:59:30 +01:00
Patrik Nordwall
e151536e81 mima: check against 2.6.4, and missing filters 2020-03-27 11:54:42 +01:00
Arnout Engelen
b34e26eff0
Publish snapshots to gustav with 'publish' (#28815)
This removes the need to publish to a 'predictable' directory and then
'manually' rsyncing the locally-created repository from jenkins to gustav.

This is not needed for anything, it just simplifies the build a bit. We
could eventually use it for the paradox and api docs as well.
2020-03-27 10:30:38 +01:00
Johan Andrén
dc678a6319
Docs: TestKit leaking into Java getting started guide (#28793) 2020-03-27 10:09:48 +01:00
Ignasi Marimon-Clos
f683241c40
Docs: examples for io streams with StreamConverters (#28746) 2020-03-27 09:56:59 +01:00
Arnout Engelen
b40873dc10
Remove last crossPaths occurrence (#28817)
We were already not using it for most of the build
2020-03-27 09:38:12 +01:00
yiksanchan
a04a14d022
Update remoting.md (#28811) 2020-03-27 09:37:44 +01:00
Patrik Nordwall
37d87811b5
Doc example of Streams watch operator, #25468 (#28752) 2020-03-26 18:00:58 +01:00
Yakiv Yereskovskyi
5605f04cb7
allow Source.queue concurrent pushing (#28273) 2020-03-26 10:56:45 -04:00
Patrik Nordwall
bf6576ce79
remove test config of old flight recorder (#28800) 2020-03-25 13:32:19 +01:00
Ignasi Marimon-Clos
04396d9c30
Cross-references to/from ref-docs vs operator docs (#28788) 2020-03-24 14:47:03 +01:00
Arnout Engelen
4b782e54b8
Update to genjavadoc 0.16 (#28791) 2020-03-24 11:21:31 +01:00
Patrik Nordwall
b1346ad7a7
JMH bench and flight recorder for reliable delivery, #28725 (#28741)
* JMH bench for reliable delivery
* JFR flight recorder for reliable delivery
* disable hi-freq events by default
* CompileJdk9
* fix validateCompile
2020-03-24 07:59:33 +01:00
kerr
7f2773024f
+act Add retry with new delay calculation support #25999 2020-03-23 15:20:12 +01:00
Christopher Batey
59bad03cca
Remove FIXME and link to docs for typed pub sub (#28767) 2020-03-23 15:17:59 +01:00
B YI
1545f3fb25
Doc example for Sink.head (#28782) 2020-03-23 14:03:09 +01:00
Jacek Ewertowski
2cccfa3c29
Stream: Sugar for Sink.ignore #27789, #24986 2020-03-23 13:05:25 +01:00
Arnout Engelen
f8d7b0c94a
Fix compiler error in project/Dependencies.scala (#28770) 2020-03-20 16:02:30 +01:00
Kirill Yankov
41f20cbb81
Persistence testkit implementation #15571 (#26825) 2020-03-20 14:18:43 +01:00
Eike Wacker
630e712b9f
Allow a read of length 0 in InputStreamAdapter #28751 (#28759) 2020-03-20 11:33:00 +01:00
Christopher Batey
35b4da09dd
Use Scalal 2.12.11 (#28754) 2020-03-20 08:33:25 +00:00
RibleStrype
96639c537e
fix premature reset of the 'writeInProgress' flag in case of persistence failure #28629 2020-03-19 15:59:46 +01:00
Patrik Nordwall
fa9ceaa5eb
doc: Vector instead of List in daemon processes example (#28763) 2020-03-19 13:34:41 +01:00
Christopher Batey
992e3624bb
ShardedDaemonSet creates one too many (#28766) 2020-03-19 11:58:58 +00:00
Ignasi Marimon-Clos
bcfdb896b0
Test jackson support for scala enumerations (#28726)
* Extends Spec over scala enumerations
* Adds documentation for scala enumeration support serializing with Jackson
2020-03-19 11:09:05 +01:00
Ignasi Marimon-Clos
3d8b4360f0
Docs: Example on the as/fromJavaStream operators (#28745) 2020-03-18 15:54:21 +01:00
Patrik Nordwall
94d5b04d93
Doc example of Sink.ignore, #25468 (#28753) 2020-03-18 12:42:20 +01:00
Johan Andrén
816e0498f9
Silencing multi-jvm shutdown error (#28692)
* Why doesn't this work?

* That finally got rid of the error stacktrace!
2020-03-18 12:14:05 +01:00
Renato Cavalcanti
ab5d2472d9
Merge pull request #28750 from akka/wip-PersistentRepr-toString-patriknw
Don't include event in PersistentRepr.toString
2020-03-17 20:38:27 +01:00
Patrik Nordwall
5bde02380a Don't include event in PersistentRepr.toString
* Logging of toString of unknown classes should be avoided, since it could be huge
* Logging for EventSourcedBehaviorImpl includes the PersistentRepr,
  for example:

```
Received Journal response: WriteMessageSuccess(PersistentImpl(Confirmed(2,q1,1583924066958),6,pid-6),,false,null,831cd256-9bc5-40e3-b84c-4a2d34dde643,0),9)
```
2020-03-17 11:56:14 +01:00
Renato Cavalcanti
990ad57527
Merge pull request #28727 from YikSanChan/patch-5
add missing full stop
2020-03-16 21:46:08 +01:00
Renato Cavalcanti
1f288a6923
Merge pull request #28737 from akka/wip-minor-releasing-patriknw
fix format of RELEASING.md
2020-03-16 21:44:13 +01:00
Ignasi Marimon-Clos
2155c8c05a
Merge pull request #28740 from ignasi35/persistence-docs-readability
Avoid a duplicate link text.
2020-03-16 17:21:47 +01:00