Commit graph

100 commits

Author SHA1 Message Date
Björn Antonsson
00a268b6b3 =pro #3753 Override dependency versions from command line 2013-12-03 16:47:10 +01:00
Viktor Klang
4769a44875 +doc #3656 correcting the TypedActor documentation 2013-11-05 15:31:24 +01:00
Björn Antonsson
b7ded6dc29 Merge pull request #1811 from benmccann/depreceated-spelling
=doc Fix spelling. Change depreceated to derecated
2013-10-25 08:46:53 -07:00
Ben McCann
38fb1b3640 =doc Fix spelling. Change depreceated to deprecated 2013-10-25 08:36:36 -07:00
Patrik Nordwall
51b9e78240 !con #3679 Make protobuf serialization for DistributedPubSubMediator 2013-10-21 18:39:23 +02:00
Patrik Nordwall
11972b4497 +con #3677 Limit delta in DistributedPubSubMediator 2013-10-21 12:02:48 +02:00
Patrik Nordwall
73d3430024 +con #3669 Possibility to define routing logic in DistributedPubSub
* Serialization check in contrib
2013-10-17 12:17:45 +02:00
Patrik Nordwall
d5b25cbbc6 !act #3583 Timer based auto-down
* Replace (deprecate) akka.cluster.auto-down config setting with
  akka.cluster.auto-down-unreachable-after
* AutoDown actor that keeps track of unreachable members
  and performs down from the leader node when they have been
  unreachable for the specified duration
* Migration guide
2013-09-27 14:32:03 +02:00
Patrik Nordwall
c55189f615 Merge pull request #1719 from akka/wip-3597-cluster-singleton-hand-over-patriknw
!con #3597 Remove hand over data message in cluster singleton
2013-09-25 02:54:06 -07:00
Patrik Nordwall
debc0ea5f7 =con #3616 Fix failing ClusterClientSpec
* client connected to fourth node, but the replication check didn't
  include that node
2013-09-17 14:52:33 +02:00
Patrik Nordwall
bc55cac899 +con #3595 Use remote death watch in cluster client 2013-09-13 13:19:48 +02:00
Patrik Nordwall
bb25f7dd94 Merge pull request #1714 from akka/wip-3551-buffer-cluster-client-patriknw
+con #3551 Buffer messages in cluster client
2013-09-13 03:49:04 -07:00
Akara Sucharitakul
c6c632176b +con #3578 Aggregator contribution
(cherry picked from commit ea3d9fd8a188bc5534f31ca0ba57751d01be3b66)
2013-09-12 13:31:20 +02:00
Patrik Nordwall
23f933afe3 !con #3597 Remove hand over data message in cluster singleton 2013-09-10 13:35:51 +02:00
Patrik Nordwall
09e3953c9f +con #3551 Buffer messages in cluster client
* Stash when establishing connection to receptionist
2013-09-10 07:52:46 +02:00
Endre Sándor Varga
b566e9393d =act, rem, clu #3521: make serialize-messages work with core modules 2013-08-27 11:05:54 +02:00
Taylor Leese
a27cf16ed8 Merge branch 'master' into more_cluster_client_docs 2013-08-21 04:37:35 -07:00
Taylor Leese
47f33c9294 Add a few more details to the cluster client docs. 2013-08-20 03:09:59 -07:00
Björn Antonsson
4a2b6effb3 =pro #3552 Upgrade ScalaTest to 1.9.2-SNAP2 for dbuild
* This can't go into 2.2.x since ScalaTest 1.9.2-SNAP2 has source incompatible changes and the dependecy in akka-multi-node-node-testkit would force people to upgrade.
2013-08-19 15:08:29 +02:00
Patrik Nordwall
6460d764a1 Make Throttler usable from Java, see #3223 2013-07-05 10:52:34 +02:00
Roland
f317aaf711 rewrite mailbox selection logic, see #3342
- add “mailbox-requirement” key to dispatcher section
- split out mailbox section, add akka.actor.default-mailbox
- rewrite findMarker method and use it for Props.create() and getting
  the required mailbox of an actor
- add ProducesMessageQueue trait for MailboxType so that requirements
  can be checked before trying to create the actor for real
- verify actor as well as dispatcher requirements for message queue
  before creation, even in remote-deployed case
- change MessageDispatcher constructor to take a Configurator, add that
  to migration guide
2013-06-02 12:32:04 +02:00
Patrik Nordwall
95366cb585 Wrap long lines, for pdf 2013-05-30 14:45:15 +02:00
Patrik Nordwall
146e2c0719 Fix exiting ordering problem in ClusterSingletonManager, see #3408
* The problem was:
  - first is leaving, second is new oldest
  - two actors subscribe to cluster events, OldestChangedBuffer and ClusterSingletonManager
  - ClusterSingletonManager receives MemberExited(first), and then also MemberRemoved(second)
    before OldestChangedBuffer receives MemberExited(first) and delivers
    OldestChanged(first->second)
  - MemberRemoved(second) is the result of the cluster extension shutdown
  - because ClusterSingletonManager gets the MemberRemoved(second) before the OldestChanged
    it will not send the hand over data to second
  - second becomes new singleton after retry period, as designed, but without hand over data
 * The solution is to check the selfExited flag in Oldest state, similar to what is done
   in WasOldest
 * I considered the alternative to tunnel all member events through same subscriber,
   but that would involve more changes to the code
