Commit graph

41 commits

Author SHA1 Message Date
Patrik Nordwall
cd7eae28f6 fix entityPropsFactory id param, #21809 2017-12-07 13:17:04 +01:00
Tal Pressman
a8e5f48f36 add entity id to sharding props (#24053) 2017-12-05 16:49:05 +02:00
Patrik Nordwall
87d74f1510 Docs for multi-DC features 2017-07-07 16:55:22 +02:00
Patrik Nordwall
bb9549263e Rename team to data center, #23275 2017-07-04 17:11:21 +02:00
Patrik Nordwall
e0fe0bc49e Make cluster sharding DC aware, #23231
* Sharding only within own team (coordinator is singleton)
* the ddata Replicator used by Sharding must also be only within own team
* added support for Set of roles in ddata Replicator so that can be used
  by sharding to specify role + team
* Sharding proxy can route to sharding in another team
2017-07-04 15:04:43 +02:00
Patrik Nordwall
bf6cd6d2c7 harden another case in ClusterShardingSpec, #23006
* due to the new StartEntity message the start is not
  as instant as it used to be and therefore the test must
  retry this check
2017-05-23 07:24:04 +02:00
Patrik Nordwall
99a044b472 fix remember entities tests, #22994 2017-05-22 14:58:41 +02:00
Patrik Nordwall
b45a254685 use minCap for majority write/read in sharding, #22141
* also added some docs about the feature since that was missing
2017-01-24 16:41:18 +01:00
Patrik Nordwall
37679d307e rememberingEntities with ddata mode, #22154
* one Replicator per configured role
* log LMDB directory at startup
* clarify the imporantce of the LMDB directory
* use more than one key to support many entities
2017-01-23 11:57:52 +01:00
Philippus Baalman
6c7085252a extended copyright into 2017 2017-01-04 17:37:15 +01:00
Patrik Nordwall
48e85953d9 harden ClusterShardingSpec, #21535 2016-11-08 14:01:23 +01:00
Patrik Nordwall
1bb8f1737f increase barrier-timeout in ClusterShardingSpec, #21718
* In the logs of the failing test we can see that the first node is removed
  as expected and then come back in the membership, which is possible in
  case of conflicting membership state merge. It is supposed to be
  removed again by the auto-down. That doesn't happen within the barrier-timeout.
2016-11-08 13:37:37 +01:00
Patrik Nordwall
8ab02738b7 Merge branch 'master' into wip-sync-artery-dev-2.4.9-patriknw 2016-08-23 20:14:15 +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
Johan Andrén
62e30b3c08 Update copyrights and links to the new company name #19851 2016-02-23 12:58:39 +01: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
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
4e2b8190a3 =cls #18370 Document supervision for Cluster Sharding 2015-09-10 15:35:26 +02:00
Patrik Nordwall
c9662d8083 Merge pull request #18324 from akka/wip-15646-sharding-initial-watch-patriknw
=cls #15646 Optimize the initial watch in shard coordinator
2015-09-04 12:02:17 +02:00
Patrik Nordwall
bfde1eff19 =clu #18337 Disable down-removal-margin by default
For manual downing it is not needed. For auto-down it doesn't add any extra safety, since that
is not handling network partitions anyway.

The setting is still useful if you implement downing strategies that handle network partitions,
e.g. by keeping the larger side of the partition and shutting down the smaller side.
2015-09-04 11:28:33 +02:00
Patrik Nordwall
bc48872873 =cls #15646 Optimize the initial watch in shard coordinator
Two improvements to the coordinator startup (state recovery) that
should make it operational faster and reduce the amount of lost messages
during startup.

* Let the quick (those not involving failure detection) Terminated messages
  be processed before starting to reply to GetShardHome.
* Consider regions that don't belong to the current cluster
  to be terminated.
2015-08-27 18:45:32 +02:00
Ostapenko Evgeniy
6814d08ef1 =cls #17846 Use CRDTs instead of PersistentActor to remember the state of the ShardCoordinator #17871 2015-08-20 13:36:37 +03:00
Konrad Malawski
86c00d4716 !per +act #17842 move BackoffSupervisor to akka.pattern 2015-07-08 16:45:23 +02:00
Patrik Nordwall
89f17ddfd0 =cls #17447 Split Cluster Sharding docs into java/scala 2015-06-30 16:39:31 +02:00
Roland Kuhn
0de9f0ff40 Merge pull request #17641 from kukido/kukido-spellings-normalization
=doc #17329 Fixed and normalized spellings in ScalaDoc and comments
2015-06-19 12:06:53 +02:00
Patrik Nordwall
2a88f4fb29 =clu Improve cluster downing
* avoid using Down and Exiting member from being used for joining
* delay shut down of Down member until the information is spread
  to all reachable members, e.g. downing several nodes via one node
* akka.cluster.down-removal-margin setting
  Margin until shards or singletons that belonged to a
  downed/removed partition are created in surviving partition.
  Used by singleton and sharding.
* remove the retry count parameters/settings for singleton in
  favor of deriving those from the removal-margin
2015-06-18 12:55:54 +02:00
Patrik Nordwall
6d26b3e591 !per Make persistent failures fatal
* remove PersistentFailure and RecoveryFailure messages
* use stop instead of ActorKilledException
* adjust PersistentView
* adjust AtLeastOnceDeliveryFailureSpec
* adjust sharding
* add BackoffSupervisor
2015-06-17 15:49:47 +02:00
Patrik Nordwall
5fab2b4521 !cls #16422 Rename shardResolver and idExtractor 2015-06-16 13:38:57 +02:00
Patrik Nordwall
70024298ac !cls #16422 Rename Entry to Entity in sharding 2015-06-11 10:00:43 +02:00
Patrik Nordwall
25ba89a98b =cls #15614 Change persistenceId for sharding coordinator 2015-06-11 10:00:43 +02:00
Patrik Nordwall
8276420a89 =cls #15619 Use event counting instead of time based snapshot in sharding 2015-06-11 10:00:42 +02:00
Patrik Nordwall
c9a2447867 +cls #15330 Add GetCurrentRegions, for testing 2015-06-11 10:00:42 +02:00
Patrik Nordwall
8de24f38ca !cls #17158 Add configuration of sharding journal
* Use same type of settings object as in cluster-tools
* These settings can be different for different entity types
2015-06-11 10:00:41 +02:00
Patrik Nordwall
c1d5221bf8 !clt #17364 Make ShardRegion.props internal
* the extension api is enough
* simplify how roles are specified
* make proxy mode more explicit by seperate
  method `startProxy`
2015-06-11 10:00:41 +02:00
Andrey Myatlyuk
bc791eb86c =doc #17329 Fixed and normalized spellings in ScalaDoc and comments 2015-06-02 21:06:25 -07:00
Patrik Nordwall
1be5bb48df +cls #16050 Support graceful shutdown of ShardRegion
* possibility to define handOffStopMessage that is used
  for stopping the entries, both when graceful shutdown
  and rebalance
2015-06-02 15:04:20 +02:00
Patrik Nordwall
7ab5da21d3 !cto #17454 Introduce ClusterSingletonManagerSettings and ClusterSingletonProxySettings 2015-05-19 08:59:09 +02:00
Patrik Nordwall
10a11e415e !cls #13711 Move cluster sharding 2015-05-11 20:07:22 +02:00
Renamed from akka-contrib/src/multi-jvm/scala/akka/contrib/pattern/ClusterShardingSpec.scala (Browse further)