Andrei Pozolotin
18dfd39686
+per #15587 Make it possible to use multiple persistence plugins
2015-02-19 21:25:52 -06:00
Roland Kuhn
a15ad56f45
Merge pull request #16789 from reactific/master
...
=act #16745 Improve error logging in akka.io.SelectionHandler
2015-02-07 10:08:56 +01:00
Roland Kuhn
f632183df5
Merge pull request #16788 from alejandrolujan/16757-messages-to-user-should-be-unhandled-alejandrolujan
...
=act #16757 Remove handling of default messages on guardians
2015-02-07 09:31:00 +01:00
Roland Kuhn
5e1fd1db6c
Merge pull request #16763 from akka/wip-cleanup-actor-∂π
...
fix all non-deprecation warnings
2015-02-06 20:54:12 +01:00
Reid Spencer
34499e122d
=act #16745 Improve error logging in akka.io.SelectionHandler
...
When a java.net.BindException occurs, it produces an exception with a cause and
message that is "null" because it's cause returns no message. This notably occurs
when a java.net.BindException occurs during construction of a TCP selector. This
patch causes a log message like this:
java.net.BindException: Can't assign requested address
instead of like this:
null
which is quite a bit more helpful when diagnosing connection issues.
2015-02-06 13:31:43 -05:00
Alejandro Lujan
455f44d813
=act #16757 Remove handling of default messages on guardians
...
Guardians are now consistent with other actors in that they
do not handle messages they can't act upon. Instead of handling
messages and forwarding them to Dead Letters, guardians now
simply ignore these messages.
2015-02-06 12:51:38 -05:00
Roland Kuhn
a029a90502
fix warnings in contrib, docs, osgi, persistence and slf4j
2015-02-06 18:45:58 +01:00
Patrik Nordwall
1943d08c26
Merge pull request #16532 from akka/wip-16187-persistence-bug-patriknw
...
=per #16187 PersistenceFailure after persistAsync failure
2015-02-06 15:36:37 +01:00
Patrik Nordwall
9b5a446a4a
=per #15942 Support resume after recovery failure
...
* also improved fault handling in various places (bugs found)
* and manually triggered Update must be distinguished from scheduled
auto updates, otherwise manual Update will schedule extra auto updates
2015-02-06 10:29:07 +01:00
Patrik Nordwall
72d54626f3
=per #15943 Avoid initite restart loop when recovery fails
...
* also include the failing message and sequenceNr in the RecoveryFailure
message
* remove the "putting back" the message first in the mailbox
2015-02-06 10:29:07 +01:00
Patrik Nordwall
da7991a3d5
=per #16187 PersistenceFailure after persistAsync failure
...
* this was fixed by the refactoring in 15423
2015-02-06 10:29:07 +01:00
Patrik Nordwall
f0818882a3
Merge pull request #16766 from akka/wip-15439-SurviveNetworkInstabilitySpec-master-patriknw
...
=clu #13875 Exclude unreachability observations from downed
2015-02-06 10:20:21 +01:00
Patrik Nordwall
71ccb4c21b
=clu #13875 Exclude unreachability observations from downed
...
* Skip observations from downed node (quarantined is marked down immediately)
in convergence check
* Skip observations from downed node when picking "reachable" targets for gossip.
* This also means that we must accept gossip with own node marked as unreachable,
but that should not be spread to the external membership events.
2015-02-06 10:19:48 +01:00
Roland Kuhn
cb49b59935
Merge pull request #16771 from dwijnand/fix-code-example-in-testkit
...
Fix code example in TestKit docs.
2015-02-06 10:19:43 +01:00
Björn Antonsson
a5973d796d
Merge pull request #16768 from akka/wip-16764-incomplete-sample-file-breaks-build-ban
...
=sam #16764 Incomplete sample project breaks samples build and IDEA import
2015-02-03 13:45:30 +01:00
Dale Wijnand
abdb9e1f2d
Fix code example in TestKit docs.
2015-02-03 11:40:46 +00:00
Björn Antonsson
6aeb47ab70
=sam #16764 Incomplete sample project breaks samples build and IDEA import
2015-02-02 12:04:23 +01:00
Roland Kuhn
82b8238a9c
fix warnings in remote and cluster
2015-01-30 19:02:18 +01:00
Roland Kuhn
15ebe8f082
fix warnings in akka-actor-tests
2015-01-30 19:02:12 +01:00
Patrik Nordwall
8e6d81242f
=clu #15439 Harden SurviveNetworkInstabilitySpec
...
* The problem was that the sys msg buffer was filled up during
the deploy phase and triggered quarantine too early and therefore
the "hello" reply was lost. The "hello" ping-pong was not good
enough for deploying one-by-one.
(cherry picked from commit f729afe1fa5401e562655e5a0aaab3f9789e4df6)
Conflicts:
akka-cluster/src/multi-jvm/scala/akka/cluster/SurviveNetworkInstabilitySpec.scala
2015-01-30 11:47:18 +01:00
Roland Kuhn
613f63b526
fix warnings in actor and testkit
2015-01-30 11:33:33 +01:00
Patrik Nordwall
953a316563
Merge pull request #16748 from hepin1989/fix-16667-master
...
=clu #16667 fix Inconsistent message order in ClusterMessageSerializer &...
2015-01-30 09:11:12 +01:00
Roland Kuhn
7083eb46c8
Merge pull request #16665 from akka/wip-akka-typed-∂π
...
add akka-typed project with generic ActorRef
2015-01-29 14:06:21 +01:00
Roland Kuhn
d9efd041f7
add akka-typed project with generic ActorRef
...
This is the first step towards more type-safety in Actor interactions,
comprising:
* generic ActorRef[T] that only accepts T messages
* generic ActorSystem[T] extends ActorRef[T] (sending to the guardian,
whose Props[T] are provided for ActorSystem construction)
* removed the Actor trait: everything in there has been made into
messages and signals
* new Behavior[T] abstraction that consumes messages (of type T) or
Signals (lifecycle hooks, Terminated, ReceiveTimeout, Failed),
producing the next Behavior[T] as the result each time
* the ask pattern is provided and yields properly typed Futures
* variants of ActorContext are provided for synchronous testing of
Behaviors
All of this is implemented without touching code outside akka-typed
(apart from making guardianProps configurable), creating wrapper objects
around ActorRef, ActorContext, ActorSystem, Props and providing an Actor
implementation that just runs a Behavior.
2015-01-29 11:42:28 +01:00
hepin
8554b8a5ab
=clu #16667 fix Inconsistent message order in ClusterMessageSerializer & MessageSerializer
2015-01-29 18:05:07 +08:00
Roland Kuhn
50d1569f37
Merge pull request #16634 from dimbleby/stable-priority-mailbox
...
Introduce stable priority mailboxes.
2015-01-28 15:10:24 +01:00
dch
8df81e6b72
Introduce stable priority mailboxes.
...
Similar to existing priority mailboxes, but these preserve FIFO ordering
for messages of equal priority.
2015-01-28 11:20:59 +00:00
Patrik Nordwall
0cea1a47ae
Merge pull request #16731 from akka/wip-16653-netcat-TcpNoDelay-master-patriknw
...
=act #16653 swallow exception from setTcpNoDelay (for validation)
2015-01-28 11:08:47 +01:00
Patrik Nordwall
83d75528ee
=act #16653 swallow exception from setTcpNoDelay
...
* some versions of netcat (`nc -z`) doesn't allow setTcpNoDelay
(cherry picked from commit c4ca93eec652c31f48b7203999dc8b27c3ebc70a)
Conflicts:
akka-actor/src/main/scala/akka/io/TcpConnection.scala
2015-01-28 09:30:20 +01:00
Patrik Nordwall
73e315f8df
Merge pull request #16711 from carrot-garden/persistence-protocol-traits-2
...
+ akka-persistence: add internal message protocol traits
2015-01-28 09:03:45 +01:00
Roland Kuhn
3fac74b81e
Merge pull request #16662 from akka/wip-15865-getMDC-∂π
...
=act #15865 add LogEvent.getMDC Java API
2015-01-28 08:09:04 +01:00
Roland Kuhn
186a02f806
fix up java8 ActorDocTest compilation
2015-01-28 07:46:33 +01:00
Roland Kuhn
ed71c37318
Merge pull request #16668 from meln1k/wip-16614-include-best-practice-tip-on-messages-in-companion-object-in-docs-meln1k
...
=doc #16614 Include best-practice tip on messages in companion object in docs
2015-01-27 18:38:52 +01:00
Roland Kuhn
168cc74e8a
=act #15865 add LogEvent.getMDC Java API
2015-01-27 18:34:07 +01:00
Andrei Pozolotin
98ac9f7020
+ akka-persistence: add internal message protocol traits
...
2 more snapshot messages used for internal plugin acknowledgement in
https://github.com/akka/akka/blob/master/akka-persistence/src/main/scala/akka/persistence/snapshot/SnapshotStore.scala
* see #16612
* see #16633
2015-01-27 10:04:11 -06:00
Roland Kuhn
9463c9ff6c
Merge branch 'tmp'
2015-01-27 16:26:04 +01:00
Roland Kuhn
a18c1bbafb
fix up wrong includecode comments in FaultHandlingDocSpec
2015-01-27 16:25:13 +01:00
Konrad Malawski
47d429adce
Merge pull request #16707 from meln1k/wip-16706-wrong-reference–in-logging-docs-meln1k
...
=doc #16706 fixed wrong link and minor style fixes
2015-01-26 14:28:29 +01:00
Konrad Malawski
385373f23e
Merge pull request #16705 from 2m/wip-samples-pr-validation
...
=pro #16704 add validatePullRequest task to samples
2015-01-26 14:28:08 +01:00
Nikita Melkozerov
a8632befc6
=doc #16614 Include best-practice tip on messages in companion object in docs
2015-01-23 22:40:55 +05:00
Patrik Nordwall
4437f775e5
Merge pull request #16679 from akka/wip-dry_run-patriknw
...
=pro unset dry_run flag
2015-01-23 12:12:47 +01:00
Martynas Mickevičius
d29c978871
=pro #16704 add validatePullRequest task to samples
...
* move validatePullRequest to separate autoplugin
* move MiMa settings to separate autoplugin
2015-01-22 20:26:34 +02:00
Nikita Melkozerov
d461675e6a
=doc #16706 fixed wrong link and minor style fixes
2015-01-22 23:15:44 +05:00
Patrik Nordwall
0c42971758
Merge pull request #16700 from akka/wip-16684-scala-2.11.5-samples-patriknw
...
=sam #16684 Change to scala 2.11.5 in samples
2015-01-22 16:10:06 +01:00
Patrik Nordwall
83e7e716ba
=sam #16703 temp remove osgiDiningHakkersSampleMavenTest from samples aggregate
2015-01-22 14:23:35 +01:00
Patrik Nordwall
08ffba6246
=sam #16684 Change to scala 2.11.5 in samples
2015-01-22 14:13:55 +01:00
Martynas Mickevičius
0b50d650f1
Merge pull request #16678 from etaty/patch-2
...
=doc s/will always by/will always be/
2015-01-21 12:28:27 +01:00
Valerian
5a9f623cb6
=doc s/will always by/will always be/
2015-01-20 16:47:51 +01:00
Patrik Nordwall
7e2dfebf51
Merge pull request #16475 from carrot-garden/cluster-metrics-module
...
+ akka-cluster-metrics: new akka module
2015-01-20 09:36:23 +01:00
Andrei Pozolotin
7b9f77a073
+ akka-cluster-metrics: new akka module
...
* new akka module split from akka-cluster
* provide sigar provisioning
* fix ewma usage
* resolve #16121
* see #16354
2015-01-19 10:23:54 -06:00