2013-05-29 09:11:43 +02:00
Patrik Nordwall
933c067a88 Merge pull request #1491 from akka/wip-3272-must-should-patriknw
Remove redundant should/must in tests, see #3272
2013-05-28 07:17:43 -07:00
Patrik Nordwall
53728312e9 Remove redundant should/must in tests, see #3272 2013-05-28 12:16:31 +02:00
Patrik Nordwall
196a141976 FIXME in cluster, see #3192 2013-05-28 09:02:03 +02:00
Patrik Nordwall
e02188d634 Merge pull request #1479 from akka/wip-3382-ClusterSingletonManagerSpec-patriknw
ClusterSingletonManagerSpec must not use 'node' from other thread, see #3382
2013-05-27 00:14:46 -07:00
Patrik Nordwall
3736efb79a Merge pull request #1472 from akka/wip-3225-cluster-infolog-patriknw
Config of cluster info logging, see #3225
2013-05-27 00:13:08 -07:00
Patrik Nordwall
716893263a ClusterSingletonManagerSpec must not use 'node' from other thread, see #3382
* Thank you @rkuhn for finding the reason for the problem
* Sprinkled some warnings
2013-05-24 14:43:06 +02:00
Patrik Nordwall
18a3b3facf Config of cluster info logging, see #3225 2013-05-23 13:36:35 +02:00
Patrik Nordwall
ee6e80d31a Add previousStatus in MemberRemoved, see #3252 2013-05-23 11:09:32 +02:00
Jonas Boner
5d524872c7 Minor fixes after review. 2013-05-21 09:05:40 +02:00
Jonas Boner
33407e39de Added optional property (skipSenderNode) to PubSub.SendToAll
if the message should be sent to a matching path on the sender node or not.

Added optional property (skipSenderNode) to PubSub.SendToAll.
Deciding if the SendToAll message should be sent to a matching path on the sender cluster node or not. + Test and Docs.
2013-05-20 13:45:13 +02:00
Patrik Nordwall
8f04b53ac7 Merge pull request #1443 from akka/wip-3359-auto-join-patriknw
Remove auto-join config, derive from seed-nodes, see #3359
2013-05-17 04:57:07 -07:00
Patrik Nordwall
ad1eaa6d4a Remove auto-join config, derive from seed-nodes, see #3359 2013-05-17 13:54:51 +02:00
Patrik Nordwall
a0a0f39613 Hardening of cluster member leaving path, see #3309
* Removed leader commands for Shutdown and Exit
* Member shutdown itself  when it sees itself as Exiting
* Singleton cluster with status Exiting will shutdown itself,
  in case the Exiting gossip never arrives
* Exiting member not part convergence check
* Exiting member is removed by leader (on convergence) when the
  exiting member is in the unreachable set, i.e. sucessfully shutdown
* Reverted the change made for #3266, i.e. Exiting is
  detected as unreachable again.
* Adjust ClusterSingletonManager to new Exiting behaviour
* Fix bug in HeartbeatSender, which caused it to continue to
  send heartbeats to removed nodes, instead of rebalancing
* Refactoring of leaderActions method
* Leaving section in docs
2013-05-17 11:39:49 +02:00
Björn Antonsson
e00ab533bb Wait on shutdown of extra actor systems in tests. See #3217 2013-05-07 11:02:03 +02:00
Patrik Nordwall
b8b65c9153 Cluster member age, and usage in singleton, see #3195
* Assign internal upNumber when member is moved to Up
* Public API Member.isOlder
* Change cluster singleton to use oldest member instead of leader
* Update samples and docs
2013-05-03 13:38:35 +02:00
drexin
b9d1e000d3 fixed indentation 2013-05-02 21:36:36 +02:00
drexin
308428e7bc removed calls to deprecated Props constructor in java code 2013-05-02 17:00:44 +02:00
Dario Rexin
3ffabf00ec removed some deprecation warnings from akka-contrib 2013-04-26 20:44:07 +02:00
Patrik Nordwall
19283207ff Additional coordination of shutdown in ClusterDeathWatchSpec, see #3255
* Added testconductor shutdown of actor system
* Renamed previous shutdown to exit
2013-04-24 11:58:07 +02:00
Patrik Nordwall
7634964b96 API adjustments to ClusterClient, see #3264
* Message wrappers in ClusterClient, so that DistributedPubSubMediator
  is not leaking to the client api
* Register methods in ClusterReceptionistExtension, for convenience and
  clarity
2013-04-22 13:03:29 +02:00
drewhk
98d4bcc9dd Merge pull request #1338 from drewhk/wip-1478-sysmsg-guaranteed-delivery-drewhk
Guaranteed delivery of system messages (and now praying...)
2013-04-18 12:38:28 -07:00
Patrik Nordwall
4293bd7a2d Factory methods for Props
* cleanup of deprecated usage of Props in cluster sample
2013-04-18 16:41:05 +02:00
Endre Sándor Varga
2b0a27be9e Added acknowledged delivery of system messages 2013-04-18 16:10:20 +02:00
Roland Kuhn
57d71b0b44 Merge pull request #1336 from akka/wip-3081-PropsClosures-∂π
deprecate closure-taking Props factories, see #3081
2013-04-16 03:49:49 -07:00
Roland
28aad82b1a deprecate closure-taking Props factories, see #3081
- base Props on Deploy, Class and Seq[Any] (i.e. constructor args)
- remove deprecated Props usage from akka-docs sample code
- rewrite UntypedActorDocTestBase
- rewrite Java/Scala doc section on actor creation
- add migration guide entry
2013-04-16 12:48:31 +02:00
Patrik Nordwall
089b25b3d4 Cluster client and receptionist, see #1165 2013-04-14 22:30:09 +02:00
Patrik Nordwall
1d1a6383df Distributed pub-sub in cluster, see #3203 2013-04-14 19:58:12 +02:00