Commit graph

6790 commits

Author SHA1 Message Date
Brendan W. McAdams
7eecff5963 Merge branch 'master' of github.com:bwmcadams/akka 2011-07-05 20:20:15 -04:00
Brendan W. McAdams
1f4cf472ba First pass at Mongo Durable Mailboxes in a "Naive" approach. Some bugs
in Hammersmith currently surfacing that need resolving.
2011-07-05 20:19:47 -04:00
Brendan W. McAdams
73edd8e6d3 First pass at Mongo Durable Mailboxes in a "Naive" approach. Some bugs in Hammersmith currently surfacing that need resolving. 2011-07-05 20:19:40 -04:00
Jonas Bonér
2d4cb40557 Merge branch 'master' of github.com:jboner/akka 2011-07-05 16:18:25 +02:00
Jonas Bonér
1176c6c214 Removed call to 'start()' in the constructor of ClusterActorRef 2011-07-05 16:18:12 +02:00
Jonas Bonér
9af5df4b02 Minor refactoring and restructuring
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-07-05 15:58:19 +02:00
Jonas Bonér
4a179d14bb 1. Makes sure to check if 'akka.enabled-modules=["cluster"]' is set before checking if the akka-cluster.jar is on the classpath, allowing non-cluster deployment even with the JAR on the classpath
2. Fixed bug with duplicate entries in replica set for an actor address
3. Turned on clustering for all Multi JVM tests

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-07-05 14:46:05 +02:00
Jonas Bonér
f2dd6bddb3 1. Added configuration option for 'preferred-nodes' for a clustered actor. The replica set is now tried to be satisfied by the nodes in the list of preferred nodes, if that is not possible, it is randomly selected among the rest.
2. Added test for it.
3. Fixed wrong Java fault-tolerance docs
4. Fixed race condition in maintenance of connections to new nodes

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-07-05 13:28:02 +02:00
Patrik Nordwall
0524d97e08 Ticket 981: Removed the blocking call that was used to initialize the routing rules in the OrderReceiver 2011-07-04 21:50:26 +02:00
Patrik Nordwall
360c5ad79e Ticket 981: EventHandler instead of println 2011-07-04 20:35:57 +02:00
Patrik Nordwall
2c3b6ba8b3 Ticket 981: Refactoring, renamed and consolidated 2011-07-04 20:03:25 +02:00
Patrik Nordwall
8d724c1b5a Ticket 981: Reduced default repeat factor to make tests quick when not benchmarking 2011-07-04 19:20:37 +02:00
Patrik Nordwall
dbcea8fae1 Ticket 981: Removed TxLog, not interesting 2011-07-04 19:16:40 +02:00
Patrik Nordwall
a1bb7a7e5f Inital import of akka-sample-trading. Same as original except rename of root package 2011-07-04 19:11:27 +02:00
Martin Krasser
f186928272 Merge remote branch 'remotes/origin/modules-migration'
- Move akka-sample-camel from akka-modules repo to akka repo
- Conflicts (manually resolved):
	akka-docs/modules/spring.rst (use existing)
	project/build/AkkaProject.scala (use existing)
