Commit graph

14767 commits

Author SHA1 Message Date
Konrad Malawski
33ee447ec9 Merge pull request #17647 from ktoso/wip-snapshot-delete-failure-ktoso
!+per snapshot store improvements, (async, errors and configurable attempts)
2015-06-25 15:07:04 +02:00
Konrad Malawski
2a5161ff6f !per #17755 removes the saved callback in plugins and adds receive 2015-06-25 13:44:03 +02:00
Konrad Malawski
541ac83b10 +str #17751 configurable load attempts for local-snapshot-store 2015-06-25 10:19:55 +02:00
Konrad Malawski
63baaf1b2b !per #17586 async snapshot delete and remove timestamp from deleteSnapshot() 2015-06-25 10:19:55 +02:00
Patrik Nordwall
156204aa81 Merge pull request #17823 from akka/wip-16890-LeaderDowningNodeThatIsUnreachableSpec-patriknw
=clu #16890 Add missing barrier in LeaderDowningNodeThatIsUnreachableSpec
2015-06-24 19:28:58 +02:00
Konrad Malawski
10649ce68c Merge pull request #17632 from ktoso/wip-model-adapter-ktoso
+str #17579 #17617 EventAdapter
2015-06-24 18:09:50 +02:00
Konrad Malawski
c34914a4fe +pro #17611 add perl script to find javadoc errors 2015-06-24 16:34:36 +02:00
Patrik Nordwall
7239fd8397 =clu #16890 Add missing barrier in LeaderDowningNodeThatIsUnreachableSpec 2015-06-24 16:11:49 +02:00
Konrad Malawski
7e86dac542 +per #17579 #17617 Introduces EventAdapter
+ per plugin scoped adapters
+ could be swapped during runtime
+per EventAdapter now has manifest and is configurable ai la serializers
+ json examples in docs
+ including "completely manual" example in case one wants to add
  metadata TO the persisted event
+ better error reporting when misconfigured bindings
+ manifest is handled by in memory plugin
- did not check if it works with LevelDB plugin yet
> TODO: json example uses Gson, as that's simplest to do, can we use
+per allows 1:n adapters, multiple adapters can be bound to 1 class
2015-06-23 16:57:43 +02:00
Konrad Malawski
0214d6e14d Merge pull request #17722 from ktoso/wip-port-master-tuples-ktoso
+act #17719 introduce Tuple3-22 classes for java api (master)
2015-06-23 16:56:25 +02:00
Konrad Malawski
9e3a9983a7 +act #17719 introduce Tuple3-22 classes for java api 2015-06-23 15:01:35 +02:00
Konrad Malawski
2c606383e5 Merge pull request #17763 from ktoso/wip-17690-validations-in-root-actor-path-ktoso
=act #17690 add additional validation for name param in RootActorPath
2015-06-22 17:16:53 +02:00
Roland Kuhn
97b586a278 Update CONTRIBUTING.md 2015-06-22 15:12:23 +02:00
Roland Kuhn
dc54a27755 point out akka/dev gitter channel in CONTRIBUTING 2015-06-22 15:11:37 +02:00
Roland Kuhn
37a14b98cc Merge pull request #17648 from nraychaudhuri/add_java_fsm_with_stash
Adding AbstractFSMWithStash Java API
2015-06-19 12:10:35 +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
Konrad Malawski
5679dc8ae5 Merge pull request #17780 from hseeberger/fix-grammar-akka-typed-docs
Fix grammar in Akka Typed docs
2015-06-18 19:05:14 +02:00
Heiko Seeberger
9befb86b0f Fix grammar in Akka Typed docs 2015-06-18 19:03:37 +02:00
Patrik Nordwall
4ca20d16ac Merge pull request #17499 from akka/wip-16799-distributed-data-patriknw
+dis #16799 Add Distributed Data module
2015-06-18 18:51:45 +02:00
Patrik Nordwall
57da65fa06 Merge pull request #17646 from akka/wip-down-improvements-patriknw
=clu Improve cluster downing
2015-06-18 17:08:14 +02:00
Christopher Hunt
62f621d9ed =cdd #16799 Add another test for changed events 2015-06-18 16:53:55 +02:00
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
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
bf28260cd0 Merge pull request #17744 from akka/wip-16542-persistent-sender-patriknw
=per #16542 Don't store sender in PersistentRepr
2015-06-18 12:51:49 +02:00
Patrik Nordwall
a2e5b3f8a4 =per #16542 Don't store sender in PersistentRepr
* I think it originated from channels, or some idea that
  the sender should be revived (as good as possible) during replay,
  but that is pretty useless
