Commit graph

24457 commits

Author SHA1 Message Date
Arnout Engelen
4908493a28 Document how to report security issues (#28410)
* and some general updates to CONTRIBUTING.md
* Mention headers are automatically added
2019-12-19 17:59:29 +01:00
Helena Edelson
7f733b4504
Remove the default reschedule=true arg to internal checkReceiveTimeout (#28399) 2019-12-19 07:00:51 -08:00
Patrik Nordwall
2c15c8d753
Merge pull request #28401 from akka/wip-28393-reachable-log-patriknw
fix wrong logging of REACHABLE, #28393
2019-12-19 14:02:14 +01:00
Patrik Nordwall
c2b9d65ffe
Merge pull request #28409 from bwignall/typo_leven
Fix typos, via a Levenshtein-style corrector
2019-12-19 12:55:10 +01:00
Patrik Nordwall
c5d516175e Ignore mockito updates (#28408)
* because it's not important part of our testing
2019-12-19 09:00:37 +01:00
Brian Wignall
fd41299943 Fix typos, via a Levenshtein-style corrector 2019-12-19 01:57:55 -05:00
Patrik Nordwall
e0a1110794
Merge pull request #28397 from scala-steward/update/mockito-core-3.2.4
Update mockito-core to 3.2.4
2019-12-18 15:43:04 +01:00
Patrik Nordwall
d5da313a4b fix wrong logging of REACHABLE, #28393 2019-12-18 10:59:56 +01:00
Arnout Engelen
7c20800432 Better short titles for deprecated operators (#28336) 2019-12-17 16:42:30 -08:00
Patrik Nordwall
99dd41421d dead scaladoc links to log markers (#28339) 2019-12-17 16:41:01 -08:00
Didac
da0a906b08 Added correct ordering for TimeBasedUUID offset (#28387) 2019-12-17 16:39:45 -08:00
Johan Andrén
aa2493c475 ReceiveTimeout in preStart lost on restart #28266 (#28385) 2019-12-17 16:28:39 -08:00
Scala Steward
9dd0cb0f3c
Update mockito-core to 3.2.4 2019-12-17 21:34:38 +01:00
Scala Steward
a9d1a7f8b9 Update HdrHistogram to 2.1.12 (#28376) 2019-12-17 17:17:11 +01:00
Sebastian Schmidl
f26aace607 Add .withRouteeProps(props) to pool router builder API (akka typed) #28370 2019-12-17 17:08:43 +01:00
Robert Stoll
0ea1dea99d [doc] unhandled vs empty vs ignore #27443 2019-12-17 14:24:32 +01:00
Helena Edelson
64aa08c481
EventSourcedBehavior not failing with DeathPactException for unhandled Terminated() signals (#28358) 2019-12-17 05:22:09 -08:00
Patrik Nordwall
00fc33d0a5 Timout await extension initialization, #28301 (#28340)
* use the existing creation-timeout config
* and error message about the typical mistake of accessing
  SerializationExtension from constructor of serializer
* mention in docs
2019-12-17 14:19:42 +01:00
Arnout Engelen
ffe769b4df
Enable 'adapted args' warnings globally (#28391)
* Enable 'adapted args' warnings globally

* Nicer tuple notation
2019-12-17 13:31:34 +01:00
Helena Edelson
8948e4b6ce Fixing test compiler warnings. (#28388) 2019-12-17 13:31:21 +01:00
Helena Edelson
9e0fd9451c Refactor First and Join seed node processes to shared logic for dry and logic hardening (#28379) 2019-12-16 15:18:24 +01:00
Johan Andrén
4df5376dcb
Docs on fromSinkAndSource #25468 (#28349) 2019-12-16 15:01:45 +01:00
Arnout Engelen
3a35851fef
use sbt-dynver (#27042) 2019-12-16 14:33:17 +01:00
Robert Stoll
b5576870fc [doc] document TypeKey in persistence (#28369)
* [doc] document TypeKey in persistence

* [doc] document TypeKey in persistence

* [doc] document TypeKey in persistence

* [doc] update to suggestion of raboof
2019-12-16 13:49:18 +01:00
Arnout Engelen
c337bf5287 Remove use of getClass in secondary constructors (#28355)
* Remove use of getClass in secondary constructors

As this is not allowed anymore on newer versions of scala, and likely
didn't work correctly in the past either

This might make selecting unique actor system names for test
actor systems a bit less reliable, but that didn't seem to be
critical anyway.

Thanks to @som-snytt for the heads-up and initial implementation
in #28353

* Avoid AkkaSpec.getCallerName in MultiNodeClusterShardingConfig

* StreamSpec can be abstract

* Use more sophisticated test class name logic

* scalafmt
2019-12-16 13:04:09 +01:00
Johan Andrén
8a019f86a1
JFR-based remoting flight recorder #26282 2019-12-16 11:45:13 +01:00
Yaroslav Klymko
02db62bd73 #28373 Include akka-testkit into version match (#28374) 2019-12-16 11:32:03 +01:00
Scala Steward
2ab714cd71 Update sbt to 1.3.5 (#28377) 2019-12-16 10:18:59 +01:00
Helena Edelson
cb6c9dda77
Minor scaladoc fix and cleanup. (#28368) 2019-12-13 12:16:40 -08:00
Arnout Engelen
a3ca3a3fca Perform MiMa checks against 2.6.1 (#28324)
* Exclude jdk9+-specific classes from mima

as in https://github.com/akka/akka/pull/24297#issue-162564159
2019-12-13 17:05:16 +01:00
Arnout Engelen
21fbfe6724
Add checkTestsHaveRun task to check tests have run (#28350)
Extend JUnitSuite to make sure the test is included in the report.

After merging this, nothing would happen. We should then invoke
`checkTestsHaveRun` from the jenkins nightly builds. That should then
fail the build until we merge #28347 and switch the nightly builds
to run on JDK11.
2019-12-13 11:29:20 +01:00
Patrik Nordwall
7d51a8d5f9
Merge pull request #28348 from akka/wip-27189-partition-patriknw
Partition must not pull from closed in, #27189
2019-12-12 14:11:23 +01:00
Patrik Nordwall
7ddbaf3852
Merge pull request #28361 from tegonal/persistence-style-1
[doc] adjust link text to next section
2019-12-12 13:57:48 +01:00
Arnout Engelen
2a812b7dc6 stream operator docs: example above RS semantics (#28357) 2019-12-12 11:07:16 +00:00
Patrik Nordwall
d115b61821
Merge pull request #28360 from WadeWaldron/stash-docs
Adding a clarification to the Akka Classic stash documentation about what happens when an actor is restarted.
2019-12-12 11:59:10 +01:00
Patrik Nordwall
0d7ad2794b
fix concurrent access to CompressionTable Object2IntHashMap (#28363)
* better initial capacity
  * small for empty
  * 2x to avoid resize
2019-12-12 10:41:22 +01:00
Robert Stoll
ded2373941 [doc] an for a better flow (#28359)
* [doc] `an` for a better flow

* [doc] fix typo `an` instead of `a`

* [doc] more `an` vs `a`

* [doc] add `a` for a better flow

* [doc] typo processes

* [doc] `in case` instead of `due to that`

* [doc] rephrase stashing discard reasons
2019-12-12 09:32:09 +01:00
Robert Stoll
569ff0495a
[doc] adjust link text to next section
and add the missing `the`
2019-12-12 06:41:26 +01:00
wadewaldron
325209b65f Adding a clarification to the Akka Classic stash documentation about what happens when an actor is restarted. 2019-12-11 15:42:30 -06:00
Michał Sieczkowski
3c1c06fb88 Fix a single grammar error in docs (#28352) 2019-12-11 07:45:13 -08:00
Patrik Nordwall
5a69d7ad1c Log non-completed rebalance at warning level (#28335) 2019-12-11 15:42:36 +01:00
Christopher Batey
17533f077c Example for intersperse (#28343) 2019-12-11 15:39:41 +01:00
Patrik Nordwall
1e67d9221e
Merge pull request #28342 from akka/wip-reference-comment-patriknw
typo in reference.conf comment
2019-12-11 12:20:13 +01:00
Patrik Nordwall
4c16857d6d
Remove allocation of Some from CompressionTable (#28330)
* JFR TLAB allocations showed that Some was allocated by the CompressionTable
  in the hot path of outbound stream
* CompressionTable.compress is called several times for each message
* This doesn't matter for the tcp transport since there are so many
  other allocations, but for aeron-udp it's nice to remove since it's
  pretty much the only allocation in the outbound stream
* equals for tests
2019-12-11 12:18:58 +01:00
Patrik Nordwall
75c5155582
remove logging of full config in ConfigDocSpec (#28314)
* changed to compile only, since it's not testing anything
2019-12-11 12:18:07 +01:00
Christopher Batey
edaea382ad Clarify typed timeout is not for akka typed (#28354) 2019-12-11 09:41:55 +01:00
Patrik Nordwall
b99db2a501 Remove wrong import from hello world doc sample, #28169 (#28345) 2019-12-11 08:00:15 +00:00
Patrik Nordwall
2a0e967be3 Supress ActorSelectionMessage with DeadLetterSuppression, #28226 (#28341)
* for example the Cluster InitJoin message is marked with DeadLetterSuppression
  but was anyway logged because sent with actorSelection
* for other WrappedMessage than ActorSelectionMessage we shouldn't unwrap and publish
  the inner in SuppressedDeadLetter because that might loose some information
* therefore those are silenced in the DeadLetterListener instead
2019-12-11 07:58:25 +00:00
Patrik Nordwall
0008f1f400 Partition must not pull from closed in, #27189 2019-12-10 17:33:11 +01:00
Patrik Nordwall
ecb87a8399 typo in reference.conf comment 2019-12-10 13:38:39 +01:00