Commit graph

12466 commits

Author SHA1 Message Date
Viktor Klang
914a83b291 Fixing bug in flushMessage 2012-06-18 14:31:57 +02:00
Viktor Klang
c59f058640 Removing dead code as detected by The Doctor 2012-06-18 14:29:50 +02:00
Patrik Nordwall
67a52ea5e1 Shorter gossip interval, until we optimize join, see #2239 2012-06-18 14:10:57 +02:00
Viktor Klang
da5862ab6f InitialiZe 2012-06-18 14:02:08 +02:00
Viktor Klang
e656ea702e Merge branch 'master' of github.com:akka/akka 2012-06-18 13:57:53 +02:00
Viktor Klang
5a3a02a516 Unrandom to unb0rk Linux, because Linux has some issues with dev/random entropy 2012-06-18 13:57:42 +02:00
Jonas Bonér
8b6652a794 Fixed all issues from review. In particular fully separated state transformation and preparation for side-effecting processing.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-06-18 13:53:49 +02:00
Jonas Bonér
c0dff0050b Minor edit .
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-06-18 13:52:06 +02:00
Jonas Bonér
e362c2f488 Cleaned up LeaderLeavingSpec.
…and turned it off until redesign of leader leaving is implement.

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-06-18 13:51:54 +02:00
Jonas Bonér
a5fe6ea607 Fixed wrong ScalaDoc.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-06-18 13:51:00 +02:00
viktorklang
ed64cdcc5c Merge pull request #542 from szabolcsberecz/wip-2156-sbt-plugin-dist-project-dep-khernyo
#2156 - sbt plugin: project dependencies should be included automatically
2012-06-18 04:42:28 -07:00
Patrik Nordwall
12e90a98dc Remove address vals in tests, fix race in TransitionSpec, see #2201 2012-06-18 13:24:46 +02:00
Viktor Klang
f44bc9dc0c Switching to a more continuation based approach for sending that also solves the issue when sending is not possible 2012-06-18 12:09:53 +02:00
Patrik Nordwall
fb04786072 Cleanup based on review comments, see #2201 2012-06-18 11:16:30 +02:00
viktorklang
74e69c4ebd Merge pull request #539 from akka/wip-2217-create-nonpublic-class-√
#2217 - setting accessible = true before newInstance
2012-06-18 01:40:56 -07:00
viktorklang
8d6fed6866 Merge pull request #538 from akka/wip-replace-receive-√
Wip replace receive √
2012-06-18 01:38:20 -07:00
Roland Kuhn
0df105f8a1 correct ActorSystem’s error message for invalid system name, see #2246 2012-06-18 10:20:43 +03:00
Oliver Schulz
20e313e6a5 Removed final specifier on some ByteString and ByteIterator methods 2012-06-17 22:22:40 +02:00
Oliver Schulz
b6b117cf54 Improved ByteString.{head,tail,last, init} and added missing tests 2012-06-17 22:18:51 +02:00
Oliver Schulz
3b67a4fdef Added explicit apply method with return type Byte to class ByteString
This is necessary to prevent boxing/unboxing of Bytes on apply.
2012-06-17 22:11:55 +02:00
Oliver Schulz
8d4986dde3 Added new ByteString features to IO (Scala) documentation 2012-06-17 19:28:08 +02:00
Oliver Schulz
394cce0af4 Simplified implementation of ByteStringBuilder.asOutputStream 2012-06-17 17:58:20 +02:00
Jonas Bonér
6d96d04234 Merge branch 'master' into wip-2162-redesign-of-management-of-the-exiting-to-removed-life-cycle-jboner 2012-06-16 00:18:26 +02:00
Jonas Bonér
07dadc40cb Added spec testing telling a LEADER to LEAVE (and transition from UP -> LEAVING -> EXITING -> REMOVED).
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-06-16 00:04:37 +02:00
Jonas Bonér
86dc1fe69d Minor edits to cluster specification.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-06-16 00:03:45 +02:00
Jonas Bonér
486853b7bd Removed MembershipChangeListenerRemovedSpec.
Since there is no listener being called for the transition to REMOVED.

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-06-16 00:03:13 +02:00
Jonas Bonér
616aaacbe8 Changed logging in FD from INFO to DEBUG.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-06-16 00:02:20 +02:00
Jonas Bonér
2822ba5246 Fixed and enabled tests that test LEAVING -> EXITING -> REMOVED.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-06-16 00:01:58 +02:00
Jonas Bonér
41ec436314 Removed 'remove' from, and added 'isRunning' to, 'akka-cluster' admin script.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-06-16 00:01:02 +02:00
Jonas Bonér
469fcd8305 Redesign of life-cycle management of EXITING -> REMOVED. Fixes #2177.
- Removed REMOVED as explicit valid member state
- Implemented leader moving either itself or other member from EXITING -> REMOVED
- Added sending Remove message for removed node to shut down itself
- Fixed a few bugs
- Removed 'remove' from Cluster and JMX interface
- Added bunch of ScalaDoc
- Added isRunning method

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-06-16 00:00:19 +02:00
Viktor Klang
faff67c7fa Commenting out the SSL tests until I have time to fix them 2012-06-15 18:49:07 +02:00
Viktor Klang
d0272b848d Adding a test for the default RNG 2012-06-15 18:31:28 +02:00
Viktor Klang
8f74a07c65 Merge branch 'master' of github.com:akka/akka 2012-06-15 18:12:40 +02:00
Viktor Klang
1e9d648255 Removing the use of 256bit encryption by default since it requires an install to get 2012-06-15 18:12:29 +02:00
Patrik Nordwall
aae8869390 Merge branch 'master' into wip-2201-cache-node-lookup-patriknw
Conflicts:
	akka-cluster/src/multi-jvm/scala/akka/cluster/MultiNodeClusterSpec.scala
