Peter Veentjer
8b9a56e89c
Index is moved to the akka.util package
2011-07-10 09:58:42 +03:00
Peter Veentjer
015fef1a0e
jmm doc improvement
2011-07-09 23:32:09 +03:00
Viktor Klang
ac311a32c2
Fixing a visibility problem with Scheduler thread id
2011-07-09 19:17:49 +02:00
Viktor Klang
5df3fbf9d5
Fixing ticket #1008 , removing tryWithLock
2011-07-09 17:53:43 +02:00
Viktor Klang
36ed15eac6
Merge branch 'master' of github.com:jboner/akka
2011-07-09 15:06:20 +02:00
Jonas Bonér
947ee8c596
Merge branch 'master' of github.com:jboner/akka
2011-07-08 19:35:47 +02:00
Jonas Bonér
34c838d0f4
1. Completed replication over BookKeeper based transaction log with configurable actor snapshotting every X message.
...
2. Completed replay of of transaction log on all replicated actors on migration after node crash.
3. Added end to end tests for write behind and write through replication and replay on fail-over.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-07-08 19:35:27 +02:00
Jonas Bonér
0b1ee758f5
1. Implemented replication through transaction log, e.g. logging all messages and replaying them after actor migration
...
2. Added first replication test (out of many)
3. Improved ScalaDoc
4. Enhanced the remote protocol with replication info
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-07-08 08:28:13 +02:00
Viktor Klang
e09a1d6a0f
Seems to be no idea to reinitialize the FJTask
2011-07-06 18:05:14 +02:00
Viktor Klang
9e4017be95
Adding guards in FJDispatcher so that multiple FJDispatchers do not interact badly with one and another
2011-07-06 14:52:17 +02:00
Jonas Bonér
6117e599d6
Added more info about how to create tickets in assembla
2011-07-06 11:17:56 +02:00
Jonas Bonér
01be882388
Removed unnecessary check in ActorRegistry
2011-07-06 10:39:04 +02:00
Jonas Bonér
1dbcdb0fd7
Merge branch 'master' of github.com:jboner/akka
2011-07-06 09:16:17 +02:00
Jonas Bonér
c95e0e6b6a
Ensured that if an actor of the same logical address already exists in the registry then just return that, if not create a new one.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-07-06 09:15:59 +02:00
Jonas Bonér
20abaaa0e4
Changed semantics for 'Actor.actorOf' to be the same locally as on cluster: If an actor of the same logical address already exists in the registry then just return that, if not create a new one.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-07-06 09:11:13 +02:00
Jonas Bonér
1b336ab5a2
Added some Thread.sleep in the tests for the async TransactionLog API.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-07-05 19:04:50 +02:00
Jonas Bonér
95dbd425c4
1. Fixed problems with actor fail-over migration.
...
2. Readded the tests for explicit and automatic migration
3. Fixed timeout issue in FutureSpec
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-07-05 18:44:10 +02: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