Commit graph

35 commits

Author SHA1 Message Date
Arnout Engelen
a4a0d308ad 'git mv' rst resources to md
This is mainly intended to keep the git history as neat as possible.
No actual conversion yet, so now both the rst and the paradox docs
are broken, which will be fixed in the next commits.
2017-05-10 15:44:43 +02:00
Martynas Mickevičius
ffcb83511c Use Example Code Service for samples 2017-03-31 13:52:05 +03:00
Patrik Nordwall
a3ddb406f4 document remember entities limitation, #22327
* and set default for max-delta-elements
2017-02-20 14:41:49 +01:00
Patrik Nordwall
a8f340508b fix sharding dependency to persistence
* can't make the dependency provided or test and still be able
  to compile/run tests
* might not be a big deal to include the persistence dependency instead
2017-01-25 21:45:08 +01:00
Patrik Nordwall
9616e997fc Use ddata mode as the default for Cluster Sharding, #17963 2017-01-24 18:49:01 +01:00
Patrik Nordwall
f409c06c78 Promote Distributed Data, #22201 2017-01-24 12:49:27 +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
Patrik Nordwall
84ade6fdc3 add CoordinatedShutdown, #21537
* CoordinatedShutdown that can run tasks for configured phases in order (DAG)
* coordinate handover/shutdown of singleton with cluster exiting/shutdown
* phase config obj with depends-on list
* integrate graceful leaving of sharding in coordinated shutdown
* add timeout and recover
* add some missing artery ports to tests
* leave via CoordinatedShutdown.run
* optionally exit-jvm in last phase
* run via jvm shutdown hook
* send ExitingConfirmed to leader before shutdown of Exiting
  to not have to wait for failure detector to mark it as
  unreachable before removing
* the unreachable signal is still kept as a safe guard if
  message is lost or leader dies
* PhaseClusterExiting vs MemberExited in ClusterSingletonManager
* terminate ActorSystem when cluster shutdown (via Down)
* add more predefined and custom phases
* reference documentation
* migration guide
* problem when the leader order was sys2, sys1, sys3,
  then sys3 could not perform it's duties and move Leving sys1 to
  Exiting because it was observing sys1 as unreachable
* exclude Leaving with exitingConfirmed from convergence condidtion
2017-01-16 09:01:57 +01:00
Patrik Nordwall
141318e60a shard coordinator should wait until min-members regions registered, #21194 2016-10-28 15:49:21 +02:00
Patrik Nordwall
0a75f992e4 Update links to Lightbend RPv2, more warnings about auto-down 2016-09-02 10:26:47 +02:00
Johan Andrén
baf0eb2510 Incorrect message for graceful shard region shutdown docs fixed #20764 2016-08-03 13:22:07 +02:00
Tim Harper
a02325a85d =doc correct references to non-existent ShardRegion state messages / return types 2016-05-01 15:43:24 -06: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
Patrik Nordwall
43dafff152 =cls #19917 Clarify docs about sharding ddata 2016-03-16 09:13:53 +01:00
Johan Andrén
62e30b3c08 Update copyrights and links to the new company name #19851 2016-02-23 12:58:39 +01:00
Brendan McAdams
269a3b3647 Corrected several misspellings of the word "losing". 2016-01-15 20:20:15 -08:00
Patrik Nordwall
a1c3dbe307 =act #19201 improve configuration of thread-pool-executor
* The old implementation would cap the pool size (both corePoolSize
  and maximumPoolSize) to max-pool-size, which is very confusing
  becuase maximumPoolSize is only used when the task queue is bounded.
* That resulted in configuring core-pool-size-min and core-pool-size-max
  was not enough, because it could be capped by the default max-pool-size.
* The new behavior is simply that maximumPoolSize is adjusted to not be
  less than corePoolSize, but otherwise the config properties match the
  underlying ThreadPoolExecutor implementation.
* Added a convenience fixed-pool-size property.
2015-12-21 09:50:02 +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
hepin
c0bba54d6b =doc fix typo in sharding docs 2015-09-29 10:21:59 +08:00
Konrad Malawski
20dfaded17 =doc fix typo in sharding docs
//cc @patriknw
2015-09-28 13:02:56 +02:00
Patrik Nordwall
0cdd9af3c4 +per #18485 Add cluster sharding data removal utility 2015-09-17 14:07:08 +02:00
Patrik Nordwall
4e2b8190a3 =cls #18370 Document supervision for Cluster Sharding 2015-09-10 15:35:26 +02:00
Patrik Nordwall
22b8853314 =clu #13584 mark as experimental and some doc clarificiations 2015-09-04 14:09:41 +02:00
Patrik Nordwall
834a84fdd6 =cls #17846 Add experimental note to ddata mode docs 2015-08-20 19:07:41 +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
Patrik Nordwall
a93de9bf37 =clt #17447 Split Cluster Singleton docs into java/scala 2015-06-30 16:39:32 +02:00
Patrik Nordwall
89f17ddfd0 =cls #17447 Split Cluster Sharding docs into java/scala 2015-06-30 16:39:31 +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
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
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
kukido
ab0c60eca7 =doc Fixed and normalized spellings 2015-05-23 19:16:41 -07:00
Patrik Nordwall
10a11e415e !cls #13711 Move cluster sharding 2015-05-11 20:07:22 +02:00
Renamed from akka-contrib/docs/cluster-sharding.rst (Browse further)