Commit graph

21967 commits

Author SHA1 Message Date
Richard Imaoka
82f50a848a Add unidoc directive for markdowns #24426 2018-03-01 13:35:00 +01:00
Ignasi Marimon-Clos
3de7a4c27c Adds test and caps the timeout check period to 1s #24616 2018-03-01 11:47:02 +01:00
Johan Andrén
c9ff3cbf80
MiMa latest release updated (#24638) 2018-03-01 10:48:40 +01:00
Josep Prat
4661ee03cf Fixes broken test for Scala 2.12 #24617
Refs: #24617
Fixes tests for Scala 2.12.x
There are still some differences between 2.11 and 2.12
2018-03-01 17:25:09 +09:00
adamlehenbauer
ba15b72714 Fix typo: lead -> led 2018-03-01 11:42:39 +09:00
Song Kun
32021cb382 =doc fix the wrong position of a sentence 2018-03-01 11:32:05 +09:00
Johan Andrén
b7cc50cdd6
2.5.10 wire protocol regression (#24625) 2018-02-28 09:46:37 +01:00
Ignasi Marimon-Clos
58c00b67e5 Remove "them them" (#24613) 2018-02-23 14:05:54 +01:00
Patrik Nordwall
9330969450
Merge pull request #24611 from akka/wip-minor-tcp-doc-patriknw
small adjustment of the aeron vs tcp documentation
2018-02-23 11:32:01 +01:00
Filip
cdc0fd3e3d Avoid infinite recursion in AbstractPersistentFSM, #24448 2018-02-23 10:50:32 +01:00
Patrik Nordwall
cf312703fa small adjustment of the aeron vs tcp documentation 2018-02-23 10:41:21 +01:00
Patrik Nordwall
488c22561f
Merge pull request #24606 from akka/wip-deprecated-blocking-io-dispatcher-patriknw
fix blocking-io-dispatcher setting, #24357
2018-02-22 19:11:00 +01:00
Patrik Nordwall
8a662bdc24 fix deployRsync param in release script 2018-02-22 18:06:37 +01:00
Patrik Nordwall
cd95979ed7 fix blocking-io-dispatcher setting, #24357
It must still have a valid value becuase used from Akka HTTP.
2018-02-22 18:03:08 +01:00
Johan Andrén
fd6f30673a Actually use the relative blocking io dispatcher setting #24357
* Remove docs and have only deprecation comment on old setting
* ConfigFactory.load fixed
2018-02-22 13:42:59 +01:00
Patrik Nordwall
89d5b5d00e
Merge pull request #24603 from akka/wip-24511-receptionist-ask-improvements-patriknw
Receptionist message improvements, #24511 and #24492
2018-02-22 13:41:52 +01:00
Johan Andrén
14773ad2d4 Receptionist message improvements, #24511 and #24492 2018-02-22 12:58:28 +01:00
Martynas Mickevičius
c625d9e90a
Merge pull request #24601 from FredrikMeyer/patch-1
Fix dead link in cluster.md
2018-02-22 12:49:56 +01:00
Patrik Nordwall
c5de70db10
Merge pull request #24589 from akka/wip-23683-prune-receptionist-patriknw
prune entries in ClusterReceptionist from nodes that have been removed, #23683
2018-02-22 12:38:43 +01:00
Johan Andrén
ede094a2c6 Typed Java testkit, #24551
* Java specific testkit
* Separate all the APIs
* Dilate the default timeouts
* TestKit -> ActorTestKit to be consistent with BehaviorTestKit
* Only have stuff in packages expected for this module
* Auto testkit-system-naming that works (verified)
* Separate actually working apis for manual timer
* More docs
* Separate apis for BehaviorTestKit effects
* Moved the example tests into the testkit, added samples for JUnit/ScalaTest
* TestKitJunitResource: No need to explicitly provide class, also overload for just custom config
2018-02-22 12:25:04 +01:00
Fredrik Meyer
7d0065a462
Fix dead link in cluster.md
Came over this while reading the documentation. A Google search found a working link.
2018-02-22 11:54:14 +01:00
Konrad Malawski
d6000df367 =str add simplified ask(ref) that defaults parallism 2 2018-02-22 19:50:46 +09:00
Konrad Malawski
4714f16dcf +str #18142 ask pattern integration for akka streams
progressed with cleanup, removing the same thread exec context is
weird... causes issues :-/ Need to debug more, could be that some race
also exists in mapAsync then :\

WIP

finish ask impl via watch stage

mima

consistency spec

fix paradox, and fix adding ask/watch to javadsl source

follow up review
2018-02-22 19:50:46 +09:00
Josep Prat
5040ce82f1 LineNumbers for Lambda's #24480 2018-02-22 11:29:08 +01:00
Patrik Nordwall
c15c22622e use Flow.lazyInit in Artery TCP (#24590) 2018-02-22 19:18:44 +09:00
Patrik Nordwall
a89268ee45 ambiguous method byteBuffer.limit with jdk9 (#24593)
```
[error] /localhome/jenkinsakka/workspace/akka-nightly-jdk9/akka-remote/src/main/scala/akka/remote/artery/tcp/ArteryTcpTransport.scala:160:35: ambiguous reference to overloaded definition,
[error] both method limit in class ByteBuffer of type (x$1: Int)java.nio.ByteBuffer
[error] and  method limit in class Buffer of type ()Int
[error] match expected type ?
[error]         val size = env.byteBuffer.limit
```
2018-02-22 16:52:34 +09:00
Marc Piechura
b5b1417a80 Fix error message when LinearTraversalBuilder module has more than one outlet (#24591) 2018-02-22 16:33:21 +09:00
gosubpl
edc67e0c3f +str Add Flow.lazyInit (#24427) (#24527) 2018-02-22 08:11:31 +01:00
Patrik Nordwall
cec2659440 prune entries in ClusterReceptionist from nodes that have been removed, #23683 2018-02-22 08:09:40 +01:00
Oleksii Tkachuk
80da4cadee Issue 24519: Created method lazilyAsync for both DSLs and adds section in docs (#24568)
* Issue 24519: Created method lazilyAsync for both DSLs and adds section in docs.

* Issue 24519: Changes according to code review

* Issue 24519: Added unit tests

* Update LazilyAsyncSpec.scala

* Issue 24519: Added copyright
2018-02-22 10:15:25 +09:00
Patrik Nordwall
11b6065d97
Merge pull request #24586 from akka/wip-TlsTcpSpec-patriknw
fix TlsTcpWithHostnameVerificationSpec when run without tls
2018-02-21 20:44:04 +01:00
ryota-sakamoto
6fa74789ce Exception from receiveRecover should stop the PersistentActor #24192 2018-02-21 17:20:52 +01:00
Patrik Nordwall
9a13704969
Merge pull request #24577 from 2m/wip-fileio-exception-2m
#23951 Fail materialized future of IO stages when stream fails
2018-02-21 13:41:16 +01:00
Patrik Nordwall
f0709774dc
Merge pull request #24023 from akka/wip-23967-stop-idle-patriknw
Stop unused Artery outbound streams, #23967
2018-02-21 12:52:51 +01:00
Patrik Nordwall
d03f177468 fix TlsTcpWithHostnameVerificationSpec when run without tls 2018-02-21 12:36:26 +01:00
Patrik Nordwall
5e80bd97f2 Stop unused Artery outbound streams, #23967
* fix memory leak in SystemMessageDelivery
* initial set of tests for idle outbound associations, credit to mboogerd
* close inbound compression when quarantined, #23967
  * make sure compressions for quarantined are removed in case they are lingering around
  * also means that advertise will not be done for quarantined
  * remove tombstone in InboundCompressions
* simplify async callbacks by using invokeWithFeedback
* compression for old incarnation, #24400
  * it was fixed by the other previous changes
  * also confirmed by running the SimpleClusterApp with TCP
    as described in the ticket
* test with tcp and tls-tcp transport
  * handle the stop signals differently for tcp transport because they
    are converted to StreamTcpException
* cancel timers on shutdown
* share the top-level FR for all Association instances
* use linked queue for control and large streams, less memory usage
* remove quarantined idle Association completely after a configured delay
  * note that shallow Association instances may still lingering in the
    heap because of cached references from RemoteActorRef, which may
    be cached by LruBoundedCache (used by resolve actor ref).
    Those are small, since the queues have been removed, and the cache
    is bounded.
2018-02-21 11:59:18 +01:00
Johan Andrén
650490f68a
Separate Java and Scala typed TestProbes #24542 and #24334 2018-02-21 10:19:02 +01:00
Stefano Bonetti
3ea59b1e76 Adding preMaterialize operator for Source #23894 (#24497) 2018-02-21 15:06:01 +09:00
虎鸣
e44fafd4b7 + stream add collectType operator to Source,SubSource,Flow and SubFlow for javadsl.
add docs for collectType, do mirror it in scaladsl

mima
2018-02-21 14:23:11 +09:00
Patrik Nordwall
39c97c3306
Merge pull request #23828 from akka/wip-artery-tls-patriknw
Artery with TCP/TLS, #24390
2018-02-20 17:32:15 +01:00
Martynas Mickevičius
24fd986aca
#23951 Fail materialized future of IO stages when stream fails 2018-02-20 18:05:08 +02:00
Johannes Rudolph
bbdf3261c4 Describe options for hostname verification and certificates, #24390 2018-02-20 16:06:17 +01:00
Patrik Nordwall
4dab3252bd Add Artery TCP/TLS transport, #24390
* configurable SSLEngineProvider
* ssl configuration
* add internal outgoingTlsConnectionWithSSLEngine and bindTlsWithSSLEngine in stream Tcp
* TLS tests
* update remote security section in reference documentation
2018-02-20 16:06:16 +01:00
Patrik Nordwall
162a1f80a0 Add Artery TCP transport, #24390
* transport config
* TCP specific classes in akka.remote.artery.tcp package
* TcpFraming stage that handle the additional streamId field and length based framing.
  Credit to jrudolph for this clean solution, which made it possible to use same
  envolope header for Aeron and TCP.
* magic first bytes to detect invalid access
* drain SendQueue to deadLetters in postStop
* error handling, restart, inbound and outbound streams
* udp vs tcp in autoSelectPort
* TCP specific flight recorder events
* update reference documentation
2018-02-20 16:06:05 +01:00
Patrik Nordwall
0d222906f4 Prepare Artery for alternative TCP transport, #24390
* Refactoring to separate the Aeron specific things, ArteryAeronUdpTransport
* move Aeron specific classes to akka.remote.artery.aeron package
* move Version to ArterySettings, and describe strategy for envelope header changes
2018-02-20 16:02:57 +01:00
Renato Cavalcanti
c83e4adfea Rolling update config checker, #24009
* adds config compatibility check
* doc'ed what happens when joining a cluster not supporting this feature
* added extra docs over sensitive paths
2018-02-20 15:47:09 +01:00
Roman Filonenko
a4e9881a6f typed Cluster.sharding.spawn fail fast #23708
* fail fast if Typed Cluster.sharding.spawn is called several times with different parameters 
* fix a bug in ClusterShardingImpl.spawnWithMessageExtractor - actually use allocationStrategy param
2018-02-20 14:55:30 +01:00
Martynas Mickevičius
bc4888a60e
Merge pull request #24573 from 2m/wip-too-much-details-2m
Cut the detail level in half
2018-02-20 14:28:36 +01:00
Martynas Mickevičius
39cb013f9f
Cut the detail level in half 2018-02-20 14:10:44 +02:00
Konrad `ktoso` Malawski
8d1feb5a10
fix java documentation snippet by being explicit (#24569)
* fix java documentation snippet by being explicit

* Update FaultHandlingTest.java

* Update FaultHandlingTest.java

* Update FaultHandlingTest.java
2018-02-20 18:07:40 +09:00