Commit graph

116 commits

Author SHA1 Message Date
Peter Vlugter
7b8a865c00 Rename address to name or path where appropriate
- TypedActor: address -> name
- TestActorRef, TestFSMRef: address -> name
- Props.randomAddress -> randomName
- Remote protocol: address -> name
- Address.validate moved to ActorPath
2011-11-10 12:19:07 +01:00
Viktor Klang
3021baa3e4 Fixing the BuilderParents generated by protobuf with FQN and fixing @returns => @return 2011-11-08 19:10:07 +01:00
Viktor Klang
1b730b5c82 Removing Channel(s), tryTell etc, everything compiles but all tests are semibroken 2011-10-31 16:09:51 +01:00
Jonas Bonér
303d34692d Merge branch 'master' of github.com:jboner/akka
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-20 15:11:34 +02:00
Jonas Bonér
c8215dfd54 Added Gossip messages and management to remote protocol. Various refactorings and improvements of remoting layer.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-19 14:45:24 +02:00
Viktor Klang
01efcd7b50 Removing ActorCell.ref (use ActorCell.self instead), introducing Props.randomAddress which will use the toString of the uuid of the actor ref as address, bypassing deployer for actors with 'randomAddress' since it isn't possible to know what the address will be anyway, removing Address.validate since it serves no useful purpose, removing guard.withGuard in MessageDispatcher in favor of the less costly lock try-finally unlock strategy 2011-10-18 19:14:42 +02:00
Viktor Klang
474787a81d Renaming createActor to actorOf 2011-10-18 17:56:23 +02:00
Viktor Klang
54338b5227 Adding EventBus API and changing the signature of DeathWatch to use the new EventBus API, adding some rudimentary test fixtures to EventBus 2011-10-11 17:41:25 +02:00
Viktor Klang
69768dbc96 Removing the old Supervision-DSL and replacing it with a temporary one 2011-09-30 14:52:07 +02:00
Viktor Klang
a12ee36151 Merge commit 2011-09-29 13:11:35 +02:00
Jonas Bonér
0957e41d19 Renamed 'replication-factor' config element to 'nr-of-instances' and 'ReplicationFactor' case class to 'NrOfInstances'.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-09-28 19:42:12 +02:00
Viktor Klang
a6f53d8605 Major rework of supervision and death watch, still not fully functioning 2011-09-28 14:19:59 +02:00
Jonas Bonér
00d3b87586 Merge branch 'remote-actorref-provider'
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-09-22 04:38:33 +02:00
Jonas Bonér
af49b99d6f Completed RemoteActorRefProvider and parsing/management of 'remote' section akka.conf, now does provisioning and local instantiation of remote actor on its home node. Also changed command line option 'akka.cluster.port' to 'akka.remote.port'.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-09-22 03:36:59 +02:00
Jonas Bonér
7bc698f864 Moved remote-centric config sections out of 'cluster' to 'remote'. Minor renames and refactorings.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-09-20 16:30:21 +02:00
Jonas Bonér
cd4a3c3a1a Added RemoteActorRefProvider which deploys and instantiates actor on a remote host.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-09-15 10:20:33 +02:00
Viktor Klang
4a0358ad7d Removing LifeCycle from Props, it's now a part of AllForOnePermanent, OneForOnePermanent etc 2011-09-14 18:01:43 +02:00
Viktor Klang
8a7eacb3c6 Merge with master 2011-09-09 12:00:19 +02:00
Jonas Bonér
1663bf4ac1 Rewrote and abstracted remote failure detection and added BannagePeriodFailureDetector.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-09-08 19:48:11 +02:00
Viktor Klang
bbb79d8e0d Start removed but cluster is broken 2011-09-08 11:02:17 +02:00
Jonas Bonér
bf7ef7234a Refactored and renamed API for FailureDetector.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-09-01 14:58:18 +02:00
Jonas Bonér
4fe4218855 Merged the ClusterProtocol with the RemoteProtocol.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-31 16:00:46 +02:00
Jonas Bonér
0a63350452 Added configuration for failure detection; both via akka.conf and via Deploy(..).
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-31 15:07:18 +02:00
Jonas Bonér
8a55fc93d4 Fixed typos in Cluster API.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-31 11:59:44 +02:00
Jonas Bonér
e0385e5203 Added failure detection to clustered and local routing.
Still not turned on since need deployment config support first.
Also refactored current routing quite a lot.

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-30 14:31:59 +02:00
Jonas Bonér
0e063f0a1d Converted tabs to spaces.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-29 15:16:04 +02:00
Jonas Bonér
5e290ec393 Merge branch 'master' of github.com:jboner/akka
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-29 14:26:24 +02:00
Jonas Bonér
66f339e202 Moved all 'akka.remote' to 'akka.cluster', no more 'remote' package.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-29 11:44:33 +02:00
Peter Veentjer
650e78b2f7 Merge ClusterActoRef & RoutedActorRef: After merge with master, part 2 2011-08-29 12:07:34 +03:00
Peter Veentjer
56d4fc7d7c Merge ClusterActoRef & RoutedActorRef: After merge with master 2011-08-29 09:22:14 +03:00
Vasil Remeniuk
3cee2fc8ec Internal Metrics API. Fixes #939
* Retreives metrics snapshots of the system the node is running on through JMX monitoring MBeans or Hyperic Sigar (is Sigar library is plugged)
        * Allows to set metrics alteration monitors that are triggered, when specific conditions are satisfied (e.g., not enough memory left on the node)
        * Nodes publish their local metrics to ZNodes
        * In order to maintain good performance, metrics manager internally caches snapshots, and refreshes them from time to time from ZooKeeper
