Roland
5de2ca7aa5
remove Actor.preRestart(cause: Throwable)
...
- adapt all internal uses (all tests green)
- start migration guide for 2.0 with this change
2011-07-03 22:19:34 +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
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
f50537e1ed
Cluster test printlns in correct order
2011-07-01 11:00:51 +12:00
Peter Veentjer
a4102d516b
more work on the roundrobin tests
2011-06-30 21:32:32 +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
64717cea65
Closing ticket #979
2011-06-30 17:03:26 +02: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
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
Derek Williams
81b361e6d7
Merge branch 'master' into wip-derekjw
2011-06-28 12:21:44 -06:00
Peter Veentjer
9ee978f0f6
- moving the storage related file to the storage package
...
- added some return types to the Cluster.scala
2011-06-27 22:27:40 +03:00
Jonas Bonér
c145dcb818
Merge branch 'master' of github.com:jboner/akka
2011-06-27 18:58:01 +02:00
Jonas Bonér
82391e728c
Fixed broken support for automatic migration of actors residing on crashed node.
...
Also hardened the test for automatic migration of actors.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-06-27 18:57:48 +02:00
Peter Veentjer
2a19ea106b
- more work on the storage functionality
2011-06-27 13:47:04 +03:00
Jonas Bonér
fefb902350
Added 'private[cluster]' to all methods in ClusterNode API that deals with UUID.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-06-27 11:53:24 +02:00
Jonas Bonér
5a04095c6b
Added multi-jvm test for ClusterDeployer
2011-06-27 08:51:54 +02:00
Jonas Bonér
426b1328f2
Added 'node.shutdown()' to all multi-jvm tests.
...
Renamed MigrationExplicit test.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-06-26 15:26:32 +02:00
Jonas Bonér
7a5c95e44d
Added tests for automatic actor migration when node is shut down.
...
Updated to modified version of ZkClient (0.3, forked and fixed to allow interrupting connection retry).
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-06-26 15:04:11 +02:00
Jonas Bonér
15addf2b87
Reorganized tests into matching subfolders.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-06-26 13:41:41 +02:00
Jonas Bonér
a0abd5ef57
Fixed problems with actor migration in cluster and added tests for explicit actor migration through API
2011-06-26 09:49:03 +02:00
Derek Williams
878b8c147b
Merge branch 'master' into wip-derekjw
...
Conflicts:
project/build/AkkaProject.scala
2011-06-23 13:31:14 -06:00
Jonas Bonér
8e4bcb304a
Moved remoting code into akka-cluster.
...
Removed akka-remote.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-06-23 18:15:47 +02:00
Jonas Bonér
56db84f0a1
Uncommented failing leader election tests
2011-06-23 16:02:35 +02:00
Jonas Bonér
833238cd44
Added tests for storing, retrieving and removing custom configuration data in cluster storage.
...
Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-06-22 12:03:58 +02:00
Jonas Bonér
df8c4dac89
Added methods for Cluster.remove and Cluster.release that accepts ActorRef
2011-06-22 11:31:01 +02:00
Jonas Bonér
5d4f8b4bcb
Added test scenarios to cluster registry test suite.
...
Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-06-22 11:04:32 +02:00
Jonas Bonér
a4980446a0
Merge with upstream master
2011-06-22 10:01:31 +02:00
Jonas Bonér
a65a3b1e8e
Added multi-jvm test for doing 'store' on one node and 'use' on another. E.g. use of cluster registry.
...
Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-06-22 10:00:20 +02:00
Jonas Bonér
a58b3814c0
Added multi-jvm test for leader election in cluster
...
Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-06-22 09:59:32 +02:00
Jonas Bonér
4d31751793
Fixed clustered management of actor serializer.
...
Various renames and refactorings.
Changed all internal usages of 'actorOf' to 'localActorOf'.
Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-06-22 09:59:00 +02:00
Derek Williams
23dcb5d1fe
Merge branch 'master' into wip-derekjw
2011-06-19 14:49:50 -06:00
Roland
db2d296b81
ActorRef.start() returns this.type
2011-06-19 22:20:42 +02:00
Derek Williams
b28b9ac4f0
Make it possible to use infinite timeout with Actors
2011-06-19 12:05:27 -06:00
Jonas Bonér
1ad99bd610
Renamed sample class for compute grid
2011-06-17 17:09:37 +02:00
Jonas Bonér
532b55688f
Added test for ChangeListener.newLeader in cluster module
...
Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-06-17 17:00:44 +02:00
Jonas Bonér
a0fcc62d27
Added ChangeListener.nodeDisconnected test
...
Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-06-17 16:48:52 +02:00
Jonas Bonér
b93755080d
Added test for Cluster ChangeListener: NodeConnected, more to come. Also fixed bug in Cluster
2011-06-17 16:07:41 +02:00
Jonas Bonér
241831c5ee
Added some more localActorOf methods and use them internally in cluster
2011-06-17 12:07:45 +02:00
Jonas Bonér
1997d971a0
Added 'localActorOf' method to get an actor that by-passes the deployment. Made use of it in EventHandler
2011-06-17 11:56:08 +02:00