Commit graph

806 commits

Author SHA1 Message Date
Patrik Nordwall
8156a45818 optimize Attributes 2017-03-10 17:02:01 +01:00
Johannes Rudolph
c8097e4876 Merge pull request #22483 from jrudolph/jr/w/fix-GraphDSLCompileSpec
Add GraphDSL validation, fix GraphDSLCompileSpec
2017-03-08 15:27:29 +01:00
Patrik Nordwall
1c6c33fd17 Merge pull request #22495 from drewhk/wip-fix-graphinterpreterspec-newmaterializer-drewhk
Explicitly handle SpecViolation exceptions in GraphStage callbacks in boundaries
2017-03-08 15:25:55 +01:00
drewhk
c2fecac6a5 Fixed race in TcpSpec (try to Kill not yet existing actors) (#22500) 2017-03-08 15:25:29 +01:00
Patrik Nordwall
e4d529ca82 enable pending tests in FileSinkSpec and FileSourceSpec, #22463 (#22477) 2017-03-08 15:23:19 +01:00
Patrik Nordwall
b861400e5e enable pending test in FileSinkSpec (#22501) 2017-03-08 15:22:44 +01:00
Patrik Nordwall
6c8e24cefa fix SinkSpec, and async boundary attribute, #22463
* let's keep the AsyncBoundary attribute for now,
  makeIsland is done in setAttributes
* fixing SinkSpec and RunnableGraphSpec
2017-03-08 15:09:40 +01:00
Johannes Rudolph
34533bbc7f
=str #22463 introduce validation to GraphDSL, fix GraphDSLCompileSpec 2017-03-08 14:52:49 +01:00
Patrik Nordwall
c317e57641 fix ReverseArrowSpec due to changed exc, #22463 2017-03-08 14:49:49 +01:00
Martynas Mickevičius
45ccd4ffbe #22463 Check for wired ports before wiring in traversal builder (#22492) 2017-03-08 14:19:15 +01:00
Endre Sándor Varga
2ae8c53cfc Fix missing port ID assignment 2017-03-08 14:08:56 +01:00
Endre Sándor Varga
0906e4d532 Explicitly handle SpecViolation exceptions in GraphStage callbacks in boundaries
... otherwise they end up being handled by the interpreter, but no onError is signalled to downstream subscribers.
2017-03-08 13:51:25 +01:00
Konrad `ktoso` Malawski
b8c7d116d5 +str #22425 re-implement sub-fusing with new materializer (#22478) 2017-03-08 13:10:36 +01:00
Johan Andrén
c028b550f2 Low level interpreter tests working without GraphAssembly #22423 2017-03-07 17:06:41 +01:00
Martynas Mickevičius
44260fe5d3 #22463 Fix race conditions in FlowScan(Async)Spec (#22474)
between error propagation and first element.
Such race condition surfaced after materialization
time decreased substantially.
2017-03-07 14:31:19 +01:00
drewhk
87d5b8f627 Wip fix islands drewhk (#22475)
* Fixed island application

* Switched to explicit island boundaries and fixed misapplied island tags

* Added missing attributes for non-stage backed Sinks
2017-03-07 14:26:18 +01:00
Patrik Nordwall
37610e43bb Merge pull request #22470 from akka/wip-22463-FlowRecoverWithSpec2-patriknw
fix FlowRecoverWithSpec, #22463
2017-03-07 14:14:35 +01:00
Patrik Nordwall
7eaa53e31b Merge pull request #22469 from akka/wip-22463-ReverseArrowSpec-patriknw
fix ReverseArrowSpec, #22463
2017-03-07 14:09:40 +01:00
Patrik Nordwall
c61658d26c fix DslFactoriesConsistencySpec, #22463 2017-03-07 13:47:18 +01:00
Patrik Nordwall
0ed6f061c1 fix FlowRecoverWithSpec, #22463
* wrong assumption about concat
2017-03-07 12:26:36 +01:00
Patrik Nordwall
5848485f3c fix ReverseArrowSpec, #22463 2017-03-07 11:29:48 +01:00
Patrik Nordwall
f6d45c1bc1 stream actor names, #22426 (#22465) 2017-03-07 10:43:18 +01:00
Patrik Nordwall
fea748bd8f disable tests that don't compile 2017-03-06 15:58:04 +01:00
drewhk
b33339f13e Make flowspec great again drewhk (#22443)
* #22435: Make DirectProcessorModule work again

* #22435: Fix attributes propagation for FanoutProcessor

* #22435: Remove old "faulty-flow" spec
2017-03-03 10:49:34 +01:00
Endre Sándor Varga
ba63c7af8d New materializer and layout 2017-03-01 16:18:55 +01:00
Johannes Rudolph
e4491a05cf Revert "=str Remove manual hostname verifier support, used to be included only because Java 6 (#22320)"
Let's revert this until we have decided in #22345 what to do exactly
about it. We will still introduce an overload of TLS.apply that works
without specifying a `verifySession` function.

This reverts commit 021829e21e.

Conflicts:
	project/MiMa.scala
2017-02-23 14:01:10 +01:00
Johan Andrén
8f9b4f203a Pass the deserialized message on when serialize-messages on #13751 2017-02-17 16:41:25 +01:00
Alexander Golubev
552481b511 #22030 Lazy sink wait for init 2017-02-16 09:19:25 +01:00
ortigali
021829e21e =str Remove manual hostname verifier support, used to be included only because Java 6 (#22320)
* Remove manual hostname verifier support, used to be included only because Java 6 #21854

* Remove manual hostname verifier support, used to be included only because Java 6 #21854
2017-02-15 20:40:42 +01:00
Johan Andrén
cf6cb5f2d9 Eliminate race in connection closed tcp test case #21903 2017-02-15 14:15:51 +01:00
Olli Helenius
b8cdcf3439 Close Java Stream after completion #22241 2017-02-14 11:50:07 +01:00
Konrad Malawski
5b8b00595f +str implement CoupledTerminationFlow to be used in WS in HTTP 2017-02-13 15:41:41 +01:00
drewhk
6b40b9b181 #22097 Eliminate race in materialization order in FlowSplitWhenSpec (#22266) 2017-02-08 10:46:08 +01:00
Patrik Nordwall
0f8f47878b remove deprecated ActorSystem termination methods, #21423
* those were deprecated by #15757 before 2.4.0
2017-01-24 13:32:46 +01:00
ortigali
6aa67703a8 add serialize-messages=off #22128 2017-01-20 13:34:23 +01:00
Konrad `ktoso` Malawski
dcd8cea32e #21475 moving compressions ownership to Decoder (#22047)
* WIP early preview of moving compressions ownership to Decoder

* Compression table created in transport, but owned by Decoder
Added test for restart of inbound stream

* =art snapshot not needed in HeavyHitters since owned by Decoder
2017-01-13 10:33:55 +01:00
Philippus Baalman
6c7085252a extended copyright into 2017 2017-01-04 17:37:15 +01:00
drewhk
108517958e #21955: Fixed the case when identity flow appended to Source combining materialized values (#21956) 2016-12-19 14:14:07 +01:00
Konrad Malawski
e7e1f74427 =str more specific error type if idle-timeout triggers in tcp 2016-12-14 12:39:24 +01:00
Alexander Golubev
4207682624 =str 20448 splitAfter should emit substreams in a lazy way (#21306) 2016-12-14 10:47:07 +01:00
Patrik Nordwall
b250d03cc9 Merge pull request #21896 from johanandren/wip-21864-asOutputStream-close-race-johanadren
asOutput stream close race
2016-12-13 13:45:54 +01:00
Andrew Rapp
591eafe04c Fix handling of escape sequences in JsonObjectParser #21961 (#21962)
* Fix handling of escape sequences in JsonObjectParser #21961

* Add test coverage to verify issue #21961
2016-12-08 14:35:53 +01:00
ortigali
31e61d0fb3 InputStream from StreamConverters.asInputStream respects read() contract #21943 (#21954) 2016-12-07 17:33:36 +01:00
Konrad Malawski
04ab4ebb9c -str #21423 remove deprecated Stage references (#21919)
* -str #21423 remove deprecated Stage references

* include mima filters for removed classes
2016-12-02 14:23:13 +01:00
Patrik Nordwall
e04444567f Speedup pull request validation
* speedup ActorCreationPerfSpec
* reduce iterations in ConsistencySpec
* tag SupervisorHierarchySpec as LongRunningTest
* various small speedups and tagging in actor-tests
* speedup expectNoMsg in stream-tests
* tag FramingSpec, and reduce iterations
* speedup QueueSourceSpec
* tag some stream-tests
* reduce iterations in persistence.PerformanceSpec
* reduce iterations in some cluster perf tests
* tag RemoteWatcherSpec
* tag InterpreterStressSpec
* remove LongRunning from ClusterConsistentHashingRouterSpec
* sys property to disable multi-jvm tests in test
* actually disable multi-node tests in validatePullRequest
* doc sbt flags in CONTRIBUTING
2016-11-30 14:31:06 +01:00
Johan Andrén
6b03383ddb Test case more concistently exercising the race without taking 8s #21864 2016-11-28 11:03:01 +01:00
Johan "Party Cannon" Andrén
267f31149c Lazy source (#21081) 2016-11-25 16:25:26 +01:00
Kam Kasravi
a47bccbec3 Fixes #20553 Tree flattening should be separate from Fusing 2016-11-22 15:45:02 -08:00
Konrad Malawski
6508e1175f =str follow up review comments on compression PR 2016-11-21 14:46:15 +01:00
Johannes Rudolph
7fa7cc1624 =str add safeguard against accidental logic cycles in user ByteStringParser logic
Before, such a cyclic logic might have spun on one thread. Now recursion
is limited to a configurable number of recursions.

The default number of 1000 is an arbitrary number high enough not to be a
limitation in realistic cases. Recursion only happens when a ParsingStep consumes
data without emitting an element immediately moving on to the next step.

In the unlikely case that a parsing logic requires more recursion, the logic
can override `ParsingLogic.recursionLimit`.
2016-11-21 14:46:15 +01:00