Commit graph

20524 commits

Author SHA1 Message Date
Patrik Nordwall
96b68f6437 rem #19780: Skip acks during connection handoff
* The problem: ACK that was targeted to an old incarnation
  was sent to the new, restarted, system with same host:port, and
  therefore resulting issues noticed as
  "Error encountered while processing system message acknowledgement buffer: [-1 {}] ack: ACK[0, {}]"
  when restarting actor system

* The reason:

  1. The endpoint reader was about to send OutgoingAck to parent reader,
     targeted to the old system.
  2. At the same time there is an incoming connection from new system
     that triggered TakeOver in the endpoint writer, i.e. replacing
     the handle to the connection of the new system.
  3. The OutgoingAck is received by the writer, which happily sends it
     to the new handle, the new system.

* The solution: Ignore OutgoingAck during the handoff (TakeOver) process.
2016-03-21 08:55:19 +01:00
Patrik Nordwall
ed6acd63ec Merge pull request #20036 from akka/wip-19322-bufferWasInUse-patriknw
=rem #19322 reset bufferWasInUse
2016-03-21 08:50:05 +01:00
Paolo Rascuna
c61eb62395 #tweet-source now is bound to the actual impl 2016-03-20 22:43:19 +00:00
prascuna
063f37d957 Fix type of tweets Source
#authors-filter-map won't compile otherwise
2016-03-20 17:15:26 +00:00
Konrad Malawski
15bd45a004 =htc make ws.Message toString reprs consistent 2016-03-20 02:37:31 +01:00
Konrad Malawski
542b259630 +htc #20086 make ws.*Message.Streamed not private
In order to allow matching on it.
2016-03-20 01:44:19 +01:00
Samuel Tardieu
8d6dcb8b6d =act #19901 Include actor path in ActorInitializationException message 2016-03-19 16:25:40 +01:00
Konrad Malawski
2946f6494a Merge pull request #20078 from samueltardieu/authenticator-async
Fix documented type in authenticateOAuth2Async
2016-03-19 14:30:36 +01:00
qian miao
d6b7f8e90f fix ABNQ nepotism 2016-03-19 09:22:53 +08:00
Samuel Tardieu
d25eab075f =doc Fix documented type in authenticateOAuth2Async
Fix #20077.
2016-03-18 21:51:46 +01:00
Tapio Rautonen
1bcc1310d2 Replaced PushStage based Take with GraphStage #19834
Changes suggested by @viktorklang

Added take to binary compatibility exclude

Cleanup
2016-03-18 21:35:05 +02:00
Konrad Malawski
f9c92a5f9a Merge pull request #20075 from akka/wip-typo2-patriknw
fix the the typo
2016-03-18 18:58:19 +01:00
Konrad Malawski
0c4c5a5909 Merge pull request #20043 from wlk/issue-18500-fix-scaladoc-warnings
=doc fix scaladoc warnings #18500
2016-03-18 17:42:49 +01:00
Patrik Nordwall
137c4c8b3d fix the the typo 2016-03-18 17:06:34 +01:00
Konrad Malawski
53a877d76d Merge pull request #20072 from johanandren/wip-20049-outputstream-source-leaks-threads-johanandren
str #20049 OutputStreamSource thread leak fixed
2016-03-18 16:25:53 +01:00
Johan Andrén
ed739ad970 str #20049 OutputStreamSource thread leak fixed 2016-03-18 15:32:25 +01:00
Patrik Nordwall
fe4f63bc74 Merge pull request #19850 from MQ-EL/fix-#19828-persistAsync-bug
=per #19828 pop the internal stash when the writing was finished in t…
2016-03-18 11:36:00 +01:00
qian miao
aa8742738c =per #19828 pop the internal stash when the writing was finished in the processing commands state 2016-03-18 12:27:02 +08:00
Roland Kuhn
a2c46999a8 Merge pull request #20067 from akka/wip-big-graph-tests-RK
add tests for large flows
2016-03-17 14:16:55 +01:00
Roland Kuhn
e4c5bee675 Merge pull request #19889 from akka/wip-19877-Source.queue-termination-RK
add Source.queue termination support, fixes #19877
2016-03-17 14:16:28 +01:00
Patrik Nordwall
43000c6569 Merge pull request #19897 from Adebski/Adebski-join-new-incarnation-of-node-if-old-is-leaving-or-exiting
=clu #19859 Relaxed constraints on downing old incarnation of rejoining node
2016-03-17 13:13:27 +01:00
Roland Kuhn
af310411fd add Source.queue termination support, fixes #19877 2016-03-17 12:47:06 +01:00
Roland Kuhn
aeb990deb2 add tests for large flows 2016-03-17 12:45:12 +01:00
Roland Kuhn
4ff237667c Merge pull request #20054 from akka/wip-15947-ActorCell.init-failure-RK
catch ActorCell creation failures for top-level actors #15947
2016-03-17 11:05:14 +01:00
Roland Kuhn
7cf99134dc catch ActorCell creation failures for top-level actors #15947
Previously a failure during e.g. MailboxType.create() would make the
user guardian fail, tearing down the whole system as a result. The cause
is a deep bug in handling ActorCell creation that we cannot really fix
anymore due to resulting changes in semantics, hence this fix only
targets top-level actors (where the observable difference is an
unambiguous improvement).

