Patrik Nordwall
f8b7189885
Place the address cache in MultiNodeClusterSpec, see #2201
2012-06-15 17:32:40 +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
Viktor Klang
46c06fa669
Minor reformatting
2012-06-15 14:15:09 +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
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
Patrik Nordwall
a7d2be10eb
Merge branch 'master' into wip-2214-heartbeats-patriknw
...
Conflicts:
akka-cluster/src/main/scala/akka/cluster/AccrualFailureDetector.scala
akka-cluster/src/main/scala/akka/cluster/Cluster.scala
2012-06-11 22:27:08 +02:00
Patrik Nordwall
34c9e49ee0
Schedule cluster tasks with more accurate, see #2114
...
* Use scheduler with more accurate settings
* New FixedRateTask that compensates for inaccuracy
2012-06-11 22:20:44 +02:00
Patrik Nordwall
d957c68639
Incorporate feedback from review, see #2214
2012-06-11 21:12:57 +02:00
Peter Badenhorst
399a08b8b3
Used RemoteCommunicationSpec as a template to implement a functional spec to test SSL communication.
...
1) Converted provider and related RNG's from Java to Scala
2) Added trust/key stores for testing purposes
3) As stated in the test comments, Internet access is required for the 2 'Secure' RNG variants to function within the time limit.
4) Fixed unnecessary imports
2012-06-11 18:33:05 +02:00
Viktor Klang
36b040cfab
Unbreaking master
2012-06-11 18:11:02 +02:00
Jonas Bonér
46cf426382
Merge pull request #530 from akka/wip-failure-detector-puppet-jboner
...
Abstracted the FailureDetector into a interface trait and added controllable failure detector mock.
2012-06-11 08:37:27 -07:00
Jonas Bonér
c0e2362daa
Merge branch 'master' into wip-failure-detector-puppet-jboner
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-06-11 16:53:55 +02:00
Jonas Bonér
2dcceb58ce
Split up all tests that are related to failure detection into two versions: Accrual FD and FD Puppet. Also moved all tests that are not failure detection tests to use FD Puppet.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-06-11 16:48:19 +02:00
Patrik Nordwall
e2551494c4
Use Use separate heartbeats for FailureDetector, see #2214
...
* Send Heartbeat message to all members at regular interval
* Removed the need to gossip to myself
2012-06-11 15:00:44 +02:00
Jonas Bonér
b65cf5c2ec
Created FailureDetectorStrategy with two implementations: FailureDetectorPuppetStrategy and AccrualFailureDetectorStrategy.
...
- Created FailureDetectorStrategy base trait.
- Created FailureDetectorPuppetStrategy.
- Created AccrualFailureDetectorStrategy.
- Created two versions of LeaderDowningNodeThatIsUnreachableMultiJvmSpec
- LeaderDowningNodeThatIsUnreachableWithFailureDetectorPuppet
- LeaderDowningNodeThatIsUnreachableWithAccrualFailureDetector
- Added AccrualFailureDetectorStrategy to all the remaining tests - will be split up into two versions shortly.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-06-11 14:32:17 +02:00
viktorklang
f4eaeab43e
Merge pull request #527 from akka/wip-2203-always-deadletters-√
...
#2203 - publish failed message deliveries to DeadLetters when bounded or...
2012-06-11 05:08:48 -07:00
viktorklang
efc016b9c4
Merge pull request #528 from akka/wip-2208-netty-update-√
...
#2208 - Upgrading to Netty 3.5.0 - remove StaticChannelPipeline since it...
2012-06-11 05:08:22 -07:00
viktorklang
b9269ca57e
Merge pull request #531 from akka/wip-2187-yellow-warnings-√
...
#2187 - Making Warning sections in docs yellow so they aren't overlooked
2012-06-11 05:07:59 -07:00
viktorklang
7a447ffe9d
Merge pull request #532 from akka/wip-2119-enforce-java6-for-releases-√
...
#2119 - enforce Java6 for releases
2012-06-11 05:07:22 -07:00
Jonas Bonér
523f433e4b
Fixed potential problem in test
2012-06-11 11:36:29 +02:00
Viktor Klang
edc0c0d888
#2119 - enforce Java6 for releases
2012-06-11 11:26:28 +02:00
Viktor Klang
44fefb9b55
#2187 - Making Warning sections in docs yellow so they aren't overlooked
2012-06-11 11:05:19 +02:00
Jonas Bonér
ec7177be74
Misc fixes after FailureDetectorPuppet and abstraction review
...
- Moved FailureDetectorPuppet to its own file in src/test.
- Removed 'phi' method from FailureDetector public API.
- Throwing exception instead of falling back to default if we can't load the custom FD.
- Removed add-connection method in FailureDetectorPuppet.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-06-11 10:06:53 +02:00
Jonas Bonér
0030fa1b52
Made LeaderDowningNodeThatIsUnreachableSpec make use of the new FailureDetectorPuppet as a sample of how to use it.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-06-10 16:53:17 +02:00
Jonas Bonér
a4499b06bb
Abstracted the FailureDetector into a interface trait and added controllable failure detector mock.
...
- Abstracted a FailureDetector trait.
- Added a FailureDetectorPuppet mock that can be user controllable
- Added option to define a custom failure detector
- Misc minor fixes
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-06-10 16:52:33 +02:00
Jonas Bonér
e6ee3e2a95
Ignoring ConvergenceSpec until fixed.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-06-10 16:50:04 +02:00
Viktor Klang
fd455d14bf
#2208 - Upgrading to Netty 3.5.0 - remove StaticChannelPipeline since it's deprecated.
2012-06-08 21:57:39 +02:00
Patrik Nordwall
2b69f67777
Ignore due to failures, see #2180
2012-06-08 16:54:55 +02:00