2011-08-28 16:07:19 +03:00
Peter Veentjer
ee4d241ceb Use RoutedProps to configure Routing (local and remote). Ticket #1060 2011-08-27 08:10:25 +03:00
Viktor Klang
c7d58c600b Adding initial support for Props 2011-08-26 17:25:18 +02:00
Jonas Bonér
2646ecd14a Fixed bug in Cluster; registration of actor address per node mapping was done in wrong order and using ephemeral node.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-26 08:23:56 +02:00
Jonas Bonér
f9e82eaee5 Added method to ClusterNode to check if an actor is checked out on a specific (other) node, also added 'start' and 'boot' methods.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-24 21:48:47 +02:00
Jonas Bonér
472b505077 Adding ClusterActorRef to ActorRegistry. Renamed Address to RemoteAddress. Added isShutdown flag to ClusterNode. Fixes #1132.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-24 12:45:32 +02:00
Jonas Bonér
950ad21117 Fixed problem with node and test infrastructure initialization order causing multi-jvm test to fail randomly.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-19 15:10:13 +02:00
Jonas Bonér
ea92c552d3 Fixed broken tests: RoundRobin2Replicas and RoundRobin3Replicas
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-18 17:16:25 +02:00
Jonas Bonér
ea95588a50 Fixed broken tests: NewLeaderChangeListenerMultiJvmSpec and ReplicationTransactionLogWriteThroughNoSnapshotMultiJvmSpec.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-18 15:53:08 +02:00
Jonas Bonér
dfc1a68aac Fixed race condition in initial and dynamic management of node connections in Cluster
* Using CAS optimistic concurrency using versioning to fix initial and dynamic management of node connections in Cluster
* Fixed broken bootstrap of ClusterNode - reorganized booting and removed lazy from some fields
* Removed 'start' and 'isRunning' from Cluster
* Removed 'isStarted' Switch in Cluster which was sprinkled all-over cluster impl
* Added more and better logging
* Moved local Cluster ops from Cluster to LocalCluster
* Rewrote RoundRobinFailoverMultiJvmSpec to be correct
* RoundRobinFailoverMultiJvmSpec now passes
* Minor reformatting and edits

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-18 11:35:14 +02:00
Jonas Bonér
48ee9deb3a Split up the TransactionLogSpec into two tests: AsynchronousTransactionLogSpec and SynchronousTransactionLogSpec, also did various minor edits and comments.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-08-15 10:42:09 +02:00
Peter Veentjer
c8e938a44c ticket #992: misc fixes for transaction log, processed review comments 2011-08-08 20:57:01 +03:00
Peter Veentjer
bd049718be ticket #992: misc fixes for transaction log, processed review comments 2011-08-08 20:40:18 +03:00
Peter Veentjer
32df67cb60 ticket #992 after merge 2011-08-06 23:10:30 +03:00
Peter Veentjer
aaec3aef77 ticket #992 2011-08-06 23:08:01 +03:00
Peter Veentjer
320ee3cb4c ticket #934 2011-08-02 09:52:39 +03:00
Peter Veentjer
4b4f38c973 ticket #889 after merge 2011-07-28 16:56:35 +03:00
Viktor Klang
0351858c9e Lots of code cleanup and bugfixes of Deployment, still not AOT/JIT separation 2011-07-26 17:12:00 +02:00
Peter Vlugter
340ed11de5 Reformat with scalariform 2011-07-26 18:33:59 +12:00
Peter Veentjer
96cc0a00b4 ticket #958 2011-07-26 08:16:26 +03:00