Commit graph

212 commits

Author SHA1 Message Date
Patrik Nordwall
ef03818ab1 =act #19016 use the BackoffSupervisor as sender for parent msg 2015-11-27 09:21:28 +01:00
kukido
7124b5dddf =doc #18899 code review follow-up, fixed typo 2015-11-11 09:26:00 -08:00
kukido
3cc3666724 =doc Fixes for genjavadoc 2015-11-11 00:29:44 -08:00
Henry Mai
a0e9b01aa4 Add TransparentExponentialBackoffSupervisor 2015-11-01 22:25:05 -08:00
Martynas Mickevičius
4ffe267835 =pro verify BC against all binary compatible versions 2015-10-23 09:10:25 +03:00
luben karavelov
3d277fc711 =con bind the contrib tests to random open port 2015-09-14 11:46:21 +02:00
Jeremy.Stone
b884dde6ee =con #17670 Fix potential ReceivePipeline MatchError 2015-08-18 17:55:02 +01:00
Konrad Malawski
c7c89f02ac =con #17414 doc mix-in order for PersistentActor and ReceivePipeline 2015-08-14 14:59:43 +02:00
Patrik Nordwall
b8ef08ae71 Merge pull request #17764 from akka/wip-17501-harden-ReliableProxySpec-patriknw
=con #17501 Increase timeouts in ReliableProxySpec
2015-06-18 11:16:10 +02:00
Patrik Nordwall
6fb74532b6 Merge pull request #17673 from jwcarman/jwcarman-add-osgi-contrib
Adding OSGi metadata to contrib module.
2015-06-18 11:15:03 +02:00
Patrik Nordwall
de5478cb21 =con #17501 Increase timeouts in ReliableProxySpec 2015-06-17 17:27:14 +02:00
Patrik Nordwall
d19f694821 Merge pull request #17490 from akka/wip-17010-logger-mailbox-patriknw
=act #17010 Drain log messages on system shutdown
2015-06-17 16:49:42 +02:00
Patrik Nordwall
156e2a0aea =act #17010 Drain log messages on system shutdown
* by using a special mailbox that emits the remaining log messages
  to the StandardOutLogger
2015-06-17 15:32:30 +02:00
James Carman
b537084de3 Adding OSGi metadata to contrib module. 2015-06-06 09:16:49 -04:00
Martynas Mickevičius
7fc2790458 =pro run multi-jvm tests when validating pr
* addunidoc task via an AutoPlugin that depends on PrValidation and Unidoc autoplugins
* separate cli option logic to a case class
* remove autoplugin for root project
2015-05-28 13:57:50 +03:00
Roland Kuhn
5dc25fbb44 add crosscompilation for 2.12.0-M1 2015-05-21 21:09:30 +02:00
Roland Kuhn
18688fc84b = #17380 fix doc comments for java8 doclint
* actor and cluster-metrics comments
* agent/camel/cluster/osgi/persistence/remote comments
* comments in contrib/persistence-tck/multi-node/typed
2015-05-18 12:51:36 +02:00
Patrik Nordwall
10a11e415e !cls #13711 Move cluster sharding 2015-05-11 20:07:22 +02:00
Patrik Nordwall
fb72214d99 !clt #13711 Move cluster tools from contrib
* new module akka-cluster-tools containing
  cluster singleton, distributed pub-sub, and cluster client
2015-05-11 20:07:21 +02:00
Patrik Nordwall
c991d5f1d1 =str #17200 Stop shard region when MemberRemoved
Two issues:

1) ShardRegion actor must stop itself when the node is shutting down,
   ie. when receiving MemberRemoved(selfAddress)
2) ShardCoordinator must not persist anything when the node is shutting
   down. MemberRemoved of other shard regions will trigger Terminated,
   which must not be persisted, because then the next coordinator will
   replay those events and end up in wrong state. This is a problem
   announced itself when using leaving as illustrated in the new test.

To solve the second issue I have added a new ClusterShuttingDown event
that is published before the MemberRemoved events. Note that Terminated
is triggered by MemberRemoved.

(cherry picked from commit 1b272c72597beece9d93f0054f4b58e3d25f9ae2)
2015-04-22 12:46:30 +02:00
Patrik Nordwall
ca526232e1 =con #17169 Add missing barrier in ReliableProxySpec 2015-04-15 14:17:49 +02:00
Benjamin Poserow
8d6b899be8 +con #16141 Add GetTopics message to DistributedPubSubMediator providing list of topics 2015-04-15 11:29:28 +02:00
Roland Kuhn
2bb208297d Merge pull request #17154 from akka/wip-13869-cluster-singleton-speedup-patriknw
=con #13869 Speedup startup of Cluster singleton
2015-04-14 21:24:45 +02:00
Patrik Nordwall
2ecfa42801 =con #13869 Speedup startup of Cluster singleton
* avoid the hand-over/take-over attempts when starting the
  ClusterSingletonManager for the normal clase when the cluster is
  in a good shape, i.e. no exiting member that might run previous
  singleton instance
