Commit graph

1780 commits

Author SHA1 Message Date
Konrad Malawski
5a6ee8bd49 Merge pull request #18051 from akka/wip-16541-persistence-query
+per #16541 initial version of the Persistence Query module
2015-08-12 22:14:44 +02:00
Patrik Nordwall
63ba2ae8e7 +per #17894 Support Future(Nil) in asyncWriteMessages
Future.successful(Nil) is an alternative way to signal all good
in the happy case, for reduced allocations.

fix test failure

benchJmh leveldb dependency

revert leveldb change
2015-08-12 13:54:29 +02:00
Patrik Nordwall
2694e13b32 !per #17862 Remove experimental from persistence 2015-08-12 13:52:19 +02:00
Patrik Nordwall & Konrad Malawski
f849793f36 +per #16541 initial version of the Persistence Query module 2015-08-11 16:35:28 +02:00
Konrad Malawski
0598f974fa =pro Fix accessing None in ValidatePullRequest 2015-07-08 15:13:54 +02:00
Patrik Nordwall
1c3746d11d Merge pull request #17901 from akka/wip-17778-ddata-java-samples-patriknw
=cdd #17778 Convert samples to java
2015-07-03 16:20:47 +02:00
Patrik Nordwall
94a61c7eb2 =cdd #17778 Convert samples to java 2015-07-03 16:19:57 +02:00
Konrad Malawski
98187ca306 Merge pull request #17886 from ktoso/wip-improve-diffing-prvalidation-ktoso
=pro #17841 improve PR validator to diff the merge commit for change …
2015-07-03 15:33:31 +02:00
Konrad Malawski
f8887938ee =pro #17841 improve PR validator to diff the merge commit for change detection 2015-07-03 15:32:40 +02:00
Patrik Nordwall
7bfc56f3f0 Merge pull request #17888 from akka/wip-17805-clearActorFields-patriknw
=act #17805 Don't change self on restart"
2015-07-03 13:54:12 +02:00
Patrik Nordwall
49264c0f83 Merge pull request #17864 from akka/wip-17779-ddata-activator-patriknw
=cdd #17779 Create activator template for Distributed Data
2015-07-02 17:49:50 +02:00
Patrik Nordwall
37321ee63f =act #17805 Don't change self on restart"
* we hold on to the same ActorRef instance anyway in the new
  Actor instance
