Commit graph

14462 commits

Author SHA1 Message Date
Patrik Nordwall
125adbff7a Merge pull request #16661 from akka/wip-ConversionCheckedTripleEquals-patriknw
=tes Use ConversionCheckedTripleEquals
2015-03-10 15:58:39 +01:00
Patrik Nordwall
30df518421 =tes Use ConversionCheckedTripleEquals 2015-03-10 08:17:03 +01:00
Roland Kuhn
142d9a51af Merge pull request #17027 from akka/wip-clarify-ActorSelection-∂π
=doc add clarification on ActorSelection vs. ActorRef
2015-03-09 15:11:43 +01:00
Roland Kuhn
7ea8f59527 =doc add clarification on ActorSelection vs. ActorRef 2015-03-09 15:09:56 +01:00
Patrik Nordwall
1313fb736d Merge pull request #17011 from carrot-garden/serialization-identifiers
+all #16632 Make serialization identifiers configurable in reference.con...
2015-03-06 16:08:31 +01:00
Andrei Pozolotin
6332f888ce +all #16632 Make serialization identifiers configurable in reference.conf 2015-03-05 11:55:05 -06:00
Björn Antonsson
c013823a5b Merge pull request #16886 from elegoff/patch-1
Update building-akka.rst
2015-03-05 14:37:12 +01:00
Björn Antonsson
35ce5663c0 Merge pull request #16977 from ruurtjan/master
=doc Fixed links in camel docs
2015-03-05 14:16:40 +01:00
Ruurtjan
dea726049b =doc Fixed links in camel docs 2015-03-05 10:44:13 +01:00
Björn Antonsson
064eea6180 Merge pull request #16690 from kosii/16536-ask-with-actorselection-kosii
=act #16536 actor selection now completes ask
2015-03-04 21:07:20 +01:00
Balázs Kossovics
062fea2096 =act #16536 actor selection now completes ask
To implement the feature VirtualPathContainer.! was overridden to handle
ActorSelectionMessages. In ActorSelectionMessages only SelectChildName
elements are supported to disallow counterintuitive behaviors (like
completing all outstanding ask operations).
2015-03-04 16:38:50 +01:00
Björn Antonsson
8e4f1d966e Merge pull request #16794 from carrot-garden/persistence-multiple-plugins
+per #15587 Make it possible to use multiple persistence plugins
2015-03-04 15:19:43 +01:00
Konrad Malawski
33e83f95c2 Merge pull request #16971 from ktoso/port-missing-java-api-fromints-ktoso
+act adds missing java api for byte string
2015-03-02 10:39:12 +01:00
Konrad Malawski
4da2593de5 +act adds missing java api for byte string 2015-03-02 09:00:33 +01:00
Konrad Malawski
c8795b62fa Merge pull request #16877 from pawelkaczor/master
=doc #16874 clean up `Relationship between deliver and confirmDelivery` section
2015-02-20 09:20:04 +01:00
pkaczor
a6913a9271 =doc #16874 clean up Relationship between deliver and confirmDelivery section 2015-02-20 09:07:43 +01:00
Andrei Pozolotin
18dfd39686 +per #15587 Make it possible to use multiple persistence plugins 2015-02-19 21:25:52 -06:00
Eric Le Goff
b6ff45dd45 Update building-akka.rst
sbt Has moved thus some loink are deprecated
2015-02-17 13:51:57 +01:00
Patrik Nordwall
7a0345ca0e Merge pull request #16864 from jgulotta/master
Fix #16791: calculate scala.* import range with numerical addition instead of string concatenation
2015-02-13 13:54:05 +01:00
Patrik Nordwall
617cd31046 Merge pull request #16792 from akka/wip-16726-down-restarted-patriknw
=clu #16726 Down member automatically when restarted
2015-02-13 09:14:44 +01:00
Patrik Nordwall
37f6a6581c =clu #16726 Down member automatically when restarted
* When new uid is seen in join attempt we can down existing
  member and thereby new restarted node will be able to join
  in later retried join attempt without relying on auto-down.
2015-02-13 09:14:00 +01:00
Jacob Gulotta
c1d3c6476f =pro #16791 Calculate OSGi scala.* version import range correctly 2015-02-11 12:23:57 -08: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