Commit graph

14450 commits

Author SHA1 Message Date
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
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
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