Commit graph

575 commits

Author SHA1 Message Date
Christopher Hunt
7041c76ba9 +cdd #16799 Add ORMultiMap data type 2015-06-18 16:17:53 +02:00
Patrik Nordwall
cbe5dd2cf5 +cdd #16799 Add Distributed Data module
Previously know as [patriknw/akka-data-replication](https://github.com/patriknw/akka-data-replication),
which was originally inspired by [jboner/akka-crdt](https://github.com/jboner/akka-crdt).

The functionality is very similar to akka-data-replication 0.11.

Here is a list of the most important changes:

* The package name changed to `akka.cluster.ddata`
* The extension was renamed to `DistributedData`
* The keys changed from strings to classes with unique identifiers and type information of the data values,
  e.g. `ORSetKey[Int]("set2")`
* The optional read consistency parameter was removed from the `Update` message. If you need to read from
  other replicas before performing the update you have to first send a `Get` message and then continue with
  the ``Update`` when the ``GetSuccess`` is received.
* `BigInt` is used in `GCounter` and `PNCounter` instead of `Long`
* Improvements of java api
* Better documentation
2015-06-18 15:58:22 +02:00
Patrik Nordwall
b7297e2887 Merge pull request #17696 from akka/wip-15410-singleton-name-patriknw
!clt #15410 Change path in ClusterSingletonProxy.props
2015-06-18 12:45:22 +02:00
Patrik Nordwall
40252f2cd4 Merge pull request #17634 from akka/wip-16524-rm-PersistenceFailure-patriknw
!per #16524 Make persistent failures fatal
2015-06-18 11:33:42 +02:00
Patrik Nordwall
23c28af469 !clt #15410 Change path in ClusterSingletonProxy.props
* to avoid giving the name of both singleton manager and singleton instance
2015-06-18 11:31:29 +02:00
Patrik Nordwall
a0e0c394fe !clt #15110 Use buffer instead of stash in cluster client
* drop first in ClusterClient
2015-06-18 11:18:35 +02:00
Patrik Nordwall
e2608e7cc2 !clt #15110 Use buffer instead of stash in singleton proxy
* drop first in singleton proxy
2015-06-18 11:18:24 +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
Patrik Nordwall
1dac401099 Merge pull request #17601 from akka/wip-17576-manifest-patriknw
+act #17576 Support serializer with string manifest
2015-06-01 13:46:17 +02:00
Patrik Nordwall
740f006a38 +act #17576 Support serializer with string manifest
* useful when evolution is needed, e.g. Akka Persistence

* docs, comments, cluster-metrics and cluster-tools serializers
2015-06-01 13:45:31 +02:00
Patrik Nordwall
d2a00d3b98 Merge pull request #16255 from leonidb/master
+per #15279 FSM for PersistentActor
2015-06-01 13:13:47 +02:00
Stephen Nancekivell
e4fa103577 Fix code formatting. 2015-05-31 08:52:21 +10:00
leonidb
09b6abd614 +per #15279 FSM for PersistentActor 2015-05-29 18:30:38 +03:00
Konrad Malawski
228ace497f Merge pull request #17593 from ktoso/wip-deferAsync-ktoso
!per #16797 rename defer to deferAsync, remove Seq version
2015-05-29 15:13:00 +02:00
Roland Kuhn
122fdedd08 fix typo in cluster-usage.rst 2015-05-28 21:18:48 +02:00
Konrad Malawski
d782cf59af !per #16797 rename defer to deferAsync, remove Seq version 2015-05-28 01:37:38 +02:00
Patrik Nordwall
8a7d7715b5 clu #17565 Invoke OnMemberRemoved callback when
cluster.shutdown

* must also be done when the listener actor stops before the
  MemberRemoved event has been received
* add test for this
* clarify docs with example that shuts down actor system and
  exit jvm
2015-05-27 15:42:53 +02:00
kukido
ab0c60eca7 =doc Fixed and normalized spellings 2015-05-23 19:16:41 -07:00
Patrik Nordwall
bcb36c36d9 !con #15331 Support async allocateShard and rebalance 2015-05-19 13:53:07 +02:00
Patrik Nordwall
e8c5254d85 Merge pull request #17455 from akka/wip-17454-cluster-tools-settings-patriknw
!cto #17454 Add/change settings for cluster-tools
2015-05-19 13:30:44 +02:00
Patrik Nordwall
85a5cc61aa !act #13919 Make actorFor internal
* until we can replace all internal usages of it, which
  is only in akka-camel
2015-05-19 12:07:18 +02:00
Konrad Malawski
082b366881 Merge pull request #17472 from sheaney/sheaney-doc-fix
Removes duplicated code snippet and paragraph
2015-05-19 11:38:08 +02:00
Patrik Nordwall
c57a8da744 !cto #17454 Introduce ClusterClientSettings and ClusterReceptionistSettings
* rename ClusterReceptionistExtension to ClusterClientReceptionist
2015-05-19 11:16:00 +02:00
Patrik Nordwall
b8594d475e !cto #17454 Introduce DistributedPubSubSettings
* rename DistributedPubSubExtension to DistributedPubSub
2015-05-19 08:59:16 +02:00
Patrik Nordwall
a8687f9c4e =pro #16695 Update dependencies
io.netty:netty: 3.8.0.Final -> 3.10.3.Final
org.slf4j:slf4j-api: 1.7.7 -> 1.7.12
org.fusesource.leveldbjni:leveldbjni-all:optional;provided: 1.7 -> 1.8
org.apache.camel:camel-core: 2.13.0 -> 2.13.4

ch.qos.logback:logback-classic:test: 1.0.13 -> 1.1.3
junit:junit:test: 4.10 -> 4.12
org.scalatest:scalatest:test: 2.1.3 -> 2.2.4
org.mockito:mockito-all:test: 1.9.5 -> 1.10.19
org.scala-lang.modules:scala-xml:test: 1.0.1 -> 1.0.4
com.novocode:junit-interface:test : 0.8 -> 0.11
org.slf4j:jul-to-slf4j:test: 1.7.7  -> 1.7.12
org.slf4j:log4j-over-slf4j:test: 1.7.7  -> 1.7.12
com.codahale.metrics:metrics-core:test: 3.0.1  -> 3.0.2
com.codahale.metrics:metrics-jvm:test: 3.0.1  -> 3.0.2
org.scalacheck:scalacheck:test: 1.11.3 -> 1.11.6
org.apache.commons:commons-math:test: 2.1 -> 2.2
commons-codec:commons-codec:test: 1.7 -> 1.10
2015-05-19 08:37:54 +02:00
Patrik Nordwall
0953e7aee3 !pro #17380 Build with Java 8
* genjavadoc adjustments for java8
2015-05-18 12:51:34 +02:00
Patrik Nordwall
aaa620c35e =clu #17362 Make cluster.joinSeedNodes equivalent to conf seed-nodes
* the difference was in the retry of failed join attempt
* also clarify the documentation
2015-05-13 10:48:18 +02:00
Patrik Nordwall
c68ebc6d5a Merge pull request #17219 from hepin1989/fix-#16736
+clu #16736 add registerOnMemberRemoved to get notified when current mem...
2015-05-13 10:20:30 +02:00
Samuel Heaney
61ff9a8b05 Removes duplicated code snippet and paragraph 2015-05-12 23:34:59 -05:00
Patrik Nordwall
00a481adeb Merge pull request #17354 from akka/wip-17342-bc-patriknw
= #17342 Make 2.4 binary compatible with 2.3
2015-05-12 08:56:44 +02:00
Patrik Nordwall
b30e460be7 = #17342 Make 2.4 binary compatible with 2.3
(cherry picked from commit 89af8bdb90)

* remove final identifier in serializers

i* revert/deprecate ProtobufSerializer.ARRAY_OF_BYTE_ARRAY

* adding back compatible empty constructor in serializers

* make FSM.State compatible

* add back ActorPath.ElementRegex

* revert SocketOption changes and add SocketOptionV2
  see a6d3704ef6

* problem filter for ActorSystem and ActorPath

* problem filter for ByteString

* problem filter for deprecated Timeout methods

* BalancingPool companion

* ask

* problem filter for ActorDSL

* event bus

* exclude hasSubscriptions

* exclude some problems in testkit

* boundAddress and addressFromSocketAddress

* Pool nrOfInstances

* PromiseActorRef

* check with 2.3.9

* migration guide note

* explicit exclude of final class problems
2015-05-11 21:11:52 +02:00
Patrik Nordwall
10a11e415e !cls #13711 Move cluster sharding 2015-05-11 20:07:22 +02:00
Patrik Nordwall
fb72214d99 !clt #13711 Move cluster tools from contrib
* new module akka-cluster-tools containing
  cluster singleton, distributed pub-sub, and cluster client
2015-05-11 20:07:21 +02:00
hepin
ccca503b4d +clu #16736 add registerOnMemberRemoved to get notified when current member removed from the cluster 2015-05-08 12:58:12 +08:00
Patrik Nordwall
85be3045bb !per #17249 Avoid init problems of persistence tck
* in the end TestKitBase eagerly initialize the ActorSystem and
  to avoid the need for using lazy val tricks I changed the trait
  to abstract class with config constructor parameter
2015-05-06 14:20:40 +02:00
Konrad Malawski
54aa559fa4 Merge pull request #17120 from akka/wip-15677-deprecate-microkernel-patriknw
=ker #15677 Deprecate Microkernel
2015-04-05 11:59:31 +02:00
Patrik Nordwall
c6cb71a421 =ker #15677 Deprecate Microkernel 2015-04-01 12:01:07 +02:00
Patrik Nordwall
ef387af2fc =doc #16910 Fix include sections in fault tolerance docs
* and don't show AkkaSpec in doc code

(cherry picked from commit 23be60395cdea846ef168960cd05e88c6bd29556)

Conflicts:
	akka-docs/rst/scala/code/docs/actor/FaultHandlingDocSpec.scala
	akka-docs/rst/scala/fault-tolerance.rst
2015-04-01 10:50:30 +02:00
Patrik Nordwall
7aa9fe25f2 Merge pull request #17024 from carrot-garden/persistence-leveldb-dependency
!per #15884 Make LevelDB an optional dependency
2015-03-25 09:07:55 +01:00
Andrei Pozolotin
5c5e07ec4e !per #15884 Make LevelDB an optional dependency 2015-03-24 13:58:09 -05:00
drozzy
f1d0f877e1 Spelling mistakes and clarifications. 2015-03-19 13:22:12 -03:00
Julian Tescher
00f6a58e7c Changes all occurances of Typesafe copyright to extend to 2015 2015-03-10 14:12:19 -07:00
Roland Kuhn
7ea8f59527 =doc add clarification on ActorSelection vs. ActorRef 2015-03-09 15:09:56 +01:00
Björn Antonsson
35ce5663c0 Merge pull request #16977 from ruurtjan/master
=doc Fixed links in camel docs
2015-03-05 14:16:40 +01:00
Ruurtjan
dea726049b =doc Fixed links in camel docs 2015-03-05 10:44:13 +01:00