Commit graph

12504 commits

Author SHA1 Message Date
Björn Antonsson
a4ab7a9841 Cleaning up the ActorRef serialization according to review. See #3137 2013-04-03 10:49:38 +02:00
Björn Antonsson
33080a4155 Correctly serialize local actor refs from other actor systems. See #3137 2013-04-03 10:32:13 +02:00
Björn Antonsson
86fdfcd22f Merge pull request #1276 from akka/wip-3170-deadlock-in-calling-thread-dispatcher-ban
Return of the DefaultSystemMessageQueue fixes. #3170
2013-04-03 01:00:18 -07:00
Rich Dougherty
88f7e28c6b Merge pull request #1269 from akka/wip-3070-drop-association-rich
Drop unserializable and oversized messages, preserving association. Fixes #3070
2013-03-27 14:51:02 -07:00
Patrik Nordwall
9792af92ef Merge pull request #1279 from akka/wip-3181-npe-faulthandling-patriknw
NPE in logFailure, see #3181
2013-03-27 07:48:19 -07:00
Patrik Nordwall
27491b8948 NPE in logFailure, see #3181 2013-03-27 14:33:43 +01:00
Björn Antonsson
eb32fc9c24 Return of the DefaultSystemMessageQueue fixes. See #3170 2013-03-27 12:00:02 +01:00
Rich Dougherty
a041a295ed Drop unserializable and oversized messages, preserving association. Fixes #3070 2013-03-27 16:55:13 +13:00
Björn Antonsson
428bdf5fb4 Merge pull request #1275 from akka/wip-make-coroner-print-full-stack-traces-ban
Make The Coroner print full stack traces.
2013-03-26 03:06:50 -07:00
Patrik Nordwall
c1994b6f61 Merge pull request #1274 from akka/wip-3171-convergence-exiting-patriknw
Exiting members must still have seen the gossip for convergence, see #3171
2013-03-25 08:42:18 -07:00
Björn Antonsson
f7ad87ce8d Make The Coroner print full stack traces. 2013-03-25 15:11:40 +01:00
Patrik Nordwall
3340f84154 Exiting members must still have seen the gossip for convergence, see #3171
* Otherwise MemberExited might not be published on the leaving node,
  since the leader may act Leaving->Exiting->Removed without
  the leaving node seeing and publishing the transition.
2013-03-25 14:33:32 +01:00
Patrik Nordwall
939b745df1 Merge pull request #1271 from akka/wip-await-assert-patriknw
awaitAssert = awaitCond with better error reporting, see #3168
2013-03-25 05:22:57 -07:00
Patrik Nordwall
806fc0c525 Use awaitAssert in cluster tests, see #3168 2013-03-25 13:08:06 +01:00
Patrik Nordwall
118917d2be awaitCond = awaitCond with better error reporting, see #3168 2013-03-25 12:58:25 +01:00
Björn Antonsson
d49b8aa47c Correct import statement. 2013-03-25 11:48:12 +01:00
Patrik Nordwall
0f822fdfcf Merge pull request #1270 from akka/wip-mvn-exec-patriknw
maven exec plugin doesn't have to be added to pom.xml
2013-03-25 03:26:28 -07:00
Björn Antonsson
859ab70c0e Merge pull request #1268 from akka/wip-3150-skip-non-leader-status-members-in-covergence-check-ban
Ignore members that can't be leader during convergence check #3150
2013-03-25 03:17:32 -07:00
Björn Antonsson
6ec5fc6006 Merge pull request #1264 from akka/wip-2930-unreachablenoderejoinsclusterspec-failed-ban
Fixes to Throttler and UnreachableNodeRejoinsCluster #2930
2013-03-25 03:17:18 -07:00
drewhk
f2a9193621 Merge pull request #1239 from drewhk/wip-2299-failed-sysmsg-drewhk
Made Failed a SystemMessage
2013-03-22 09:31:52 -07:00
Björn Antonsson
a8361eb22f Ignore members that can't be leader during convergence check. See #3150 2013-03-22 17:30:29 +01:00
Patrik Nordwall
405f34cc53 maven exec plugin doesn't have to be added to pom.xml 2013-03-22 17:22:06 +01:00
Endre Sándor Varga
61d1e67c1c Minor fix to SupervisorHierarchySpec to ignore Terminated from old child 2013-03-22 14:12:29 +01:00
Endre Sándor Varga
0f432e38be Fixes after merge 2013-03-22 13:36:09 +01:00
Endre Sándor Varga
f8c3717ca1 Changed Failed to be a SystemMessage
- Moved system messages to their own package.
 - All queueing operations are now hidden behind a SystemMessageList value class
 - Introduced dual SystemMessageList types to encode the ordering in the type.
   - Protects against accidentally missed reverse calls or accidentally reversed lists
   - Makes ordering expectations by fields/parameters explicit
 - Fixed serialization tests
 - Fixes to logging in HierarchyStressSpec
2013-03-22 12:02:31 +01:00
Patrik Nordwall
bf813d8406 Merge pull request #1244 from akka/wip-3072-uid-ref-patriknw
Add UID to RemoteActorRef, see #3072
2013-03-22 01:06:05 -07:00
Patrik Nordwall
a6ee848122 Merge pull request #1261 from akka/wip-3162-cluster-cleanup-init-patriknw
Shutdown/cleanup cluster extension if actor init fails, see #3162
2013-03-22 00:45:25 -07:00
Patrik Nordwall
b738487dc8 Add UID to RemoteActorRef, see #3072
* Sending to a previous incarnation of an actor shall fail,
  to make remote actors work the same way as local ones (in
  the sense that after Terminated() the ref is not working anymore)
