Commit graph

24155 commits

Author SHA1 Message Date
Johan Andrén
2f7dfbfc01 Last sequence number fix (#27964)
* Reproducer for the bug

* Separate state when waiting for snapshot write #27935

Allows for accessing seqNr while snapshot in progress
2019-10-11 13:45:40 +01:00
Patrik Nordwall
ca7cad3a6d fix TlsSpec on JDK 11, #27956 (#27961)
* one less cause wrapping in JDK 11
2019-10-11 10:11:06 +02:00
Patrik Nordwall
f0e4ece497
Merge pull request #27958 from SageM/fix-wording-in-documentation
Fix wording
2019-10-11 09:31:02 +02:00
Christopher Batey
40bf6bf5d5 Rename LoggingEventFilter to LoggingTestKit (#27888) 2019-10-11 08:38:20 +02:00
Patrik Nordwall
c8570f277d doc: minor changes to sharding docs (#27967) 2019-10-10 23:27:08 -06:00
SageM
190ab3f0e7 Fix wording
Update akka-docs/src/main/paradox/stream/stream-parallelism.md

Co-Authored-By: Helena Edelson <helena@users.noreply.github.com>
2019-10-10 17:00:13 +02:00
Christopher Batey
8c70430d2f Document typed extensions (#27946) 2019-10-10 16:45:17 +02:00
Patrik Nordwall
34096e671d
Fail startup if mixed versions are used, #27965 (#27966)
* good to make it more strict in Akka 2.6.0
* possibility to opt out via config
* migration guide
  * clarification of why
  * don't mention opt-out in migration guide because it shouldn't be abused
2019-10-10 16:31:51 +02:00
Patrik Nordwall
e40a2591d3
Merge pull request #27811 from akka/wip-more-deprecation-2-patriknw
Deprecate JavaLogger (java.utl.logging)
2019-10-10 16:30:22 +02:00
Arnout Engelen
9db8fc6cb5 Avoid using mockito in akka-cluster-sharding (#27845) 2019-10-10 07:38:56 -06:00
Patrik Nordwall
832510208d missing barrier in RemoteFeaturesSpec, #27838 (#27963) 2019-10-10 06:19:25 -06:00
Patrik Nordwall
bb6d6365b1
Scaladoc improvements (#27929)
* private[akka] visibility on some internal classes
  * found via unidoc
* fix Scaladoc links
2019-10-10 14:17:01 +02:00
Patrik Nordwall
544c5fa17c
Merge pull request #27952 from scala-steward/update/aeron-client-1.22.0
Update aeron-client, aeron-driver to 1.22.0
2019-10-10 14:10:27 +02:00
Scala Steward
36e4cbcb79 Update agrona to 1.0.8 (#27905) 2019-10-10 14:09:56 +02:00
Patrik Nordwall
ddaceae80d
rename PersistenceId.apply to PersistenceId.ofUniqueId, #27924 (#27953)
* to make the entityTypeHint, entityId the more prominent choice, and
  avoid that only the entityId is used as the uniqueId
2019-10-10 14:05:46 +02:00
Patrik Nordwall
7610aeb20c
Merge pull request #27945 from ennru/paradox-theme-0.25
Akka Paradox theme 0.25 (with transitive Paradox, apidoc, project-info)
2019-10-10 08:37:57 +02:00
Enno
3fc148f6f2 Typed docs: some spelling and language fixes (#27919) 2019-10-09 19:43:03 +02:00
Patrik Nordwall
25ff48cca1
Merge pull request #27848 from johanandren/wip-24580-GraphMergePrioritizedSpec-fail-fix
More tolerance in GraphMergePrioritizedSpec
2019-10-09 17:31:03 +02:00
Patrik Nordwall
1b2f848103 Deprecate JavaLogger (java.utl.logging) 2019-10-09 17:18:45 +02:00
Christopher Batey
9a2fa8d2a9 Go back to taking a Behavior to typed pool routers, #27807 (#27942) 2019-10-09 17:07:24 +02:00
Patrik Nordwall
9fa452daea
Merge pull request #27909 from akka/wip-27661-proto-v3-dependency-patriknw
adjust dependencies to akka-protobuf-v3, #27661
2019-10-09 17:04:22 +02:00
Scala Steward
ef72933762
Update aeron-client, aeron-driver to 1.22.0 2019-10-09 15:42:52 +02:00
Enno Runne
342bcf7913 Akka Paradox theme 0.25 (with transitive Paradox, apidoc, project-info) 2019-10-09 14:52:37 +02:00
Patrik Nordwall
76e2730195 doc: clarify EventSourcedBehavior effects, #25953 2019-10-09 14:06:29 +02:00
Patrik Nordwall
a9d1572999 harden access to outboundControlIngress, #27732 (#27834)
* _outboundControlIngress is cleared from removedAfterQuarantined via the
  startRemoveQuarantinedAssociationTask
* in sendControl it is checking isRemovedAfterQuarantined but a race condition
  of the clearing at the same time can cause it to access the outboundControlIngress
  anyway, resulting in the IllegalStateException "not initialized yet"
* in the reported case there were severe jvm problems (seen in logs as delayed heartbeats)
* additional check in outboundControlIngress access solves that,
  control messages can be dropped
2019-10-09 14:00:03 +02:00
Patrik Nordwall
0236afc039 use CBOR in some tests instead of custom serializers (#27882) 2019-10-09 13:56:18 +02:00
Eric Cartner
ca8995be68 Ignore length field value when provided computeFrameSize (#27884) (#27938)
* Add test for computed frame sizes from negative length field values
* Skip check for length field value < 0 when using computeFrameSize
2019-10-09 13:40:34 +02:00
Patrik Nordwall
c0d8df94e4
Merge pull request #27913 from akka/wip-persistence-toc-patriknw
doc: fix Persistence ToC
2019-10-09 12:55:57 +02:00
Patrik Nordwall
ea73963c4a
Merge pull request #27940 from akka/wip-27647-fw-port-patriknw
Fix state.nonEmpty check when starting HandOffStopper#27647 (#27860)
2019-10-09 12:54:59 +02:00
Patrik Nordwall
dfaee6f9a1
Make SingleConsumerMultiProducer the default mail box for typed (#27857)
* Merge benchmark projects

* Make SingleConsumerMultiProducer the default mail box for typed

* Make SingleConsumerMultiProducer the default mail box for typed

* Add default mailbox back to classic + define default mailbox for typed in reference

* Fix custom dispatcher
2019-10-09 11:17:50 +02:00
Patrik Nordwall
40ce73ad4e doc: small improvements of core cluster pages (#27939)
* proofreading of core cluster pages
* some more info in failure detector
2019-10-09 10:17:22 +01:00
sebarys
0e34d3490d Fix state.nonEmpty check when starting HandOffStopper#27647 (#27860)
* Shard state.entities and idByRef properties incosistency in case of HandOffStopper creation
* Additional sharding debugging logs

(cherry picked from commit 70c2b571b9759e0441529fe107b8e8bf42825415)
2019-10-09 10:58:44 +02:00
Patrik Nordwall
86965d0a05
Merge pull request #27910 from akka/clusterClientMigrationTweaks
Some tweaks to the Cluster Client to gRPC migration notes
2019-10-09 10:47:32 +02:00
Patrik Nordwall
3d2acbd4cf doc: fix Persistence ToC
* index was inlined in persistence.md, and that doesn't work well
  because all headings from persistence.md are always visible to the left
  when browsing the other persistence pages
2019-10-09 10:46:05 +02:00
Patrik Nordwall
bd724e85f5
Merge pull request #27925 from akka/wip-27921-more-target-patriknw
don't crossPaths for akka-protobuf-v3, #27921
2019-10-08 18:51:37 +02:00
Patrik Nordwall
690fdcf461
Merge pull request #27936 from akka/wip-27840-DowningProviderSpec2-patriknw
Revert: Harden DowningProviderSpec, and detect terminated before initialized, #27840
2019-10-08 18:34:35 +02:00
Patrik Nordwall
7173275ba4 Revert "Harden DowningProviderSpec, and detect terminated before initialized, #27840"
This reverts commit f2466cad49f0eb413d74532af205aa34a4386505.

* and temporary pending of DowningProviderSpec
2019-10-08 17:40:50 +02:00
Patrik Nordwall
cd30c06ca7 doc: Add pipeToSelf in interaction-patterns.md, #27877 (#27912) 2019-10-08 15:07:55 +02:00
Patrik Nordwall
c89dfe5578 doc: minor cleanup of mailboxes.md (#27915)
* clarification of the dependency
* two sections about too advanced configuration, let's keep that in classic docs
2019-10-08 15:03:51 +02:00
Patrik Nordwall
a71894f836 make getContext and createReceive protocted in javadsl.AbstractBehavior (#27917)
Doesn't change visibility from Java, but good to communicate the intent
2019-10-08 15:01:44 +02:00
Christopher Batey
65edc1c10d Justify why pool/group routers have different defaults (#27879) 2019-10-08 14:58:59 +02:00
Patrik Nordwall
ce9a69dade doc: Diagrams for intro and interaction examples (#27907) 2019-10-08 14:38:50 +02:00
Patrik Nordwall
a02177efee doc: clarify side effect in event handler, #25720 (#27926) 2019-10-08 14:34:51 +02:00
Enno
0de8c6b348 Travis: cache coursier library directory (#27930) 2019-10-08 14:34:02 +02:00
Patrik Nordwall
a128003391 doc: ReceiveBuilder is optional, #25755 (#27927) 2019-10-08 14:33:31 +02:00
Scala Steward
585eeea236 Update scalacheck to 1.14.2 (#27827) 2019-10-08 12:03:30 +00:00
Scala Steward
eed5ceedf5 Update sbt-scalafmt to 2.0.6 (#27828) 2019-10-08 12:03:15 +00:00
Patrik Nordwall
e350a7b71a Harden DowningProviderSpec, and detect terminated before initialized, #27840 (#27911)
* better error reporting if ActorSystem is terminated before it has been
  fully initialized
* handle exception in DowningProviderSpec
2019-10-08 13:53:57 +02:00
Christopher Batey
e741cd1dd5 Fix broken persistent fsm link (#27928) 2019-10-08 11:23:28 +00:00
Patrik Nordwall
e8a1556060
Streams TLS and Tcp with SSLEngine, #21753 (#27766)
* SSLEngine factory instead of SSLContext and AkkaSSLConfig parameters
  in TLS and Tcp
* Update TlsSpec to use SSLEngine
* Keep copy of old TlsSpec for test coverage of deprecated methods
* Update doc example of how to setup a SSLEngine
* full API and deprecations
* don't use default param values
* java doc example
* migration guide
* mima
* update to sslconfig 0.4.0
  * hostname verification changed in sslconfig, so use jvm verifier
* change to mima file
* update doc sample, init SSLContext once
* remove FIXME for halfClosed
2019-10-08 12:30:41 +02:00