2012-06-15 17:44:26 +02:00
Patrik Nordwall
f8b7189885 Place the address cache in MultiNodeClusterSpec, see #2201 2012-06-15 17:32:40 +02:00
patriknw
d91cd91f59 Merge pull request #545 from akka/wip-2223-step-by-step-patriknw
Test state transitions and actions step-by-step, see #2223
2012-06-15 08:12:59 -07:00
Patrik Nordwall
3945490aa6 Minor cleanup based on feedback, see #2223 2012-06-15 17:12:09 +02:00
Viktor Klang
77d8ebeb28 Parrying for NoSuchAlgorithmException 2012-06-15 16:47:14 +02:00
Björn Antonsson
ef1e39f297 Merge branch 'master' into wip-2218-test-conductor-barrier-timeouts 2012-06-15 16:21:05 +02:00
Viktor Klang
8b260c2758 Second stab at making sure we don't run the tests for SSL remoting for the RNGs that aren't installed on the box the tests run on 2012-06-15 16:08:07 +02:00
Viktor Klang
019ec0da71 Fixing so that the SSL tests are ignored if the respective cipher isn't available on the machine the test runs on, so you'll see a yellow warning that the test wasn't run in that case 2012-06-15 15:04:54 +02:00
Patrik Nordwall
e9a96afef8 Use FailureDetectorPuppet in ClusterSpec 2012-06-15 14:45:41 +02:00
Patrik Nordwall
404fa4dfa3 Implicit conversion from RoleName to Address
* Improved readability in tests if role name can be used
* Will change other tests also if you like it, otherwise revert
2012-06-15 14:45:41 +02:00
Patrik Nordwall
1e0d6670d5 Cache node lookup, see #2201 2012-06-15 14:45:41 +02:00
Björn Antonsson
db656ab669 Merge branch 'master' into wip-2218-test-conductor-barrier-timeouts 2012-06-15 14:40:46 +02:00
Björn Antonsson
529b168ff9 Merge branch 'master' into wip-2218-test-conductor-barrier-timeouts 2012-06-15 14:39:55 +02:00
Björn Antonsson
fd42c3d49a Allow barrier timeouts to be shortened and other review fixes 2012-06-15 14:39:47 +02:00
Viktor Klang
46c06fa669 Minor reformatting 2012-06-15 14:15:09 +02:00
Patrik Nordwall
51a38f318a Real SunnyWeather 2012-06-15 13:44:37 +02:00