Commit graph

12480 commits

Author SHA1 Message Date
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
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
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
e18281803e Read instead of write to get connection reset by peer. See #3128 2013-03-20 11:21:09 +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
Endre Sándor Varga
7804df7743 Updated documentation 2013-03-15 11:08:42 +01:00
Roland
267060a295 filter resume-warning in SupervisorHierarchySpec, see #3151 2013-03-15 09:07:37 +01:00
Roland Kuhn
247d7ac0f4 Merge pull request #1250 from akka/wip-size==0-∂π
remove occurrences of List.size==0
2013-03-14 13:50:34 -07:00
Viktor Klang (√)
8ae2a538e3 Merge pull request #1246 from akka/wip-3147-fix-isTerminated-docs-√
#3147 - correcting ScalaDoc comment for ActorRef.isTerminated
2013-03-14 12:49:24 -07:00
Viktor Klang
950d19a377 #3153 - 'Fixing' the ByteStringSpec by not having it generate now illegal combinations of data for copyToArray 2013-03-14 20:10:03 +01:00
Roland Kuhn
6072cf3569 Merge pull request #1245 from 2beaucoup/patch-1
some IO doc fixes
2013-03-14 11:57:49 -07:00
Roland
70dfcb37a9 update to genjavadoc 0.4 and fix path concat in Unidoc, see #3144 2013-03-14 19:43:05 +01:00
Roland
0e2ecc8be4 remove occurrences of List.size==0 2013-03-14 19:36:18 +01:00
Roland Kuhn
ad30275388 Merge pull request #1241 from akka/wip-3141-no-genjavadoc-∂π
allow switching off genjavadoc, see #3141
2013-03-14 08:32:38 -07:00
Viktor Klang
0a5d93a194 #3147 - correcting ScalaDoc comment for ActorRef.isTerminated 2013-03-14 15:20:59 +01:00
2beaucoup
565f3ce571 some IO doc fixes 2013-03-14 14:24:40 +01:00
Roland
e8e5845d17 genjavadoc is now off by default, see #3141
but it complains if you then try to build the docs
2013-03-13 21:22:11 +01:00
Endre Sándor Varga
852afeb565 Set TCPNODELAY as default. 2013-03-13 13:42:04 +01:00
Patrik Nordwall
761c114e26 Merge pull request #1237 from akka/wip-3131-pub-leaderchanged-patriknw
Publish LeaderChanged when first seen, see #3131
2013-03-13 02:01:06 -07:00
Viktor Klang (√)
05593f5dd8 Merge pull request #1230 from akka/wip-3076-gossip-merge-changes-ban
Don't increment vector-clock on merge and merge locally. See #3076
2013-03-12 08:49:30 -07:00
Viktor Klang (√)
3ee4ae9e70 Merge pull request #1236 from akka/wip-3114-replace-props-on-terminate-√
#3114 - Replace props on ActorCell termination to avoid leakage if one ...
2013-03-12 08:47:12 -07:00
Viktor Klang (√)
a43691956a Merge pull request #1226 from akka/wip-remove-redundant-field-in-remote-actor-ref-√
Removing the redundant field that is RemoteActorRefProvider from RARP as...
2013-03-12 05:18:57 -07:00
Patrik Nordwall
f45e62f386 Merge pull request #1228 from akka/wip-2824-failure-logging-patriknw
Log actor failures in supervisor, see #2824
2013-03-11 05:38:23 -07:00
Patrik Nordwall
fb35a3d8e7 Change log-remote-lifecycle-events=on, see #2826 2013-03-11 13:36:00 +01:00
Patrik Nordwall
a67fa18f8d Reduce unwanted logging from remoting, see #2826
* Handle logging in EndpointManager supervisorStrategy
* Added some more exception types to be able to differentiate
  failures
2013-03-11 13:36:00 +01:00
Patrik Nordwall
f4d59383d7 Log actor failures in supervisor, see #2824
* To make it possible to override with application
  specific logging, or mute logging for certain failures
* Changed log level of Resume failures to WARNING, which
  caused all the changes to the tests
2013-03-11 13:33:37 +01:00
Patrik Nordwall
1e4b2585c7 Publish LeaderChanged when first seen, see #3131
* The problem in ClusterSingletonManagerChaosSpec was that node 4 doesn't publish
  LeaderChanged, because there is never convergence on node 4 of the new Up
  state for the three new nodes before they are shutdown. When it becomes
  convergence on node 4 prevConvergedGossip and newGossip have same leader
  (i.e. no change).
* LeaderChanged is now published when the new leader is first seen, i.e. same
  as member events. This makes sense now when leader can't be in Joining state.
2013-03-11 12:41:15 +01:00
Patrik Nordwall
369811981e Merge pull request #1235 from akka/wip-3130-cluster-singleton-rm-prev-leader-patriknw
Cluster singleton failure due to down-removed, see #3130
2013-03-11 04:38:56 -07:00
Patrik Nordwall
d98a7ef1e8 Cluster singleton failure due to down-removed, see #3130
* The scenario was that previous leader left.
* The problem was that the new leader got MemberRemoved
  before it got the HandOverDone and therefore missed the
  hand over data.
* Solved by not changing the singleton to leader when receiving
  MemberRemoved and instead do that on normal HandOverDone or
  in failure cases after retry timeout.
* The reason for this bug was the new transition from Down to
  Removed and that there is now no MemberDowned event. Previously
  this was only triggered by MemberDowned (not MemberRemoved) and
  that was safe because that was "always" preceeded by unreachable.
* The new solution means that it will take longer for new singleton
  to startup in case of unreachable previous leader, but I don't
  want to trigger it on MemberUnreachable because it might in the
  future be possible to switch it back to reachable.
2013-03-11 12:37:35 +01:00