Commit graph

308 commits

Author SHA1 Message Date
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
Roland
42769599aa Merge branch 'ticket955'
Conflicts:
	akka-actor-tests/src/test/scala/akka/actor/supervisor/Ticket669Spec.scala
	akka-actor-tests/src/test/scala/akka/routing/RoutingSpec.scala
	akka-camel/src/test/scala/akka/camel/ConsumerScalaTest.scala
2011-07-19 16:56:44 -04:00
Viktor Klang
3bc7db0dde Closing ticket #1030, removing lots of warnings 2011-07-19 19:28:46 +02:00
Viktor Klang
bb558c03f4 Switching to Serializer.Identifier for storing within ZK 2011-07-19 17:17:04 +02:00
Peter Veentjer
4017a86b4c 1025: some cleanup 2011-07-15 10:59:29 +03:00
Peter Veentjer
966f7d9297 ticket 1025 2011-07-15 09:55:45 +03:00
Viktor Klang
9d71be7778 Updating copyright section to Typesafe Inc. etc 2011-07-14 16:03:08 +02:00
Peter Veentjer
8472df3a47 Fixes some MBean compliance issues 2011-07-13 19:22:49 +03:00
Peter Veentjer
d14f2f6e50 Issue 990: MBean for Cluster improvement 2011-07-13 11:27:16 +03:00