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
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
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
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
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
Patrik Nordwall
309b460367
Test state transitions and actions step-by-step, see #2223
2012-06-15 13:35:52 +02:00
Patrik Nordwall
11c85b84b9
Fail fast in cluster tests if prevous step failed
2012-06-15 13:35:52 +02:00
Patrik Nordwall
08c47591c0
Use max of periodic-tasks-initial-delay and the interval
2012-06-15 13:35:52 +02:00
Patrik Nordwall
f7a01505ba
Correction of gossip merge when joining, see #2204
...
The problem:
* Node that is Up joins a cluster and becomes Joining in that cluster
* The joining node receives gossip, which results in conflict,
merge results in Up
* It became Up in the new cluster without passing the ordinary leader
action to move it to Up
The solution:
* Change priority order of Up and Joining so that Joining is used when
merging
2012-06-15 13:35:52 +02:00
viktorklang
5f77590eb8
Merge pull request #476 from dev10/ticket_1978
...
Added changes to Netty pipelines to support SSL/TLS. Fixes #1978
2012-06-15 04:34:08 -07:00
Jonas Bonér
f74c96b424
Merged with master
2012-06-14 16:21:03 +02:00
Jonas Bonér
cb0cfac6c7
Merged with master
2012-06-14 16:13:53 +02:00
patriknw
567c25df5c
Merge pull request #537 from akka/wip-2077-gossip-merge-patriknw
...
Correct? implementation of merge and other actions, see #2077
2012-06-13 08:39:25 -07:00
Patrik Nordwall
c5164085b2
Merge branch 'master' into wip-2077-gossip-merge-patriknw
...
Conflicts:
akka-cluster/src/main/scala/akka/cluster/Cluster.scala
2012-06-13 17:04:09 +02:00
Patrik Nordwall
391e633329
Improve docs based on feedback, see #2077
2012-06-13 16:54:21 +02:00
patriknw
86df3dab8f
Merge pull request #536 from akka/wip-2222-singleton-convergence-patriknw
...
Fix false convergence when singleton cluster, see #2222
2012-06-13 07:20:19 -07:00
Patrik Nordwall
bd7bdff269
Improve debug log message of no convergence, see #2222
2012-06-13 16:15:16 +02:00
Patrik Nordwall
82645ca3c9
Additional check of expectedAddresses in listener tests
2012-06-13 16:06:34 +02:00
Patrik Nordwall
afbeb3e5f9
import MemberStatus._
2012-06-13 15:33:38 +02:00
Patrik Nordwall
5b89d25c37
Add invariant assertions to Gossip, see #2077
...
* Add doc about how members are "moved"
2012-06-13 15:23:45 +02:00
Patrik Nordwall
f3d9f9c4e8
Merge seen table by starting with empty seen after merge, see #2077
2012-06-13 11:19:06 +02:00
Patrik Nordwall
ff5c99a80d
Minor cleanup, based on review comments, see #2077
2012-06-13 11:04:27 +02:00
Patrik Nordwall
42c5281d5a
Correct? implementation of merge and other actions, see #2077
...
* Merge unreachable using highestPriorityOf
* Avoid merge result in node existing in both members and unreachable
* Fix joining only allowed when !alreadyMember && !isUnreachable (non Down)
* Fix filter bug of unreachable in downing and leaderActions
* Minor cleanups
2012-06-13 09:37:47 +02:00
Patrik Nordwall
92cab53b1e
Rename + operator of VectorClock and Versioned to :+
...
* + is kind of reserved for string concatination
2012-06-12 16:16:44 +02:00
Patrik Nordwall
de1ad30217
Fix false convergence when singleton cluster, see #2222
...
* All members must be in seen table for convergence
* Added extra debug logging due to convergence issues
* Enabled test of convergence for node joining singleton
cluster
2012-06-12 16:16:44 +02:00
Viktor Klang
8d12385a3e
Prolonging wait time for TypedActorSpec to avoid problems on slower machines
2012-06-12 15:48:23 +02:00
viktorklang
a68c5350c6
Merge pull request #535 from dwijnand/patch-1
...
Minor markup fix.
2012-06-12 06:36:09 -07:00
patriknw
74e842db2a
Merge pull request #533 from akka/wip-2214-heartbeats-patriknw
...
Use Use separate heartbeats for FailureDetector, see #2214
2012-06-12 06:19:23 -07:00
Dale
13f3cddbfb
Minor markup fix.
2012-06-12 16:16:25 +03:00
Patrik Nordwall
40d9b27e73
Info log about dedicated scheduler, and refactoring, see #2214
...
* Refactoring with wrapping of Scheduler according to @viktorklang's wish
2012-06-12 14:16:30 +02:00
Patrik Nordwall
7b6ae2f5c9
Use nanoTime in FixedRateTask, see #2214
...
* Rewrote test to use latch and assert rate instead
2012-06-12 13:37:21 +02:00
Patrik Nordwall
b27bae6554
Use dedicated cluster scheduler only when default scheduler resolution isn't good enough, see #2214
...
* Config properties for scheduler
* Commented shutdown considerations
2012-06-12 13:34:59 +02:00
Viktor Klang
649b9d5181
Switching to Mr Pink's Java6 detector
2012-06-11 22:53:45 +02:00