2015-07-01 17:46:59 +02:00
Konrad Malawski
140c4dcdce =pro #17855 dont publish benchmarks or tests, fix license in bench 2015-07-01 17:05:12 +02:00
Patrik Nordwall
252e88c082 =cdd #17779 Create activator template for Distributed Data
* includes the samples, with tutorial text description
2015-06-30 08:08:43 +02:00
Patrik Nordwall
e13a2d9560 Revert "=pro remove cross scala 2.12.0-M1"
This reverts commit bf485353f0.
2015-06-26 17:21:35 +02:00
Patrik Nordwall
bf485353f0 =pro remove cross scala 2.12.0-M1 2015-06-26 16:49:50 +02:00
Patrik Nordwall
ee9137db4d =cdd #17851 Mark distributed data as experimental 2015-06-26 15:31: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
9e3a9983a7 +act #17719 introduce Tuple3-22 classes for java api 2015-06-23 15:01: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
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
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
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
Enno Runne
fa4a1e1413 Changed version for com.typesafe.config in OSGi manifest (was 1.2.x) to same as in Dependencies (1.3.0) 2015-06-10 11:22:14 +02:00
James Carman
b537084de3 Adding OSGi metadata to contrib module. 2015-06-06 09:16:49 -04:00
Andrey Myatlyuk
bc791eb86c =doc #17329 Fixed and normalized spellings in ScalaDoc and comments 2015-06-02 21:06:25 -07:00
Konrad Malawski
757b277e54 Merge pull request #17608 from akka/wip-17606-ActorPath-bin-compat-patriknw
=act #17606 Revert abstract class change of ActorPath
2015-06-01 13:13:37 +02:00
Patrik Nordwall
cef397d149 =act #17606 Revert abstract class change of ActorPath
It was not binary compatible. Placed static forwarders for Java API
in ActorPaths instead.
2015-05-29 11:11:09 +02:00
Konrad Malawski
c391e7e4cd =pro update mima plugin to 0.1.7
Adds Java 8 features
2015-05-29 10:04:51 +02:00
Martynas Mickevičius
7fc2790458 =pro run multi-jvm tests when validating pr
* addunidoc task via an AutoPlugin that depends on PrValidation and Unidoc autoplugins
* separate cli option logic to a case class
* remove autoplugin for root project
2015-05-28 13:57:50 +03:00
Konrad Malawski
ba8756d485 Merge pull request #17543 from ktoso/wip-bump-jmh-to-autoplugin-ktoso
=pro update sbt-jmh and include for compilation in root
2015-05-25 17:17:31 +02:00
Roland Kuhn
5dc25fbb44 add crosscompilation for 2.12.0-M1 2015-05-21 21:09:30 +02:00
Konrad Malawski
12419a7dd5 =pro update sbt-jmh and include for compilation in root 2015-05-21 15:33:37 +02:00
Patrik Nordwall
53c5d974ea Merge pull request #17536 from akka/wip-bench-dep-patriknw
=pro Use provided dependency from persistence in bench-jmh
2015-05-21 08:00:13 +02:00
Patrik Nordwall
fe144aabd4 =pro Use provided dependency from persistence in bench-jmh
* compilation error when running release script
2015-05-21 07:42:27 +02:00
Konrad Malawski
087dbb5a33 =pro update sbt-unidoc to 0.3.3
This update solves our blocker issue about compile not being triggered properly before genjavadoc kicks in.
2015-05-20 18:04:31 +02:00
Roland Kuhn
c5fc56face do not generate javadoc for tests 2015-05-20 09:00:21 +02:00
Patrik Nordwall
563e155b2f =pro sbt-pgp 1.0.0 2015-05-19 16:02:47 +02:00
Patrik Nordwall
66cc86ee3e =pro check jdk8 in release script 2015-05-19 15:05:08 +02:00
Konrad Malawski
0668ea5e22 =act #17071 Update typesafe-config to 1.3.0 2015-05-19 12:02:55 +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
94fd6676b2 = #17380 genjavadoc 0.9 2015-05-18 16:39:20 +02:00
Roland Kuhn
18688fc84b = #17380 fix doc comments for java8 doclint
* actor and cluster-metrics comments
* agent/camel/cluster/osgi/persistence/remote comments
* comments in contrib/persistence-tck/multi-node/typed
2015-05-18 12:51:36 +02:00
Patrik Nordwall
0953e7aee3 !pro #17380 Build with Java 8
* genjavadoc adjustments for java8
2015-05-18 12:51:34 +02:00
Thibaut Robert
12cbf83927 =rem improve remote watching mechanism
This improves the remote watching mechanism as follows: Watch requests
are intercepted by the RemoteWatcher and not sent on the wire,
excepted watches from the remoteWatcher itself.

RemoteWatcher is then in charge of forwarding DeathWatchNotification
messages to the watchers.

This reduces the number of watch message to one per watchee, even if
there are several watcher on the same watchee (instead of n+1 before).

Reversed watch messages, and watch on ref with undefinedUid are excluded from
interception by the RemoteWatcher and so are handled as before this commit.

In addition, the following changes are made:
- Keep watchers in a map watchee -> watchers for more efficient retrieval
(in a scala Multimap)
- Keep watchees in a map address -> watchee for more efficient retrieval
(in a scala Multimap)
- Use of InternalActorRef more thoroughly to avoid casts
- Rewatch use a standard watch message, as the distinction is longer needed
2015-05-13 14:10:35 +02:00
Patrik Nordwall
9b80733dde =pro #16736 Add bin compat problem filter for internal change 2015-05-13 12:52:50 +02:00
Patrik Nordwall
6ebb8b3627 Merge pull request #17462 from akka/wip-bc-2.3.11-patriknw
=pro Check BC against 2.3.11
2015-05-13 10:09:44 +02:00
Konrad Malawski
f0860dfaca Merge pull request #17469 from ktoso/wip-fix-test-task-ktoso
=pro The `test` task is now NOT overwritten by PR validator
2015-05-12 17:19:09 +02:00
Konrad Malawski
643c506b40 =pro The test task is now NOT overwritten by PR validator 2015-05-12 16:10:27 +02:00