Commit graph

14641 commits

Author SHA1 Message Date
Konrad Malawski
bc07a863a0 Merge pull request #17437 from gkb/Fix-Documentation
Fix error in documentation
2015-05-19 13:31:04 +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
b8f771a019 Merge pull request #17424 from akka/wip-13919-actorFor-isTerminated-patriknw
!act #13919 Make actorFor and isTerminated internal
2015-05-19 13:29:53 +02:00
Patrik Nordwall
0e8264856b !act #13919 Make ActorRef.isTerminated internal
* until we have replaced all internal usages of it,
  or we could decide that it is good to keep as an
  internal facility and then we can remove the deprecation
  annotations
2015-05-19 12:08:24 +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
daf1a46f92 Merge pull request #17433 from akka/wip-16695-dependencies-patriknw
=pro #16695 Update dependencies
2015-05-19 11:30:10 +02:00
Konrad Malawski
cfbfd3eabd Merge pull request #17473 from akka/wip-17084-NettyTransportSpec-patriknw
=rem #17084 Skip test if 127.0.1.1 is not available
2015-05-19 11:26:50 +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
c3c05b159b Merge pull request #17478 from akka/wip-17150-AtLeastOnceDeliverySpec-patriknw
=per #17150 Harden AtLeastOnceDeliverySpec
2015-05-19 09:09:25 +02:00
Patrik Nordwall
8a8663d2ed Merge pull request #17476 from akka/wip-17445-typed-PerformanceSpec-patriknw
=typ #17445 Reduce number of iterations in typed.PerformanceSpec
2015-05-19 09:06:46 +02:00
Patrik Nordwall
3d9ce5ef5e =rem #17084 Skip test if 127.0.1.1 is not available 2015-05-19 09:04:56 +02:00
Patrik Nordwall
b8594d475e !cto #17454 Introduce DistributedPubSubSettings
* rename DistributedPubSubExtension to DistributedPubSub
2015-05-19 08:59:16 +02:00
Patrik Nordwall
7ab5da21d3 !cto #17454 Introduce ClusterSingletonManagerSettings and ClusterSingletonProxySettings 2015-05-19 08:59:09 +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
ebc39ef9ab Merge pull request #17386 from akka/wip-17380-java8-patriknw
!pro #17380 Build with Java 8
2015-05-19 07:42:00 +02:00
Patrik Nordwall
94fd6676b2 = #17380 genjavadoc 0.9 2015-05-18 16:39:20 +02:00
Konrad Malawski
d48db59d08 Merge pull request #17493 from akka/wip-16406-ActorProducerTest-patriknw
cam #16406 Harden camel.ActorProducerTest
2015-05-18 16:10:01 +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
bd280e3252 =rem #17440 Harden RemoteReDeploymentSpec 2015-05-18 12:51:35 +02:00
Patrik Nordwall
62f5f869a1 =con Harden ClusterSingletonManagerLeaveSpec 2015-05-18 12:51:35 +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
01510637f6 cam #16406 Harden camel.ActorProducerTest 2015-05-15 10:39:30 +02:00
Patrik Nordwall
67a9e62254 Merge pull request #16911 from trobert/remote-watch-optim-master
Improve remote watching mechanism
2015-05-13 15:55:35 +02:00
Patrik Nordwall
10c0d64381 =per #17150 Harden AtLeastOnceDeliverySpec
* UnconfirmedWarning message spilled over from previous test step,
  using separate probes instead of testActor
* the resend interval was too short so that unexpected resend occured
  as seen by the `failed: expected Action(4,a-4), found Action(3,a-3)`
2015-05-13 15:18:22 +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
493666999c Merge pull request #17363 from akka/wip-17362-joinSeedNodes-patriknw
=clu #17362 Make cluster.joinSeedNodes equivalent to conf seed-nodes
2015-05-13 14:05:16 +02:00
Patrik Nordwall
e6f1f69118 =typ #17445 Reduce number of iterations in typed.PerformanceSpec 2015-05-13 13:39:00 +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
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
Patrik Nordwall
1fdaa07e45 Merge pull request #17443 from akka/wip-17441-BalancingSpec-patriknw
=act #17441 Harden BalancingSpec
2015-05-13 10:11:02 +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
Samuel Heaney
61ff9a8b05 Removes duplicated code snippet and paragraph 2015-05-12 23:34:59 -05: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
Martynas Mickevičius
b98db685f2 Merge pull request #17463 from 2m/wip-explicit-jcenter
=pro explicit jcenter repo
2015-05-12 14:19:43 +03:00
Martynas Mickevičius
692a8df030 =pro explicit jcenter repo 2015-05-12 14:18:12 +03:00
Patrik Nordwall
f5719e6e2a =pro Check BC against 2.3.11 2015-05-12 12:40:45 +02:00
Roland Kuhn
25ddd1b253 =act #16327 fix BatchingExecutor.blockOn
It contained a difficult to hit race condition that was exploited with
the help of a custom same-thread execution context by Play (its Iteratee
trampoline). In short: don’t resubmit the current Batch if it contains
an unsynchronized variable.

(cherry picked from commit 6d6b9048ddaa72e7b7f1183dabf550b78de6d4e4)
2015-05-12 12:40:44 +02:00
Patrik Nordwall
21e51c514d Merge pull request #17444 from akka/wip-reinstate-fjt-optimization-√
=act - Reinstates the Mailbox optimization reusing the FJT instance b…
2015-05-12 09:01:59 +02: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
85860ac772 Merge pull request #17321 from akka/wip-13711-move-cluster-contrib-patriknw
!con #13711 move cluster tools and sharding to separate modules
2015-05-12 08:19:15 +02:00
Gaju Bhat
1869e569aa =doc #17438 Refine documentation
It doesn't make sense to send a message composed of a future to another
actor. Futures aren't serializable.
2015-05-11 21:00:55 -07: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
412491d277 =act #17239 Add akka.japi.function with variance
Needed by Akka Streams. Old functions placed in akka.japi will be deprecated
in 2.4

(cherry picked from commit 99628f408295070848af6c23b1d722057069e660)

+act #17392 Include generated japi.function from akka-stream

* add boilerplate plugin
* make them Serializable to be able to grab line number for Java 8 lambdas

(cherry picked from commit d5950a13d2f123d2101d56f0a8a86a2097dda8e1)
2015-05-11 21:11:51 +02:00
Viktor Klang
db5a32fa04 =act - Reinstates the Mailbox optimization reusing the FJT instance but doesn't use FJT.fork() due to unfairness 2015-05-11 21:11:51 +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
Patrik Nordwall
c39e41c45b Merge pull request #17382 from akka/wip-17381-rm-scala-2.10-patriknw
!pro #17381 Remove cross build for Scala 2.10
2015-05-11 20:04:45 +02:00