Commit graph

20524 commits

Author SHA1 Message Date
Arnout Engelen
92019c7ac9 Recommend new SecureRandom for an HTTPS server #20908 (#20909) 2016-07-08 11:12:36 +02:00
Alexander Golubev
f679e14168 =str 20843 Scan.in cannot pull closed port 2016-07-08 10:42:16 +02:00
Konrad Malawski
54ecf32d2b =htp #20915 fix too small timing issue in DirectivesSpec (#20916)
* =htp #20915 fix too small timing issue in DirectivesSpec

* applying scalariform reformatting that keeps popping up
2016-07-08 10:33:32 +02:00
Patrik Nordwall
b4cd30cf94 Merge pull request #20757 from kkasravi/issue_20543_kkasravi
Fixes #20543 GraphStage subtypes should not be private to akka
2016-07-08 10:06:27 +02:00
Patrik Nordwall
5e90d4db40 =art place OutboundTestStage after SystemMessageDelivery stage (#20899)
* failing test was akka.cluster.AttemptSysMsgRedelivery when
  running with Artery
* we rely on that system messages are not dropped before
  the redelivery stage, i.e. blackhole must be after that
2016-07-08 01:00:41 +02:00
netcomm
33283da77a =ddata add WeaklyUp cluster member node (#20634)
* add WeaklyUp cluster member node

* fix some small point
2016-07-07 23:44:14 +02:00
poojadshende
2769b5e1cb =htc Convert ChunkTransformer to GraphStage (#20493)
* Convert ChunkTransformer to GraphStage

* Updated onUpstreamFinish of ChunkTransformer class

* Convert chunkTransformer to graph stage

* Convert ChunkTransformer to GraphStage

* Convert ChunkTranformer to GraphStage
2016-07-07 23:26:52 +02:00
Ben Barnard
de18e3fe09 +htc Parse URIs with many query string segments (#20770)
This commit keeps the stack-heavy, reversal approach as long as there is
enough space on the parser's value stack, switching to a constant-stack
approach that requires a reversal for the rest of the query string when
the value stack starts getting full. This removes the hidden restriction
on query string complexity (which is now only subject to the URL length
restriction) without unduly penalising URLs with simpler query strings.

The new constructor method, rather than simply a new constructor
parameter with a default value, is to maintain binary compatibility.
Given that UrlParser is private[http], I'm not sure if this is really
necessary.
2016-07-07 23:24:30 +02:00
Konrad Malawski
8d0c163eaf Update issue-tracking.rst with links etc (#20905)
* Update issue-tracking.rst with links etc

* Update issue-tracking.rst
2016-07-07 21:42:02 +02:00
Patrik Nordwall
b4b89f1442 Merge pull request #20903 from akka/wip-more-adaptive-sampling-patriknw
adjust the hit count sampling with the rate
2016-07-07 21:39:49 +02:00
Alexander Golubev
e0562abba9 +str 20129 add lazySink (#20579) 2016-07-07 13:01:28 +02:00
Patrik Nordwall
57ca273903 adjust the hit count sampling with the rate 2016-07-07 10:29:09 +02:00
Patrik Nordwall
2ac65756f4 Merge pull request #20900 from akka/wip-enable-compression-patriknw
enable compression by default
2016-07-07 07:52:27 +02:00
gosubpl
b6f6438e96 doc #20466 Java range-directives examples added (#20892)
* #20466 Java range-directives examples added

* #20466 post-review changes
2016-07-06 23:23:45 +02:00
Patrik Nordwall
95a81e41f9 enable compression by default 2016-07-06 23:07:59 +02:00
Patrik Nordwall
4d749cc563 Merge pull request #20790 from akka/wip-latency-tests-patriknw
remove burstiness in latency tests
2016-07-06 21:55:49 +02:00
Patrik Nordwall
c376ac0c53 remove burstiness in latency tests
* throttle generates bursts but for fair latency tests
  we want the messages to be spread uniformly

* not much need for exploratory testing with AeronStreamsApp
  any longer, not worth to maintain it

* make it possible to run MaxThroughputSpec with old remoting

* add metrics for the task runner, with flight recorder

* tune idle-cpu-level
2016-07-06 20:53:05 +02:00
Konrad Malawski
a5d4813ecb Improved CONTRIBUTING.md (#20895)
* Improved CONTRIBUTING.md

* Update CONTRIBUTING.md

* Add section about tags to CONTRIBUTING

* Update CONTRIBUTING.md
2016-07-06 11:51:21 +02:00
Konrad Malawski
64d74254c8 Explain SettingsCompanion being internal (#20893) 2016-07-06 11:49:29 +02:00
Richard Imaoka
08aa41c818 Suppress Java Serializer warnings when extending NoSerializationVerificationNeeded (#19963) (#20785) 2016-07-06 11:48:15 +02:00
Ian Clegg
75355b4549 19615 set redelivery delay on camel unit test to speed it up and support future versions
of camel
2016-07-06 10:31:55 +01:00
Nafer Sanabria
625413e413 =doc Correct minor typo (#20897)
* Correct minor typo

* Fix minor typos
2016-07-06 11:08:57 +02:00
Kam Kasravi
1d692daaad Fixes #20543 GraphStage subtypes should not be private to akka 2016-07-05 17:12:35 -07:00
Felix Satyaputra
334959edd1 Modify SettingsCompanion to support create using ActorSystem (#20845)
- Remove final modifier from create(system: ActorSystem) within SettingsCompanion
- Implement create(system: ActorSystem) within each of the SettingsCompanion subclass
- Add tests to ensure compilation
2016-07-06 00:52:46 +02:00
Richard Imaoka
29dec00c45 +doc Add more description about actor path alias, symbolic link #20773 (#20866) 2016-07-05 22:00:48 +02:00
Patrik Nordwall
0a0d087846 Merge pull request #20878 from akka/wip-hit-count-sampling-patriknw
adaptive sampling of hit counting
2016-07-05 19:55:33 +02:00
Patrik Nordwall
d2657a5969 adaptive sampling of hit counting
* when rate exceeds 1000 msg/s adaptive sampling of the
  heavy hitters tracking is enabled by sampling every 256th message
* also fixed some bugs related to advertise in progress

* update InboundCompression state atomically

* enable compression in LatencySpec
2016-07-05 19:54:53 +02:00
Patrik Nordwall
675e137d06 =act let onReceive throw Throwable, #20231 (#20781)
* I also tried to change the lifecycle methods (e.g. postStop) but
  that would break source compatibility for code that called super.postStop
2016-07-05 17:58:33 +02:00
Patrik Nordwall
9fbab1f268 Merge pull request #20768 from denisrosca/master
Warning for actors with value class arguments
2016-07-05 16:49:41 +02:00
Konrad Malawski
8666d05f06 =doc Improve readme a bit, more links, and sections (#20889)
* =doc Improve readme a bit, more links, and sections

* Add link to issues

* Update README.md

* Update README.md

* Update README.md
2016-07-05 16:23:25 +02:00
Patrik Nordwall
f0f755bf08 Merge pull request #20828 from choffmeister/choffmeister-20826-unregister-leaving-distributed-pubsub-nodes
Remove distributed pubsub nodes on leave
2016-07-05 15:48:07 +02:00
Andrea Peruffo
a230f2fe34 =str switch to java std lib ThreadLocalRandom. (#20877) 2016-07-05 14:59:48 +02:00
gosubpl
06aaa273f1 doc #20466 akka http java dsl examples - file upload directives (#20859)
* #20466 file upload - first example test done

* #20466 second test from FileUploadDirectivesExample passing in Java

* #20466 FileUploadDirectives examples file rename plus docs

*  #20466 post-review changes - adding better JAVA Multipart API

* #20466 Multipart Java conversions fix and added spec for the Java side of the model
2016-07-05 10:26:27 +02:00
Konrad Malawski
d1015c1dc6 Compression tables properly *used* for Outgoing Compression (#20874)
* =art now correctly compresses and 2 table mode working
* =art AGRESSIVELY optimising hashing, not convienved about correctness yet
* fix HandshakeShouldDropCompressionTableSpec
2016-07-04 16:48:11 +02:00
Patrik Nordwall
27275b4680 Merge pull request #20865 from akka/wip-aeron-0.9.9-patriknw
update to Aeron 0.9.9
2016-07-01 16:39:34 +02:00
Patrik Nordwall
d2c3c3ee3b update to Aeron 0.9.9 2016-07-01 15:38:39 +02:00
Patrik Nordwall
880a60e1af Merge pull request #20854 from akka/wip-outbound-envelope-patriknw
new OutboundEnvelope
2016-07-01 15:01:41 +02:00
Patrik Nordwall
b2089d06a7 new OutboundEnvelope
* instead of the old Send
* optional recipient, remove of dummy
* pool of OutboundEnvelope
2016-07-01 14:06:48 +02:00
Patrik Nordwall
a2a66b1fb3 Merge pull request #20822 from akka/wip-20811-flush-patriknw
flush messages on shutdown, #20811
2016-07-01 13:37:14 +02:00
Konrad Malawski
91eb27947b +doc add http (experimental) migration guide to ease upgrading DSLs (#20860)
* +doc add http (experimental) migration guide to ease upgrading DSLs

* Update migration-guide-2.4.x-experimental.rst
2016-07-01 12:37:49 +02:00
Patrik Nordwall
5f4b265c6b enable flight recorder by config
* SyncronizedEventSink for the one used concurrently in ArteryTransport
* jvm is still crashing so disabled it for now
2016-07-01 12:30:09 +02:00
Patrik Nordwall
4865afe5ab remove invalid actorFor test
* it's actually possible to send msg to new incarnation
  with ref aquired with actorFor, the uid has special 0
  value when using actorFor
2016-07-01 12:29:05 +02:00
Patrik Nordwall
9ffe211546 adjust oversized error message 2016-07-01 12:29:05 +02:00
Patrik Nordwall
a021eb5ff4 flush messages on shutdown, #20811
* StreamSupervisor as system actor so that it is
  stopped after ordinary actors
* when transport is shutdown send flush message to all
  outbound associations (over control stream) and wait for ack
  or timeout
2016-07-01 12:29:05 +02:00
Patrik Nordwall
8b274ebc62 ignore PubSub Status message from unknown node, #20846 (#20847)
* ignore PubSub Status message from unknown node, #20846

Reproducer:
1. old cluster of node1, node2 and node3
2. shutdown node3 and start it again with same host:port, let it
   join itself and not the old cluster
3. node1 and node2 will continue to gossip to the node3 address and
   Status message is accepted and replied to (Delta is ignored from
   unknown node)

Solution:
* ignore status message from unknown node
* also added a reply flag in the Status message to break the
  back-and-forth replies in case the deltas are not accepted,
  this is not needed for fixing this bug, but it adds an extra
  level of safety
2016-07-01 12:12:23 +02:00
Patrik Nordwall
b85cee604a Merge pull request #20857 from akka/wip-20856-netty-3.10.6-patriknw
update to Netty 3.10.6.Final, #20856
2016-07-01 12:11:21 +02:00
drewhk
79d6bb42ae Merge pull request #20840 from drewhk/wip-20487-fix-racy-foreachparallelspec-drewhk
#20487: Fix race in FlowForeachParallelSpec
2016-07-01 12:04:55 +02:00
drewhk
76832c3db2 Merge pull request #20837 from drewhk/wip-20829-groupby-double-pull-drewhk
#20829 Fix double pull in GroupBy
2016-07-01 12:04:33 +02:00
Konrad Malawski
d99274a51f =art #20455 compression tables advertised as a whole "2 tables mode" (#20863)
Squashed commit of the following:

commit 6dc45364eb285338885bc8a5f1c4f293a29a53fb
Author: Konrad Malawski <konrad.malawski@project13.pl>
Date:   Fri Jun 24 19:03:58 2016 +0200

    =art moved successfuly to 2 table mode
    envelope format prepared, versioned tables

    2 table mode working

commit 517723c5d61969988a9a93b99666824bf5bccb52
Author: Konrad Malawski <konrad.malawski@project13.pl>
Date:   Fri Jun 24 10:28:02 2016 +0200

    WIP

commit 3e05a733e087e0d5bd8df9cc4fff0d4bc1314ec8
Author: Konrad Malawski <konrad.malawski@project13.pl>
Date:   Wed May 18 02:28:12 2016 +0200

commit b51f1766a94b202cd42fcc9d5402327ad0800d2d
Author: Konrad Malawski <konrad.malawski@project13.pl>
Date:   Thu Apr 28 10:56:58 2016 +0200

    +art #20455 HeavyHitters and CountMinSketch prepared for Compression
2016-07-01 11:54:57 +02:00
Simão Martins
2a182a6c4e +doc #20794 explain Prop edge cases. (#20861)
* +doc #20794 explain Prop edge cases.

* Create a CompileOnly spec for props edge cases.
2016-07-01 11:32:20 +02:00