* Changed equality of ActorRef to take the uid into account
* Parse uid fragment in RelativeActorPath and ActorPathExtractor
* Handle uid in getChild and in RemoteSystemDaemon
* Use toSerializationFormat and toSerializationFormatWithAddress
  in serialization
* Replaced var uid in ActorCell and ChildRestartStats with
  constructor parameters (path)
* Create the uid in one single place, in makeChild in parent
* Handle ActorRef with and without uid in DeathWatch
* Optimize ActorPath.toString and friends
* Update documentation and migration guide
2013-03-21 20:25:16 +01:00
Björn Antonsson
eb10fac787 Merge pull request #1267 from akka/wip-3134-remotingspec-creates-a-lot-of-threads-ban
Configure RemotingSpec to not create 500 threads #3134
2013-03-21 04:42:06 -07:00
Björn Antonsson
ea8ec24d4d Changed ThrottlerManager setMode to use watch to ensure completion of future. See #2930 2013-03-21 12:38:20 +01:00
Björn Antonsson
268b8f2185 Configure RemotingSpec to not create 500 threads. See #3134 2013-03-21 10:07:48 +01:00
Björn Antonsson
fc17d35789 Merge pull request #1265 from akka/wip-3128-tcpconnectionspec-failure-on-osx-ban
Read instead of write to get connection reset by peer #3128
2013-03-21 01:56:21 -07:00
Björn Antonsson
d320530949 Merge pull request #1266 from akka/wip-3140-race-in-transitionspec-ban
TransitionSpec checking for wrong member state #3140
2013-03-21 01:56:02 -07:00
Roland Kuhn
417a01724e Merge pull request #1260 from akka/wip-sbt-0.12.2
update to SBT 0.12.2
2013-03-20 08:58:26 -07:00
Björn Antonsson
b6ae5df920 Wait for the second member to become Up. See #3140 2013-03-20 13:29:19 +01:00
Björn Antonsson
5827a27b94 Make joining to the same node multiple times work, and reenable blackhole test. See #2930 2013-03-20 12:22:12 +01:00
Björn Antonsson
e18281803e Read instead of write to get connection reset by peer. See #3128 2013-03-20 11:21:09 +01:00
Björn Antonsson
f18575e251 Fixes and additions to the ThrottlerTransportAdapter. See #2930 2013-03-20 10:29:26 +01:00
Patrik Nordwall
08d2dec785 Shutdown/cleanup cluster extension if actor init fails, see #3162
* Stop ClusterDaemon if init of core actor fails.
* Activate jmx-enabled setting
* Adjust the err msg of InvalidActorNameException to match conventions
2013-03-19 17:36:36 +01:00
Roland Kuhn
9584bb38bd update to SBT 0.12.2 2013-03-18 18:41:27 +01:00
Björn Antonsson
83541e8abf Merge pull request #1257 from akka/wip-3158-release-should-build-and-copy-javadoc-ban
Release should build and copy javadoc automatically. #3158
2013-03-18 05:32:59 -07:00
Patrik Nordwall
6c33174144 Merge pull request #1254 from akka/wip-3049-cluster-roles-patriknw
Cluster node roles, see #3049
2013-03-18 05:20:58 -07:00
Roland Kuhn
adac7f1088 Merge pull request #1253 from akka/wip-3151-SHS-warnings-∂π
filter resume-warning in SupervisorHierarchySpec, see #3151
2013-03-18 04:29:00 -07:00
Patrik Nordwall
7eac88f372 Cluster node roles, see #3049
* Config of node roles cluster.role
* Cluster router configurable with use-role
* RoleLeaderChanged event
* Cluster singleton per role
* Cluster only starts once all required per-role node
  counts are reached,
  role.<role-name>.min-nr-of-members config
*  Update documentation and make use of the roles in the examples
2013-03-18 11:56:11 +01:00
Björn Antonsson
ed40dff7d7 Release should build and copy javadoc automatically. See #3158 2013-03-18 11:44:54 +01:00
Björn Antonsson
6e8125a46e Merge pull request #1256 from akka/wip-3155-doc-change-http-section-ban
DOC #3155 Update HTTP section
2013-03-15 06:17:35 -07:00
Björn Antonsson
db5594b08b DOC Change the HTTP section. See #3155 2013-03-15 13:48:23 +01:00
Björn Antonsson
5ad0aaa2bc Merge pull request #1251 from akka/wip-3144-genjavadoc-0.4-∂π
update to genjavadoc 0.4 and fix path concat in Unidoc, see #3144
2013-03-15 04:19:58 -07:00
Viktor Klang (√)
291f0d5c87 Merge pull request #1242 from drewhk/wip-3025-nodelay-default-drewhk
Set TCPNODELAY as default.
2013-03-15 04:18:11 -07:00
Viktor Klang (√)
9999110bde Merge pull request #1252 from akka/wip-3153-do-not-slice-empty-ByteString-√
#3153 - 'Fixing' the ByteStringSpec by not having it generate now illeg...
2013-03-15 04:06:14 -07:00