Commit graph

10244 commits

Author SHA1 Message Date
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
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
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
Viktor Klang
6bb1bf6795 Switching to getDeclaredConstructor.newInstance as a fallback 2012-06-13 15:19:58 +02:00
Viktor Klang
6d114fb3e2 Review fixes 2012-06-13 15:14:51 +02:00
Viktor Klang
1eb6681b3c Removing horrid IDEA autogenerated section and adding Typesafe copyright to NonPublicClass.java 2012-06-13 15:11:19 +02:00
Viktor Klang
d6e3642d9d Removing all uses of immutable.Stack in Akka 2012-06-13 14:08:47 +02:00
Viktor Klang
2d4067e21e Skipping immutable.Stack due to questionable implementation, going for immutable.List instead 2012-06-13 13:56:54 +02:00
Viktor Klang
8ce6ac3e3e #2217 - setting accessible = true before newInstance 2012-06-13 12:23:02 +02:00
Viktor Klang
d3e2f529f3 Removing a pointless import and the only Scala return statement in our codebase 2012-06-13 11:53:27 +02:00
Viktor Klang
6199556ced Caching emptyBehaviorStack and remove all other uses of Stack.empty 2012-06-13 11:39:04 +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
Viktor Klang
b1fe6c709c Formatting 2012-06-13 10:55:47 +02:00
Viktor Klang
9e265f5c54 Proposal to make it possible to fully discard the receive and replace it with become, unbecome then reverts to receive if no behavior left 2012-06-13 10:48:54 +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