Johan Andrén
b2b594293d
Split up large writes in the EventSourcedRememberEntitiesShardStore ( #29233 )
2020-06-16 09:14:42 +02:00
Christopher Batey
7f48be9ef8
Use watchWith for entity terminated ( #29230 )
...
Also, internal API changes for Cinnamon.
2020-06-16 09:13:52 +02:00
Johan Andrén
988ead1ef6
Clear out list of shards in DData coordinator store when no longer needed ( #29232 )
2020-06-15 17:36:22 +02:00
Johan Andrén
b70d851ea0
Merge pull request #29227 from johanandren/wip-smaller-end-review-feedback-fixes
...
All the smaller pieces of feedback from Patrik addressed
2020-06-12 11:27:22 +02:00
Johan Andrén
5e7b895c22
s/crashing/restarting
2020-06-11 17:01:32 +02:00
Johan Andrén
0475c11a1b
Avoid loop when not flightrecording
2020-06-11 17:00:51 +02:00
Johan Andrén
aa874d610f
Require set of remembered entities to start to be nonEmpty
2020-06-11 16:58:41 +02:00
Johan Andrén
5e222214b6
Debug log for stashing while awaiting lease
2020-06-11 16:57:32 +02:00
Johan Andrén
c5aa918732
Language fix and don't showcase leveldb
2020-06-11 16:07:50 +02:00
Johan Andrén
25a1daa0d2
Majority plus in docs
2020-06-11 16:05:36 +02:00
Johan Andrén
a0fa284398
Deprecation version updated
2020-06-11 16:04:23 +02:00
Johan Andrén
c9e153a47f
Tune test logs back to info
2020-06-11 16:03:22 +02:00
Johan Andrén
4a4a6065c1
Move MiMa excludes to correct version
2020-06-11 16:02:07 +02:00
Johan Andrén
a31260e8fc
More private and @InternalApi sprinkling on top
2020-06-11 16:00:43 +02:00
Johan Andrén
1e811eebbc
Avoid allocation on entity lookup
2020-06-11 15:58:33 +02:00
Johan Andrén
55311cf914
RememberingStartNoAck -> RememberingStart.empty
2020-06-11 15:56:56 +02:00
Johan Andrén
33b34da36c
Union and diff for sets are more performant
2020-06-11 15:52:46 +02:00
Johan Andrén
9c7f16a4db
Re-use logic for allocating shard home for remembered entities
2020-06-11 15:46:03 +02:00
Johan Andrén
d2dd80fe17
Some clarifying comments
2020-06-11 15:45:00 +02:00
Christopher Batey
c8f60af709
DEBUG logging for cluster sahrding leaving spec ( #29180 )
2020-06-04 15:07:27 +02:00
Johan Andrén
078d7bd2fb
Handle some corner case states when receiving StartEntity ( #29176 )
2020-06-04 10:52:53 +02:00
Johan Andrén
1254595c7d
Remember entities starting separation of concerns ( #29174 )
...
Extract starting strategy out of shard into RememberEntitiesStarter and do it through messages instead of futures.
2020-06-04 10:43:08 +02:00
Johan Andrén
45d9d89fbe
Restore termination behavior for non-remember entities ( #29175 )
...
... and add testcoverage
2020-06-04 10:27:20 +02:00
Johan Andrén
fb39ac1a9c
Tests for EventSourced remember entities shard store ( #29177 )
...
* Tests for EventSourced remember entities shard store
* Move the migration event adapter to a better place and mention in docs.
2020-06-04 09:54:28 +02:00
Christopher Batey
eb923bbbe1
Move coordinator state and remembered entities next to each other ( #29173 )
...
* Fix docs on how to passivate
* Remove 10000 limitation of remembered entities
2020-06-03 11:55:51 +01:00
Johan Andrén
85e11c8941
Start entity ack not needed in shard ( #29164 )
...
* The only sender of StartEntityAck to shard is RememberEntitiesStarter
That is not really needed, because the shard already knows if it started an entity, so we can drop that logic
* Separate command for the case where ids has been relocated by a new shard id extractor algo
* Store that entities were moved on shard id extractor change and cover with test
* Do'h. Can't mark entity as being remembered before checking if there are any entities being remembered
* Comment explaining test
2020-06-03 09:40:33 +01:00
Johan Andrén
224fb1592d
Turn verbose logging into a config flag ( #29168 )
2020-06-03 08:42:17 +01:00
Johan Andrén
5a5468dd4a
DData shard store improvements ( #29166 )
...
* Handle timeouts better wrt the timeout used in shard
* load all entities up front to potentially speed up GetRemembered response
2020-06-03 09:02:32 +02:00
Johan Andrén
aa50c63965
Accumulate and ack all requests to start entity ( #29165 )
2020-06-02 16:30:16 +02:00
Johan Andrén
5643f7e194
Problems with StartEntityAck, StartEntity and the persistent test running with ddata remember entities ( #29161 )
2020-06-02 14:59:38 +02:00
Johan Andrén
13aed055fd
Publish Dropped message when sharding drops buffered messages ( #29163 )
2020-06-02 14:58:04 +02:00
Johan Andrén
f70d33145c
Merge pull request #29158 from johanandren/merge-master-2
...
Merge Master into Remember Entities feature branch a second time
2020-06-02 08:45:34 +02:00
Johan Andrén
5d42c929ef
I gotta remove these empty files
2020-06-01 17:36:49 +02:00
Johan Andrén
e89b108765
Scalafmt wants an empty line after header
2020-06-01 15:51:32 +02:00
Johan Andrén
012140e814
Missing headers
2020-06-01 15:06:19 +02:00
Johan Andrén
5b5e3577e2
Some changes on top of changes from master
2020-06-01 14:30:28 +02:00
Johan Andrén
5bbf5a5a21
Merge branch 'master' again to get the latest sharding fixes
2020-06-01 12:57:51 +02:00
Johan Andrén
b9667fb6b3
Batch remember entity stops ( #29149 )
2020-06-01 11:03:03 +02:00
Patrik Nordwall
4425005435
Merge pull request #29144 from akka/wip-29085-spi-patriknw
...
Telemetry SPI hooks for SBR decision, #29085
2020-06-01 07:53:13 +02:00
Renato Cavalcanti
0969e9d5a3
Merge pull request #29028 from akka/actor-ref-provider-logging
...
LocalActorRefProvider: added dedicated logger for deserialization failures
2020-05-29 10:26:58 +02:00
Renato Cavalcanti
7770ea7ec9
Merge branch 'master' into actor-ref-provider-logging
2020-05-29 08:57:39 +02:00
Johannes Rudolph
24f2b2e617
stream: cosmetic improvements to FutureFlow ( #29068 )
2020-05-28 15:42:41 +02:00
Johannes Rudolph
842052d633
Merge pull request #29091 from jrudolph/28993-fix-keepAlive
...
stream: make keepAlive/IdleInject more reliable against flukes
2020-05-28 14:45:07 +02:00
Johannes Rudolph
8e349b4180
Merge pull request #29121 from jrudolph/29111-fix-tls-actor-hangs
2020-05-28 14:40:26 +02:00
Nicolas Vollmar
cfe4443d25
Extend backoff supervision with custom message handling #29082 ( #29083 )
2020-05-28 13:15:46 +02:00
Christopher Batey
0d1237fd44
Latency benchmarks for rememered entities + JFR events ( #29103 )
2020-05-28 09:35:27 +02:00
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
cd9e9e960a
Telemetry SPI hooks for SBR decision, #29085
2020-05-28 08:52:22 +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
Christopher Batey
870eef540a
Improve remember entities docs ( #29136 )
2020-05-27 15:50:55 +01:00