Commit graph

14617 commits

Author SHA1 Message Date
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
67a9e62254 Merge pull request #16911 from trobert/remote-watch-optim-master
Improve remote watching mechanism
2015-05-13 15:55:35 +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
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
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
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
Konrad Malawski
64aee4f325 Merge pull request #17450 from akka/wip-project-resolver-ref-ktoso
=pro change resolver reference to sbt built-in
2015-05-11 18:07:33 +02:00
Roland Kuhn
d5a9c2b0c0 Merge pull request #17449 from akka/wip-static-props-docs-∂π
=doc add props static method to IODocText
2015-05-11 17:21:48 +02:00
Konrad Malawski
516e641a45 =pro change resolver reference to sbt built-in 2015-05-11 17:14:42 +02:00
Roland Kuhn
fe2eb27405 Merge pull request #17265 from hepin1989/fix-#17257
+act #17257 add Actor.ignoringBehavior
2015-05-11 17:13:49 +02:00
Saeed Zarinfam
c2853f7159 =doc add props static method to IODocText 2015-05-11 16:23:06 +02:00
Konrad Malawski
540ec1c8d4 Merge pull request #17448 from akka/wip-add-resolver-for-githubapi-deps-ktoso
=pro bintray jcentral resolver for jenkins-ci deps
2015-05-11 16:14:11 +02:00
Konrad Malawski
21ab894c6e =pro bintray jcentral resolver for jenkins-ci deps 2015-05-11 16:12:49 +02:00
Konrad Malawski
e86dc06680 Merge pull request #17436 from ktoso/wip-project-change-must-trigger-all-tests-ktoso
=pro #17397 PR validation must build all projects if project/** was modified
2015-05-11 13:25:45 +02:00
Konrad Malawski
a13751e059 =pro #17397 PR validation must build all projects if project/** was modified 2015-05-11 13:21:10 +02:00
Viktor Klang
fb38ffdac7 =act - Reinstates the Mailbox optimization reusing the FJT instance but doesn't use FJT.fork() due to unfairness 2015-05-11 13:21:05 +02:00
Patrik Nordwall
139606dcbb =act #17441 Harden BalancingSpec 2015-05-11 11:42:26 +02:00
Konrad Malawski
080e14062b Merge pull request #17397 from ktoso/wip-speedup-validation-ktoso
=pro improve PR validation speed tremendously
2015-05-08 19:56:55 +02:00
Konrad Malawski
bebdb870b6 +pro Update ScalaTest in order to use tag ignoring in sbt 2015-05-08 15:40:34 +02:00
Patrik Nordwall
e078c601dc Merge pull request #17429 from akka/wip-17274-fj-asyncMode-patriknw
+act #17274 make ForkJoinPool asyncMode configurable (for validation)
2015-05-08 15:13:28 +02:00
Konrad Malawski
8b045173ad =pro #17397 improve PR validation speed tremendously (skipping things)
+ enable parallel execution
+ exclude perf tests (TODO mark more as such)
+ uses sbt-dependency-graph plugin
+ implement dependency tracking for testing of only these
+ project which could have been affected by a given PR
2015-05-08 14:09:12 +02:00
drewhk
e52ce3afaf Merge pull request #17427 from akka/wip-17320-rm-typesafe-repo-master-patriknw
=doc #17320 Remove typesafe repo from docs
2015-05-08 13:40:28 +02:00
hepin
e4baf1d82e +act #17274 make ForkJoinPool asyncMode configurable
(cherry picked from commit 05f156bdc0eae121aa122028a582084bc4bb22dc)
2015-05-08 12:35:20 +02:00
Patrik Nordwall
a3642f7365 =doc #17320 Remove typesafe repo from docs
(cherry picked from commit c25baa5ca0aab26c9a830f46b00e0bb84576b00a)
2015-05-08 11:36:34 +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
drewhk
2d70599d22 Merge pull request #17413 from drewhk/wip-17341-fjp-revert-fwdport-drewhk
=act #17341: Revert starvation prone optimization (for validation)
2015-05-07 20:51:25 +02:00
Endre Sándor Varga
3d5cb2454f =act #17341: Revert starvation prone optimization 4e0bd6d
- also adding test to reproduce the problem
(cherry picked from commit 9e115f2)
2015-05-07 16:07:57 +02:00
Patrik Nordwall
76641d185a Merge pull request #17406 from akka/wip-17391-DirectByteBufferPool-master-patriknw
=act #17391 Fix regression in 2.3.10 DirectByteBufferPool (for validation)
2015-05-07 14:40:51 +02:00
Patrik Nordwall
ee1cb711f9 Merge pull request #17402 from akka/wip-17002-ActorSystemSpec-patriknw
=act #17002 Harden ActorSystemSpec
2015-05-07 11:06:20 +02:00
Patrik Nordwall
dbe84a6b9d Merge pull request #17400 from akka/wip-13935-extension-failure-patriknw
=act #13935 Throw same exception when extension init fails
2015-05-07 11:05:50 +02:00