Patrik Nordwall
141318e60a
shard coordinator should wait until min-members regions registered, #21194
2016-10-28 15:49:21 +02:00
Patrik Nordwall
54f5b836fc
Merge branch 'master' into wip-merge-to-master-patriknw
2016-09-29 13:56:37 +02:00
Patrik Nordwall
3531e901e9
harden ConstantRateEntityRecoveryStrategySpec, #21230
2016-09-14 13:21:41 +02:00
Johannes Rudolph
529b10a9f8
=rem #21202 a first set of protobuf serializations for artery messages ( #21380 )
2016-09-08 17:58:25 +02:00
Patrik Nordwall
8ab02738b7
Merge branch 'master' into wip-sync-artery-dev-2.4.9-patriknw
2016-08-23 20:14:15 +02:00
Abe Sanderson
9c558016a2
optimization to improve the time to rebalance shards
2016-08-10 12:54:08 -06:00
Kirill Plyashkevich
5caa23db97
ShardRestart shouldn't go to userspace #21145
...
Due to order in pattern match `ShardRestart` message can be received in user-defined `messageExtractorId` (when set via providing `MessageExtractor` which is not returning null in case of unknown messages).
To avoid this it's sufficient to only change the order in the pattern match.
Also added note to documentation for using `MessageExtractor` to clarify that it should return null in case of unhandled message.
2016-08-10 11:51:50 +02:00
Peter Barron
1f9c374bd9
Cluster Sharding with remember-entity enabled fails to recover after restart #20744
2016-08-01 10:46:09 +02:00
Johan Andrén
d6c048f59a
A simpler ActorRefProvider config #20649 ( #20767 )
...
* Provide shorter aliases for the ActorRefProviders #20649
* Use the new actorefprovider aliases throughout code and docs
* Cleaner alias replacement logic
2016-06-10 15:04:13 +02:00
Björn Antonsson
c66ce62d63
Update to a working version of Scalariform
2016-06-02 22:12:36 +02:00
Patrik Nordwall
9f32b77bde
increase timeout for setting up SharedLeveldbStore, #20056
...
* SharedLeveldbStore is opening leveldb in preStart so that might
sometimes take more than 3 seconds, I guess
* the test looks correct
2016-05-10 15:02:52 +02:00
Konrad Malawski
d24c1e0ede
=sha #20315 make sharding snapshotting based on seqNr, not counter ( #20319 )
2016-05-05 16:21:24 +02:00
Johan Andrén
c1c31ed46d
Merge pull request #20320 from johanandren/wip-addon-hooks-johanandren
...
API for pluggable cluster downing
2016-04-18 17:37:57 +02:00
Johan Andrén
5671927cf1
clu #20309 API for pluggable cluster downing
2016-04-18 15:06:05 +02:00
jsuchenia
e4127c3af6
Improve documentation and configuration API when using together: sharding and distibuted data ( #20215 )
...
* Missing setter for stateStoreMode in ClusterShardingSettings
* Improve Sharding documentation regarding Distributed Data Storage
2016-04-18 11:37:56 +02:00
Roland Kuhn
7cf99134dc
catch ActorCell creation failures for top-level actors #15947
...
Previously a failure during e.g. MailboxType.create() would make the
user guardian fail, tearing down the whole system as a result. The cause
is a deep bug in handling ActorCell creation that we cannot really fix
anymore due to resulting changes in semantics, hence this fix only
targets top-level actors (where the observable difference is an
unambiguous improvement).
fixes #15947
2016-03-17 11:04:52 +01:00
Patrik Nordwall
a45959d3f7
=cls #19893 Handle SaveSnapshotSuccess in PersistentShard
2016-03-15 15:35:25 +01:00
Konrad Malawski
fc9de3bc0f
Merge pull request #19894 from johanandren/wip-19863-failing-ClusterShardingGetStatsSpec-johanandren
...
Fix for #19863 ClusterShardingGetStatsSpec failing
2016-03-14 14:48:00 +01:00
Konrad Malawski
4d9ffd6387
Merge pull request #20000 from wlk/wlk-18500-fix-scaladoc-warnings-from-jenkins
...
[WIP] fixing scaladoc warnings reported by jenkins
2016-03-11 15:11:31 +01:00
Wojciech Langiewicz
afce1b7529
fixing scaladoc warnings reported by jenkins
2016-03-10 13:05:32 +01:00
Martynas Mickevičius
50f99328fe
#18765 Update to latest MiMa which is now an AutoPlugin.
...
* check for binary inc. issues by default
* if check is not needed, disable MimaPlugin
* determine old artifact id from the current one
2016-03-10 10:45:35 +02:00
Johan Andrén
854d5b0c09
Stabilization of ClusterShardingGetStatsSpec, fix for #19863
2016-03-09 16:24:50 +01:00
Johan Andrén
d63ba52da3
Do not warn about harmless unhandled MemberEvents in ShardRegion
...
Shard region subscribes to cluster change events, but only cares about `MemberUp` and `MemberRemoved`,
and logs all other as a warning about unhandled messages, this is now silenced.
2016-03-08 18:10:17 +01:00
Johannes Rudolph
b6cbc7f13a
=all remove unused imports
2016-02-23 20:29:22 +01:00
James Mulcahy
48ecd9d7d5
Fix for sharding GetClusterStats #19601
2016-02-23 17:12:17 +01:00
Johan Andrén
62e30b3c08
Update copyrights and links to the new company name #19851
2016-02-23 12:58:39 +01:00
Kirill Plyashkevich
35ffc49226
GZIPInputStream is not closed at all at places, where it's instantiated, which leads to off-heap memory leak with every deserialized message.
...
GZIPInputStream uses Inflater internally (so also native zlib). Inflater frees up memory only on explicit call to end() or during finalization (finalize() contains only call to end()), so GZIPInputStream should always be explicitly closed.
As native libraries are used a non-scalaish try-finally is used to avoid off-heap memory leak for GZIPInputStream and GZIPOutputStream in case of exceptions.
2016-02-15 16:15:05 +01:00
Tal Pressman
4c12b5ea50
=clu #19622 Use full address in ClusterShardingStats
2016-02-02 16:51:19 +02:00
Prayag Verma
b7783968a0
=pro #19068 All copyrights ranges and single years updated to a range ending in 2016
2016-01-25 10:20:30 +01:00
Brendan McAdams
269a3b3647
Corrected several misspellings of the word "losing".
2016-01-15 20:20:15 -08:00
Patrik Nordwall
5ebdd79bee
=cls increase the delay in the graceful shutdown example
2015-12-21 09:54:14 +01:00
Roland Kuhn
6a2d4e2ce6
Merge pull request #19226 from akka/wip-clarify-sharding-role-patriknw
...
=cls Clarify the sharding role setting
2015-12-20 18:49:36 +01:00
Patrik Nordwall
f5ed085179
=cls improve the graceful shutdown example
2015-12-18 11:39:52 +01:00
Patrik Nordwall
d44120b726
=cls Clarify the sharding role setting
2015-12-18 11:15:06 +01:00
Patrik Nordwall
a6fd7b448f
=cls #18978 Lazy startup of shards when rememberEntities=false
...
* and don't populate the unallocatedShards Set in the State
when rememberEntities=false
2015-11-27 10:09:44 +01:00
Patrik Nordwall
d952302edc
Merge pull request #18984 from msosnicki/msosnicki-18945
...
Issue #18945 . Fix HandOff problem where Shards may not be killed.
2015-11-25 09:22:57 +01:00
Marcin Sosnicki
e77bb2fa45
Issue #18945 . Fix HandOff problem where Shards may not be killed.
...
Issue #18945 . Fix HandOff problem where Shards may not be killed.
2015-11-23 20:36:25 +00:00
Patrik Nordwall
27995af79f
=cls #18722 fix DDataShardCoordinator init
...
* the become logic was wrong when watchStateActors triggers an immediate
state update
2015-11-18 16:13:58 +01:00
Krzysztof Bochenek
5c418efef2
=cls #18762 fix graceful shutdown of empty region
2015-11-11 11:58:43 +01:00
drewhk
11bf8a67d0
Merge pull request #18543 from johanandren/wip-17695-api-for-sharding-state-retrieval-johanandren
...
+clu #17695 add a way to inspect the current sharding state
2015-11-11 11:19:50 +01:00
Patrik Nordwall
1e36e5e187
Merge pull request #18746 from akka/wip-18554-singleton-startup-patriknw
...
=clu #18554 Make oldest assignment deterministic when joining
2015-11-06 14:48:57 +01:00
Patrik Nordwall
c7c187f6b7
=clu replace Set -- with diff and ++ with union
...
* better performance according to
https://docs.google.com/presentation/d/1Qjryxoe-fYEM8ZPhM-98LKfbhnRcn5eAEMNlVVnixsA/pub
2015-11-06 14:48:17 +01:00
Johan Andrén
4abbc8db50
+clu #17695 add a way to inspect the current sharding state
...
Two new message pairs:
`GetShardRegionState`/`CurrentShardRegionState` allows for querying a region for it's current shards and the current `EntityIds` of it
`GetClusterShardingStats`/`ClusterShardingStats` allows for querying the entire cluster for a summary of
the number of entitites alive in each region and shard.
2015-11-02 08:56:09 +01:00
Martynas Mickevičius
4ffe267835
=pro verify BC against all binary compatible versions
2015-10-23 09:10:25 +03:00
Patrik Nordwall
9380983d3c
=clu #18554 Make oldest assignment deterministic when joining
...
* the reported issue is fixed by the immediate leaderActions
(moving to Up) when joining the first node to itself
* the other changes are precautions just in case
2015-10-21 07:53:14 +02:00
Patrik Nordwall
48754bb33f
=pro #18447 Check binary compatibility with 2.4.0
2015-09-30 11:31:11 +02:00
Patrik Nordwall
0cdd9af3c4
+per #18485 Add cluster sharding data removal utility
2015-09-17 14:07:08 +02:00
Konrad Malawski
c57b4e24c8
Merge pull request #18445 from akka/wip-18370-sharding-supervision-patriknw
...
=cls #18370 Document supervision for Cluster Sharding
2015-09-16 12:59:37 +02:00
Patrik Nordwall
4e2b8190a3
=cls #18370 Document supervision for Cluster Sharding
2015-09-10 15:35:26 +02:00
Patrik Nordwall
e5159eb764
=cls #18176 Harden ClusterShardingLeavingSpec
...
In logs it is clear that the fourth node is moved to Up,
but it takes more than 5 sec to disseminate that info
2015-09-09 14:36:08 +02:00