fixes #15947
2016-03-17 11:04:52 +01:00
Konrad Malawski
f679c9f0b1 Merge pull request #20010 from ktoso/wip-authorizeAsync-ktoso
+htp #20002 add authorizeAsync
2016-03-17 10:57:18 +01:00
Roland Kuhn
2bc2dcb14a Merge pull request #20034 from akka/wip-19949-ANQ.count-loop-RK
fix endless loop race condition in NodeQueue, #19949
2016-03-17 10:54:03 +01:00
Roland Kuhn
9125ca2663 Merge pull request #20016 from akka/wip-fix-matVal-graph-RK
simplify materialized value computation tree, fixes #20015
2016-03-17 10:49:18 +01:00
Roland Kuhn
0d80d094e6 Merge pull request #19938 from akka/wip-remove-1-synchronized-RK
remove one needless synchronized in akka-actor
2016-03-17 10:48:40 +01:00
Johan Andrén
5e5bedb956 =doc #20051 Parallellism docs updated for async and fusing 2016-03-17 09:54:10 +01:00
Konrad Malawski
3b2cb85c04 Merge pull request #19959 from ktoso/wip-end-of-case-ktoso
!htc WIP #19956 removing case classes from HttpMessages
2016-03-17 09:30:27 +01:00
Konrad Malawski
c69efe4dd8 !htc WIP #19956 removing case classes from HttpMessages 2016-03-17 09:29:59 +01:00
Patrik Nordwall
0f5ae47dc4 include cause in remote init failure logging, #20061 2016-03-17 08:29:19 +01:00
Konrad Malawski
2933045156 +htp #20002 add authorizeAsync 2016-03-17 00:58:33 +01:00
Konrad Malawski
b3c691e4a8 Merge pull request #20045 from Falmarri/patch-1
Fix page layout issue on chromium/linux
2016-03-16 21:17:46 +01:00
David Knapp
93df076565 #20044 Fix page layout issue on chromium/linux 2016-03-16 12:45:39 -07:00
Roland Kuhn
f9d3789bfc fix endless loop race condition in NodeQueue, #19949
- also fixed some forgotten copy-pasta between peekNode and pollNode
- also added JavaDoc to all methods, explaining which can be used from
  what thread
- did not fix the JDK8 improvement of using Unsafe instead of inheriting
  from AtomicReference since that inheritance is not a bad thing,
  actually
2016-03-16 20:37:39 +01:00
Guido Medina
fc35e737c9 Allow loggers to use a dedicated dispatcher, fixes #20006 2016-03-16 16:36:40 +00:00
Roland Kuhn
b255a19374 simplify materialized value computation tree, fixes #20015
- also fixes materialized value sources for graphs that import zero or
  one graphs, with and without Fusing
2016-03-16 17:05:46 +01:00
Roland Kuhn
f4e6443f7e remove 1 synchronized from akka.dispatch 2016-03-16 16:39:17 +01:00
Patrik Nordwall
b52c498638 Merge pull request #19912 from 412b/fix-19824-unhandled-failure-in-rarp
#19824 Unhandled akka.actor.Status.Failure in RemoteActorRefProvider in state WaitTransportShutdown
2016-03-16 15:30:56 +01:00
Patrik Nordwall
aed587bc18 Merge pull request #19997 from wlk/wlk-fixing-scaladocs-part1
=doc fixed part of scaladoc warnings
2016-03-16 15:05:36 +01:00
Konrad Malawski
25c2dfe8f1 Merge pull request #20047 from akka/wip-search-general-ktoso
+doc #20046 allow general sections to be searched
2016-03-16 13:30:40 +01:00
Konrad Malawski
034f67acac +doc #20046 allow general sections to be searched
Resolves #20046
2016-03-16 13:30:03 +01:00
Wojciech Langiewicz
2cdf447f6e =doc fix scaladoc warnings #18500 2016-03-16 09:18:39 +01:00
Patrik Nordwall
7a6130f8ea Merge pull request #20037 from akka/wip-19917-patriknw
=cls #19917 Clarify docs about sharding ddata
2016-03-16 09:14:28 +01:00
Patrik Nordwall
43dafff152 =cls #19917 Clarify docs about sharding ddata 2016-03-16 09:13:53 +01:00
Konrad Malawski
65a9e0a0f9 Merge pull request #20041 from akka/wip-20031-FilePublisher-onComplete-RK
fix ActorPublisher state machine, fixes #20031
2016-03-15 20:42:44 +01:00
Patrik Nordwall
7e924a8c75 =rem #19322 reset bufferWasInUse 2016-03-15 18:57:11 +01:00
Konrad Malawski
05e63c347c Merge pull request #20040 from johanandren/wip-20039-incorrect-case-in-FixedBufferSpec-johanandren
=str #20039 incorrect FixedBufferSpec test case fixed
2016-03-15 17:21:54 +01:00