* It must still be in PersistentRepr for remote serialization
* I didn't want to change to the built in sender when looping to the
  journal because keeping it together with the message makes it easier
  to do batching (queueing)
* adjust tck
2015-06-18 12:46:50 +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
450a43e5dd Merge pull request #17742 from akka/wip-15644-persist-seq-patriknw
!per #15644 Rename persist(seq) to persistAll
2015-06-18 11:35:03 +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
bc4d480d7e Merge pull request #17697 from akka/wip-15110-singleton-proxy-buffer-patriknw
!clt #15110 Use buffer instead of stash in singleton proxy and cluster client
2015-06-18 11:20:16 +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
b8ef08ae71 Merge pull request #17764 from akka/wip-17501-harden-ReliableProxySpec-patriknw
=con #17501 Increase timeouts in ReliableProxySpec
2015-06-18 11:16:10 +02:00
Patrik Nordwall
b61088e13b Merge pull request #17692 from ennru/master
2.4.0-M1: Wrong version of com.typesafe.config in OSGi manifest
2015-06-18 11:15:53 +02:00
Patrik Nordwall
6fb74532b6 Merge pull request #17673 from jwcarman/jwcarman-add-osgi-contrib
Adding OSGi metadata to contrib module.
2015-06-18 11:15:03 +02:00
Konrad Malawski
e89402dda0 =act #17690 add additional validation for name param in RootActorPath 2015-06-18 10:46:16 +02:00
Patrik Nordwall
de5478cb21 =con #17501 Increase timeouts in ReliableProxySpec 2015-06-17 17:27:14 +02:00
Patrik Nordwall
d19f694821 Merge pull request #17490 from akka/wip-17010-logger-mailbox-patriknw
=act #17010 Drain log messages on system shutdown
2015-06-17 16:49:42 +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
156e2a0aea =act #17010 Drain log messages on system shutdown
* by using a special mailbox that emits the remaining log messages
  to the StandardOutLogger
2015-06-17 15:32:30 +02:00
Patrik Nordwall
1eaebcedb8 Merge pull request #17698 from akka/wip-17364-sharding-props-patriknw
Various small API improvements of Cluster Sharding
2015-06-16 15:27:42 +02:00
Patrik Nordwall
74b97b3bd4 !per #15644 Rename persist(seq) to persistAll 2015-06-16 15:26:48 +02:00
Patrik Nordwall
5fab2b4521 !cls #16422 Rename shardResolver and idExtractor 2015-06-16 13:38:57 +02:00
Patrik Nordwall
314b00053c Merge pull request #17704 from akka/wip-17554-sys-msg-delivery-master-patriknw
=rem #17554 Improve flow control of system message delivery (for validation)
2015-06-16 08:51:32 +02:00
Patrik Nordwall
dec53381b6 =rem #17554 Improve flow control of system message delivery
When watching many (5000) actors at the same time the
following problems were found:

* first send of a sys msg is sent without any flow control
  => limit the number of outstanding sys msg by using
     the buffer to send them later (ordinary resend)
* when msg cannot be written sys msg is dropped (relying on resend),
  but that cause message re-ordering and negative acknowledgment,
  which is very costly
  => buffer the sys msg on write failure
  => minor optimization of AckedReceiveBuffer

I also made the resend-limit configurable.

(cherry picked from commit ecfc271e9a9d7efcf76945632d89c78740291cc6)
2015-06-16 06:55:24 +02:00
Konrad Malawski
5fe64ecd4a Merge pull request #17703 from akka/wip-17583-sys-msg-buf-size-master-patriknw
=rem #17583 Increase default value of system-message-buffer-size (for validation)
2015-06-15 17:07:08 +02:00
Patrik Nordwall
ecd19ecf06 =rem #17583 Increase default value of system-message-buffer-size
(cherry picked from commit 8cdf837c1f36edbd3b4d5cecaec8928e6b9c4994)
2015-06-12 16:28:55 +02:00
drewhk
078019c906 Merge pull request #17539 from akka/wip-17530-blocking-CTD-∂π
=act #17530 fix BatchingExecutor vs. CallingThreadDispatcher
2015-06-12 15:53:12 +02:00
Patrik Nordwall
70024298ac !cls #16422 Rename Entry to Entity in sharding 2015-06-11 10:00:43 +02:00