2011-07-04 13:31:05 +02:00
Jonas Bonér
e28db64def Disabled the migration test until race condition solved 2011-07-02 22:03:13 +02:00
Jonas Bonér
f48d91ccd7 Merged with master 2011-07-02 20:53:27 +02:00
Jonas Bonér
828f0355e1 1. Changed the internal structure of cluster meta-data and how it is stored in ZooKeeper. Affected most of the cluster internals which have been rewritten to a large extent. Lots of code removed.
2. Fixed many issues and both known and hidden bugs in the migration code as well as other parts of the cluster functionality.
3. Made the node holding the ClusterActorRef being potentially part of the replica set for the actor it is representing.
4. Changed and cleaned up ClusterNode API, especially the ClusterNode.store methods.
5. Commented out ClusterNode.remove methods until we have a full story how to do removal
6. Renamed Peter's PeterExample test to a more descriptive name
7. Added round robin router test with 3 replicas
8. Rewrote migration tests to actually test correctly
9. Rewrote existing round robin router tests, now more solid
10. Misc improved logging and documentation and ScalaDoc

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-07-02 18:18:48 +02:00
Viktor Klang
fc51bc4864 Adding support for ForkJoin dispatcher as FJDispatcher 2011-07-01 22:36:39 +02:00
Viktor Klang
99b625571d Added ScalaDoc to TypedActor 2011-07-01 16:58:36 +02:00
Peter Veentjer
1be1fbd23c Merge branch 'wip-cluster-test' 2011-07-01 11:08:42 +03:00
Peter Veentjer
19bb8066e7 work on the clustered test; deployment of actor fails and this test finds that bug 2011-07-01 11:08:24 +03:00
Peter Veentjer
f555058055 Merge branch 'wip-cluster-test' 2011-07-01 10:30:40 +03:00
Peter Veentjer
a595728b6e Added a test for actors not being deployed in the correct node 2011-07-01 10:29:14 +03:00
Peter Vlugter
ca6efa1dd3 Use new cluster test node classes in round robin failover 2011-07-01 15:06:00 +12:00
Peter Vlugter
7a2147348a Remove double creation in durable mailbox storage 2011-07-01 14:48:32 +12:00
Peter Vlugter
f50537e1ed Cluster test printlns in correct order 2011-07-01 11:00:51 +12:00
Peter Veentjer
6465984824 Merge branch 'wip-cluster-test' 2011-06-30 21:32:50 +03:00
Peter Veentjer
a4102d516b more work on the roundrobin tests 2011-06-30 21:32:32 +03:00
Peter Veentjer
fa82ab738a Merge branch 'master' of github.com:jboner/akka 2011-06-30 20:49:30 +03:00
Peter Veentjer
f18958422e Removed the peterexample tests 2011-06-30 20:39:28 +03:00
Peter Veentjer
32635312f2 Lot of work in the routing tests 2011-06-30 20:21:33 +03:00
Viktor Klang
b2a636d452 Closing ticket #963 2011-06-30 18:05:09 +02:00
Viktor Klang
64717cea65 Closing ticket #979 2011-06-30 17:03:26 +02:00
Viktor Klang
6d38a41a89 Manual merge 2011-06-30 16:14:27 +02:00
Peter Vlugter
622a2fb33f Comment out zookeeper mailbox test 2011-06-30 18:24:38 +12:00
Peter Vlugter
494a0afbbc Attempt to get the zoo under control
Using file-based coordination between nodes so that a master
node can start up and shut down the cluster
2011-06-30 16:23:47 +12:00
Peter Vlugter
f1412012a4 Comment out automatic migration test 2011-06-30 16:23:04 +12:00
Peter Veentjer
56d41a4a7c - removed unused imports 2011-06-29 23:37:33 +03:00
Peter Veentjer
c5052c9e78 Merge branch 'master' of github.com:jboner/akka 2011-06-29 23:25:15 +03:00
Peter Veentjer
b75a92c843 removed unused class 2011-06-29 23:24:44 +03:00
Viktor Klang
c83baf6e07 WIP of serialization cleanup 2011-06-29 21:25:17 +02:00
Viktor Klang
e51601d419 Formatting 2011-06-29 21:25:03 +02:00
Patrik Nordwall
44025a3ffc Ticket 975, moved package object for duration to correct directory 2011-06-29 14:32:08 +02:00
Peter Veentjer
9297480ae1 readded the storage tests 2011-06-29 14:28:49 +03:00
Peter Veentjer
fcea22faf6 added missing storage dir 2011-06-29 13:48:09 +03:00
Peter Veentjer
9c6527ee53 - initial example on the clustered test to get me up and running.. will be refactored to a more useful testin the very near future. 2011-06-29 13:35:00 +03:00
Peter Veentjer
ce1407858c - initial example on the clustered test to get me up and running.. will be refactored to a more useful testin the very near future. 2011-06-29 13:33:41 +03:00
Patrik Nordwall
ce3586221c Added description of how to cancel scheduled task 2011-06-29 08:43:51 +02:00
Martin Krasser
d25b8ce92c re-enable akka-camel and akka-camel-typed and fix compile and test errors 2011-06-28 16:53:11 +02:00