Viktor Klang
54febffb28
#2093 - Adding support for setting the sender when using TestActorRef.receive
2012-06-04 17:07:44 +02:00
patriknw
f9a8cde812
Merge pull request #508 from akka/wip-2173-LogRoleReplace-patriknw
...
Utility to replace jvm and host:port with role in logs, see 2173
2012-06-04 04:43:39 -07:00
Patrik Nordwall
e592cebe20
Add script to run LogRoleReplace, see #2173
2012-06-04 13:35:08 +02:00
Jonas Bonér
e7cf92e72a
Merge pull request #506 from akka/wip-2161-test-leave-the-cluster-gracefully-jboner
...
Added implementation of the LEAVE command for a cluster node plus misc tests
2012-06-04 01:39:22 -07:00
Jonas Bonér
8297e0132b
Added comment to explain the increase in leader action frequency.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-06-04 10:38:10 +02:00
Jonas Bonér
beac5c5cff
Fixed typo in config
2012-06-04 10:12:31 +02:00
Patrik Nordwall
3c7ade3cdb
Utility to replace jvm and host:port with role in logs, see 2173
2012-06-04 08:50:28 +02:00
viktorklang
ebc919ba61
Merge pull request #507 from akka/wip-2168-expose-more-netty-config-√
...
#2168 - Exposing more Netty options in remote config
2012-06-02 08:02:39 -07:00
Jonas Bonér
393c6e01b2
Merge pull request #504 from akka/wip-2157-leader-state-patriknw
...
Test leader member states, see 2157
2012-06-02 07:23:35 -07:00
viktorklang
6da3a562d8
Merge pull request #503 from akka/wip-1953-master-start-using-migration-manager-ban
...
Wip 1953 master start using migration manager ban
2012-06-01 14:58:25 -07:00
Viktor Klang
0330a5fd29
Adding the low watermark option
2012-06-01 21:47:14 +02:00
Viktor Klang
5ec38e82e5
Switching over to foreach, anticipating the use of -optimize for 2.10
2012-06-01 21:42:18 +02:00
Viktor Klang
12b9af25cf
#2168 - Exposing more Netty options in remtoe config
2012-06-01 21:29:47 +02:00
Jonas Bonér
505e0717b9
Made the timeout for test dilated
2012-06-01 17:25:27 +02:00
viktorklang
2940740c48
Merge pull request #493 from scullxbones/wip-1734-circuit-breaker-scullxbones
...
Recreate clean branch for #1734 - Circuit Breaker
2012-06-01 08:22:14 -07:00
Jonas Bonér
a3d48339ca
Added test for testing cluster node transitioning from UP -> LEAVING -> EXITING -> REMOVED.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-06-01 16:51:18 +02:00
Jonas Bonér
3ac39cce95
Added test for testing cluster node transitioning from UP -> LEAVING -> EXITING.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-06-01 16:50:56 +02:00
Jonas Bonér
de8bb7d96f
Added test for testing cluster node transitioning from UP -> LEAVING.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-06-01 16:50:34 +02:00
Jonas Bonér
0449f85a86
Added implementation of the LEAVE command for a cluster node.
...
* Added implementation of the LEAVE command for a cluster node
* Changed the meaning of Member.isUnavailable to only DOWN and REMOVED
* Removed EXIT and UP as user commands
* Fixed Cluster.self to fall back to checking for itself in the gossip.overview.unreachable set.
* Added Leader action transitioning from LEAVING -> EXITING
* Improved comments
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-06-01 16:49:50 +02:00
Brian Scully
6a415f0e9b
* Add Circuit Breaker to akka.pattern for general use. Circuit breaker implementation as described by Michael T. Nygard in Release It!. Fixes #1734
...
* Uses finite state machine for three states: Closed, Open, Half-Open
* Closed state allows calls through, and on sequential failures exceeding the max# set - transitions to Open state. Intervening successes cause the failure count to reset to 0
* Open state throws a CircuitOpenException on every call until the reset timeout is reached which causes a transition to Half-Open state
* Half-Open state will allow the next single call through, if it succeeds - transition to Closed state, if it fails - transition back to Open state, starting the reset timer again
* Allow configuration for the call and reset timeouts, as well as the maximum number of sequential failures before opening
* Supports async or synchronous call protection
* Callbacks are supported for state entry into Closed, Open, Half-Open. These are run in the supplied execution context
* Both thrown exceptions and calls exceeding max call time are considered failures
* Uses akka scheduler for timer events
* Integrated into File-Based durable mailbox
* Sample documented for other durable mailboxes
2012-06-01 08:24:47 -04:00
Patrik Nordwall
4dbf4a70b3
Test leader member states, see 2157
...
* The only allowed member states for a leader are up or leaving
* Added above check in assertLeader so that we always verify that
* More usage of assertLeader in the tests
2012-06-01 11:39:51 +02:00
Patrik Nordwall
ab1969e93a
Debug log since we had one hard to reproduce failure on this
2012-06-01 10:45:34 +02:00
Patrik Nordwall
af924384b6
Shutdown correct node
2012-06-01 10:44:58 +02:00
Björn Antonsson
17b0f43aea
Invoke mima as part of the release --dry-run see #1953
2012-06-01 10:01:37 +02:00
Björn Antonsson
8f31850ae2
Add Migration Manager for binary compatibility checks. see #1953
2012-06-01 10:01:06 +02:00
Patrik Nordwall
85c263e077
Add missing long-running tag
2012-05-31 22:17:34 +02:00
Viktor Klang
3b06c0a7c2
Merge branch 'master' of github.com:akka/akka
2012-05-31 22:00:32 +02:00
Viktor Klang
fca5b9afbd
#2166 - Adding link to Kryo serialization by Roman Levenstein
2012-05-31 21:58:24 +02:00
viktorklang
3a565c6c53
Merge pull request #499 from akka/wip-2117-singleton-cluster-patriknw
...
Singleton cluster convergence, see #2117
2012-05-31 12:35:16 -07:00
viktorklang
346f8be047
Correcting typo
2012-05-31 21:14:43 +03:00
viktorklang
27dbe85a70
Correcting typo
2012-05-31 21:14:19 +03:00
Patrik Nordwall
5578aef13a
Changed loglevel to INFO for debugConfig(false)
2012-05-31 17:39:35 +02:00
Patrik Nordwall
13a93dfb50
Fix regression IllegalStateException: Can't find this Member, see #2117
...
* Gossiping to myself caused the failure detector to mark myself as unreachable
* Don't heartbeat for myself failure detector
2012-05-31 17:36:59 +02:00
Patrik Nordwall
9d1cbdc601
Singleton cluster convergence, see #2117
2012-05-31 14:48:12 +02:00
Patrik Nordwall
dfcdbc5221
Boy scouting
2012-05-31 14:48:12 +02:00
Björn Antonsson
5bc4391e04
Make multi-jvm run all tests even when there are failures see #2154
2012-05-31 14:02:36 +02:00
patriknw
cba5c9b27a
Merge pull request #497 from akka/wip-2123-cluster-random-patriknw
...
Cluster usage of SecureRandom is slow, see #2153
2012-05-31 01:54:24 -07:00
Viktor Klang
90344b657e
Removing doc references to onResult and onTimeout
2012-05-30 23:32:22 +02:00
Patrik Nordwall
36385f981b
Add missing barrier
2012-05-30 19:32:10 +02:00
Patrik Nordwall
e469561543
Minor corrections and cleanup
2012-05-30 17:17:09 +02:00
Patrik Nordwall
cd8e0ab3b1
Change to ThreadLocalRandom, see #2123
2012-05-30 17:16:46 +02:00
Björn Antonsson
35aaa220aa
Quoting strings differently for multi-node
2012-05-29 17:16:28 +02:00
Björn Antonsson
4b6f00f424
Quoted strings confuses ScalaTest (space seoarated argument strings suck)
2012-05-29 15:31:57 +02:00
Björn Antonsson
d2b2f88345
Merge pull request #495 from akka/wip-2150-make-multi-jvm-tests-run-on-multiple-nodes
...
Enable running tests on multiple nodes with -Dakka.test.multi-node=true
2012-05-29 05:36:31 -07:00
Björn Antonsson
63becd1996
Merge branch 'master' into wip-2150-make-multi-jvm-tests-run-on-multiple-nodes
...
Conflicts:
project/AkkaBuild.scala
2012-05-29 14:31:59 +02:00
Patrik Nordwall
f918ae6c32
Tag all multi node tests as long-running, since slow jenkins sometimes has problems running them.
2012-05-29 14:30:15 +02:00
patriknw
eee96292e7
Merge pull request #496 from akka/wip-2143-MultiNodeSpec-init-race-patriknw
...
Workaround for Initialization race in MultiNodeSpec, see #2143
2012-05-29 05:17:22 -07:00
patriknw
a1754a65e6
Merge pull request #494 from akka/wip-1935-port-multi-jvm-patriknw
...
Port all MultiJvm tests to MultiNode, see #1935
2012-05-29 04:26:39 -07:00
Patrik Nordwall
06f86e1091
Boy scouting based on feedback, see #1935
2012-05-29 13:18:46 +02:00
Patrik Nordwall
7456bf595a
Add doc note about using testconductor from constructor, see #2143
2012-05-29 12:50:50 +02:00