2015-04-14 16:21:25 +02:00
Patrik Nordwall
a12bca1b15 =doc Clarify cluster singleton role 2015-04-13 10:07:14 +02:00
Patrik Nordwall
a460a7a8ff =con #15817 add missing cancel of scheduled sharding task 2015-04-01 15:04:39 +02:00
Patrik Nordwall
d79fe79802 Merge pull request #17078 from bantonsson/wip-16946-HTFU-ReliableProxyMultiJvmSpec-ban
=con #16946 Make ReliableProxyMultiJvmSpec not reuse proxy actor name
2015-04-01 14:21:47 +02:00
Björn Antonsson
cdb7eee0c3 =con #16946 Make ReliableProxyMultiJvmSpec not reuse actor name 2015-03-26 12:04:00 +01:00
drewhk
d9db42b757 Merge pull request #16884 from drewhk/wip-16505-forwardport-drewhk
=rem #16505: Do not publish AddressTerminated (missing fwd port)
2015-03-25 14:44:15 +01:00
Endre Sándor Varga
dffd7b0bbd fixed ClusterShardingSpec 2015-03-25 13:09:04 +01:00
Patrik Nordwall
7aa9fe25f2 Merge pull request #17024 from carrot-garden/persistence-leveldb-dependency
!per #15884 Make LevelDB an optional dependency
2015-03-25 09:07:55 +01:00
Andrei Pozolotin
5c5e07ec4e !per #15884 Make LevelDB an optional dependency 2015-03-24 13:58:09 -05:00
Julian Tescher
00f6a58e7c Changes all occurances of Typesafe copyright to extend to 2015 2015-03-10 14:12:19 -07:00
Patrik Nordwall
30df518421 =tes Use ConversionCheckedTripleEquals 2015-03-10 08:17:03 +01:00
Andrei Pozolotin
6332f888ce +all #16632 Make serialization identifiers configurable in reference.conf 2015-03-05 11:55:05 -06:00
Roland Kuhn
a029a90502 fix warnings in contrib, docs, osgi, persistence and slf4j 2015-02-06 18:45:58 +01:00
Katsunori Kanda
55e41d6d56 =doc fix typo 2014-12-15 01:37:57 +09:00
Patrik Nordwall
21fcc28629 =con #16358 Harden ClusterShardingFailureSpec 2014-11-21 11:39:18 +01:00
Andrei Pozolotin
d83acb92c3 = akka-*: full name space for loggers - resolve #16138
reflect logger name changes in the migration guide

fix typo in migration guide

fix typo in migration guide (xml)
2014-11-18 09:17:07 -06:00
Patrik Nordwall
c183989ea2 Merge pull request #16136 from rmarsch/entryRoleOverride-#16123
ClusterSharding: Expanded cluster roles support
2014-11-05 07:31:25 +01:00
rmarsch
aa59bfdcf6 !con #16123 Expand cluster roles support in ClusterSharding
Allow a roleOverride: Option[String] to be used when starting ClusterSharding for a given entry type. This will allow role defined clusters of ClusterSharding for entry types instead of requiring the role configuration to be all or nothing across all entry types.
2014-11-03 11:23:07 -05:00
Patrik Nordwall
ffe2992917 =con #15788 Harden ClusterShardingSpec 2014-11-03 08:09:32 +01:00
Patrik Nordwall
0e3dfde838 =doc Clarify cluster sharding docs 2014-10-31 10:06:51 +01:00
Patrik Nordwall
6a370ead48 =con #15577 Harden ReliableProxyDocSpec
* I couldn't find anything wrong
* Increasing the test timeout, it takes 1.5 s for the reconnects,
  so the previous total of 3 s might not have been enough
  (for that run)
2014-08-29 12:09:41 +02:00
Patrik Nordwall
dd71de5f93 Merge pull request #15734 from akka/wip-harden-ClusterShardingSpec-patriknw
=con Harden ClusterShardingSpec some more
2014-08-28 09:53:51 +02:00
Patrik Nordwall
e5cd47279d =con Harden ClusterShardingSpec some more
* Replace sleep with awaitAssert
* Use separate probes for awaitAssert checks to avoid spill-over
  to the testActor
* Some additional cleanup
* Deliver buffered messages when HostShard is received
  Test failures showed that initial messages could be re-ordered otherwise
2014-08-28 08:32:16 +02:00
Viktor Klang
cd8e97c060 +act - 15757 - Reworks implementation of ActorSystem shutdown
* deprecates awaitTermination, shutdown and isTerminated
  * introduces a terminate-method that returns a Future[Unit]
  * introduces a whenTerminated-method that returns a Future[Unit]
  * simplifies the implementation by removing blocking constructs
  * adds tests for terminate() and whenTerminated
2014-08-25 15:49:28 +02:00
Dominic Black
d4047a2e1f =con #15699 Fix race in Cluster Sharding tests 2014-08-22 14:04:32 +01:00
Dominic Black
af657880e2 !con #15496 Remember entries in cluster sharding
- Move all entry related logic out of the ShardRegion and into a
  new dedicated child `Shard` actor.
- Shard actor persists entry started and passivated messages.
- Non passivated entries get restarted on termination.
- Shard Coordinator restarts shards on other regions upon region failure or handoff
- Ensures shard rebalance restarts shards.
- Shard buffers messages after an EntryStarted is received until state persisted
- Shard buffers messages (still) after a Passivate is received until state persisted
- Shard will retry persisting state until success
- Shard will restart entries automatically (after a backoff) if not passivated and remembering entries
- Added Entry path change to the migration docs
2014-08-19 13:13:20 +01:00
Roland Kuhn
51062ff494 Merge pull request #1869 from ktonga/wip-3737-interceptors-chain-for-receive-ktonga
#3737 Interceptors chain for receive
2014-08-08 09:52:00 +02:00