Commit graph

19001 commits

Author SHA1 Message Date
Endre Sándor Varga
da66d3e1cd #20142: Fix implicit sender closure in TcpConnectionsStage 2016-04-11 13:36:04 +02:00
Samuel Tardieu
81579bd403 =htc #20080,#20081,#20082 Simplify pool gateway synch
* Rewrite the pool gateway synchronization

Rewrite the pool gateway synchronization so that:
- The documented race condition in PoolInterfaceActor is gone. No
  PoolInterfaceActor will receive new requests after the gateway
  shutdown has been initiated (fix #20081).
- A gateway created using newHostConnectionPool will no longer
  share its pool with others even when it has been shutdown
  due to idle-timeout and recreated. Also, its original
  materializer will be used to create all the successive
  pools incarnations (fix #20080).
- Collapsing chains of gateways do no longer need to be created.
  The gateways are now only an entrypoint to the pool master
  actor, and this actor is in charge of keeping a cache of
  currently active pools and recreate them from the information
  given by the gateway when needed.

* Add copyright header

* Mark PoolMasterActor as INTERNAL API

* Larger outer timeout

* Define Props in PoolMasterActor object

* Comment INTERNAL API

* Remove unused import
2016-04-08 15:26:42 +02:00
Johan Andrén
a055cc64d4 Merge pull request #20251 from TobiasPfeifer/fix/20250-fix-osgi-dining-hakkers
fix osgi-dining-hakkers sample
2016-04-08 14:27:21 +02:00
Johan Andrén
6b32513e98 doc #20259 Fix broken snippet en streams (#20260) 2016-04-08 11:30:25 +02:00
2beaucoup
78b88c419d =htc #20236 enable streaming responses with Connection: close (#20254) 2016-04-07 19:15:18 +02:00
Johan Andrén
f2536a6121 Merge pull request #20244 from leachbj/19834-identity-finish-reporter
=htc #19834 convert StreamUtils.identityFinishReporter to GraphStage
2016-04-07 18:40:53 +02:00
Patrik Nordwall
790519627b Merge pull request #20240 from akka/wip-20197-FlowLimitSpec-patriknw
increase test timeout in FlowLimitSpec, #20197
2016-04-07 12:01:34 +02:00
Bernard Leach
7d00d4194f =htc #19834 replace StreamUtils.identityFinishReporter with Flow.watchTermination 2016-04-07 08:26:31 +10:00
tpfeifer
c0c1981f30 fix osgi-dining-hakkers sample 2016-04-06 20:35:08 +02:00
Johan Andrén
825f49eae2 Merge pull request #20225 from akka/wip-17037-stash-patriknw
str: Support stash in ActorPublisher, #17037
2016-04-06 18:46:43 +02:00
Bernard Leach
f24b227586 =htc Refactor StreamUtils.identityFinishReporter to Future[Done] 2016-04-06 23:37:01 +10:00
Bernard Leach
174f812e99 Refactor anon GraphStageWithMaterializedValue to object 2016-04-06 23:28:48 +10:00
Bernard Leach
7357571c82 =htc #19834 convert StreamUtils.identityFinishReporter to GraphStage 2016-04-06 20:35:43 +10:00
Mark van der Tol
0a1431e5d3 htc #20228 fix race condition when setting up client https connection 2016-04-06 11:29:52 +02:00
Konrad Malawski
62d8a69fac all #20090 enable running java tests in actor,camel,cluster,persistence 2016-04-06 01:23:21 +02:00
Patrik Nordwall
770c216ceb harden ActorLeakSpec, #20221
* on local it took 8 seconds for the expected

  TimeoutException to occur in the last

  EventFilter[TimeoutException](occurrences = 1).intercept {}

  Therefore I assume that the 10 seconds timeout was too short
2016-04-05 17:37:12 +02:00
drewhk
096218d4ea Merge pull request #20235 from drewhk/wip-20232-groupedWithin-fixes-drewhk
Fix last emit in groupedWithin
2016-04-05 17:24:02 +02:00
Patrik Nordwall
9f659cf9b1 remove JUnitRunner annotation, #16112
* it was used for running tests from inside Eclipse,

  but since it caused some trouble we remove it
2016-04-05 17:06:58 +02:00
Patrik Nordwall
6405991f86 increase test timeout in FlowLimitSpec, #20197
* and a bunch of other 300.ms timeouts
2016-04-05 15:57:49 +02:00
Alan Johnson
b3c85512a3 htp #19678 add variadic concat route combinator
* add variadic route concatenation function

* add `concat` to `~` warning bubble in docs

* fix grammar of warning bubble, and clarify
2016-04-05 15:36:46 +02:00
Endre Sándor Varga
60c8648b59 20232: Fix missing last group in groupedWithin 2016-04-05 15:01:18 +02:00
Bernard Leach
09d5072f2c =htc #16394 Remove StreamUtils.recover, Flow.recover is now available 2016-04-05 14:25:07 +02:00
Patrik Nordwall
fc9c853ade Merge pull request #20227 from akka/wip-17458-pubsub-group-patriknw
clarify pubsub group docs, #17458
2016-04-05 14:21:32 +02:00
Bernard Leach
d9f82d71eb htc #19834 convert streamutils to GraphStages graphstage
* =htc #19834 replace byteStringTransformer with GraphStage implementation

* =htc #19834 replace mapErrorTransformer with GraphStage implementation

* htc #19834 replace sliceBytesTransformer with GraphStage implementation

* htc #19834 inline mapErrorTransformer with simple recover Flow
2016-04-05 14:02:40 +02:00
Patrik Nordwall
ff47c854dc Merge pull request #20212 from kpbochenek/fix-doc-generation-python35
=doc #20210 fix generation with python 3.5
2016-04-05 11:53:12 +02:00
Patrik Nordwall
a4e1beda48 clarify pubsub group docs, #17458 2016-04-04 18:32:12 +02:00
Patrik Nordwall
85e06b35b1 str: Support stash in ActorPublisher, #17037 2016-04-04 15:59:52 +02:00
Bernard Leach
4a8018f63f =htc #19834 Replaced PushStage based captureTermination with GraphStage
* Move promise completion success into postStop to simplify impl
2016-04-04 13:37:09 +02:00
Viktor Klang (√)
598799d5ae =str - Improves performance of mapAsync
* Removes allocations

* Removes indirections & shortens code paths
2016-04-04 13:11:22 +02:00
Patrik Nordwall
52de0bcaa4 Clarify system name requirement for cluster members
* Clarify system name requirement for cluster members

* Recommend againsts auto-down, stronger
2016-04-04 12:37:12 +02:00
Lars Hupel
aec81c2ac2 htp #20103 introduce Scaladoc groups for Directives 2016-04-04 11:50:44 +02:00
Krzysiek
f2771eaab9 doc-separate-section-persistence-eager-init 2016-04-03 22:04:15 +02:00
kpbochenek
0155458008 fix doc generation with python 3.5 2016-04-03 20:06:54 +02:00
Konrad Malawski
8449647e40 Merge pull request #19910 from vans239/master
Replaced PushStage based TakeWhile with GraphStage #19834
2016-04-01 11:35:01 +02:00
Konrad Malawski
3e84f45499 Merge pull request #20191 from drewhk/wip-19958-throttle-reuse-drewhk
19958: Add tests for throttle reuse
2016-04-01 10:40:19 +02:00
Evgeny Vanslov
f42ab58b05 Replaced PushStage based TakeWhile with GraphStage #19834 2016-04-01 11:34:30 +03:00
Patrik Nordwall
53eb0c847a Merge pull request #20195 from akka/wip-19390-str-create-sink-recent-patriknw
+str #19390 Add 'monitor' flow combinator and stage
2016-04-01 09:58:28 +02:00
Tal Pressman
26c25c89ed +str #19390 Add 'monitor' flow combinator and stage 2016-04-01 08:06:37 +02:00
Konrad Malawski
bd8fcc9d9a Merge pull request #20193 from naferx/duplicates-naferx
Remove 'the' duplicates
2016-03-31 23:26:49 +02:00
Nafer Sanabria
b6b017902f Remove 'the' duplicates 2016-03-31 16:20:15 -05:00
Patrik Nordwall
bc660a7403 Merge pull request #20085 from agolubev/19834-Replace-UTF8Encoder-with-GraphStage
=str #19834 Replave UTF8Encoder with GraphStage
2016-03-31 20:45:45 +02:00
Patrik Nordwall
6675f68bf7 Merge pull request #20060 from leachbj/fix-19953-bl
=htc #19953 Complete Promise in captureTermination onDownstreamFinish
2016-03-31 17:58:53 +02:00
Patrik Nordwall
b49eb35283 Merge pull request #19860 from agolubev/18620-add-Source.blocking()-agolubev
18620 add source.blocking() agolubev
2016-03-31 17:49:38 +02:00
Alexander Golubev
bcd52fb90a =str #19834 Replave UTF8Encoder with GraphStage 2016-03-31 11:07:12 -04:00
Alexander Golubev
69e6052cbe +str #18620 add Source.blocking() for legacy API integration 2016-03-31 10:29:48 -04:00
drewhk
1596ae7f13 Merge pull request #20189 from drewhk/wip-19777-truncation-exception-drewhk
#19777 OutputTruncation should be only reported if there is proof of it
2016-03-31 14:58:23 +02:00
Endre Sándor Varga
8459bfaef2 19958: Add tests for throttle reuse 2016-03-31 14:23:29 +02:00
Endre Sándor Varga
4b76e32058 #19777 OutputTruncation should be only reported if there is proof of it 2016-03-31 13:53:36 +02:00
drewhk
a0515780db Merge pull request #19878 from drewhk/wip-19862-throttle-div-zero-2nd-variant-drewhk
#19862 Fix division-by zero on low rates
2016-03-31 13:42:42 +02:00
Bernard Leach
89a6187efc =htc #19953 Complete Promise in captureTermination onDownstreamFinish
PoolSlot uses StreamUtils.captureTermination to determine when the
associated request is completed, when a request from the pool was
subsequently used as a response by a server Flow the rendering
process would cancel the subscription to the Source but that
would not complete the Promise in StreamUtils.captureTerminate and so
the SlotEvent.RequestCompleted would not be generated.
2016-03-31 22:15:58 +11:00