Commit graph

23565 commits

Author SHA1 Message Date
Christopher Batey
49d7d2fa9b Remove removed modules from AkkaDiscipline plugin (#27099) 2019-06-07 09:57:23 +02:00
Christopher Batey
6d7ad47571 Clarify what to do instead of sending a PoisonPill for ActorRef source (#27090)
* Clarify what to do instead of sending poison pill to actor ref source

* Fix typos in scala/java doc for Source.actorRef
2019-06-07 09:46:34 +02:00
Christopher Batey
508aa9970f
Decrease waiting-for-state-timeout to 2s (#27025)
* Decrease waiting-for-state-timeout to 2s

The timeout can be likely to happen for small clusters when the read
majority needs to go to every node

Refs #26710

* Restructure migration guide for 2.6

Separate out changes that require no user action unless the old
behavior is preferred

* Update akka-docs/src/main/paradox/project/migration-guide-2.5.x-2.6.x.md

Co-Authored-By: Arnout Engelen <github@bzzt.net>
2019-06-06 10:22:26 +01:00
Patrik Nordwall
c4bf933b3c
Merge pull request #27034 from akka/wip-26910-schedule-patriknw
scheduleWithFixedDelay vs scheduleAtFixedRate, #26910
2019-06-05 14:32:57 +02:00
Patrik Nordwall
10d32fceb9 scheduleWithFixedDelay vs scheduleAtFixedRate, #26910
* previous `schedule` method is trying to maintain a fixed average frequency
  over time, but that can result in undesired bursts of scheduled tasks after a long
  GC or if the JVM process has been suspended, same with all other periodic
  scheduled message sending via various Timer APIs
* most of the time "fixed delay" is more desirable
* we can't just change because it's too big behavioral change and some might
  depend on previous behavior
* deprecate the old `schedule` and introduce new `scheduleWithFixedDelay`
  and `scheduleAtFixedRate`, when fixing the deprecation warning users should
  make a concious decision of which behavior to use (scheduleWithFixedDelay in
  most cases)

* Streams
* SchedulerSpec
  * test both fixed delay and fixed rate
* TimerSpec
* FSM and PersistentFSM
* mima
* runnable as second parameter list, also in typed.Scheduler
* IllegalStateException vs SchedulerException
* deprecated annotations
* api and reference docs, all places
* migration guide
2019-06-05 11:38:04 +02:00
Christopher Batey
72cfc2485e
Netty is not optional for multi jvm test kit (#27072)
* Netty is not optional for multi jvm test kit

Netty is used internally and is always loaded even if artery is enabled.
That could be improved but for now netty is needed.

This fixes the Akka HTTP against master build
2019-06-05 10:22:26 +01:00
Patrik Nordwall
937cbaf328
Merge pull request #27074 from akka/wip-26932-timers-logging-patriknw
Remove too verbose debug logging for timers, #26932
2019-06-05 11:19:36 +02:00
Patrik Nordwall
5d8f1fd7f0
Merge pull request #27084 from chbatey/coordination-lease-timeout
Note about lease timeout and JVM pauses
2019-06-05 08:18:54 +02:00
Patrik Nordwall
cdae0f1321
Merge pull request #27088 from chbatey/jackson-doc-tweaks
Minor jackson doc tweaks
2019-06-05 08:11:07 +02:00
Patrik Nordwall
043ed601bc
Merge pull request #27087 from akka/wip-publish-file-patriknw
support akka.build.version=file
2019-06-04 20:11:35 +02:00
Christopher Batey
b777ec6509 Minor jackson doc tweaks 2019-06-04 16:43:54 +01:00
Patrik Nordwall
97b10273a6 support akka.build.version=file
* forward port from release-2.5 branch
* needed for nightly snapshots
2019-06-04 16:41:49 +02:00
Christopher Batey
6205646c17 Note about lease timeout and JVM pauses 2019-06-04 13:43:15 +01:00
Nicolas Vollmar
7075c7ad26 Adding improved warning when jdk8 is not found #26222 (#26789) 2019-06-04 12:19:39 +02:00
Arnout Engelen
f18f2c6559
Add common/io-layer to the ToC (#27018)
Solves part of https://github.com/akka/akka.github.com/issues/606
2019-06-03 16:54:01 +02:00
Helena Edelson
e5d9ce8cd3 Removed overly-enthusiastic-about-scala-sample exclamation point in doc (#27055)
* Removed overly-enthusiastic-about-scala-sample exclamation point in doc.

* And update the sample links while we're at it!
2019-06-03 16:36:42 +02:00
Patrik Nordwall
56eb1e3a7a
Merge pull request #27057 from chbatey/internal-markers
Internal stable markers
2019-06-03 16:34:26 +02:00
Patrik Nordwall
b9fa1e6cfc
Merge pull request #27063 from coreyauger/akka-docs-endpoint-typeo
fix typo
2019-06-03 16:28:16 +02:00
Patrik Nordwall
f051471d2c
Merge pull request #27065 from aafa/patch-1
Minor typo is fixed
2019-06-03 16:24:22 +02:00
Patrik Nordwall
327b17db0d Remove too verbose debug logging for timers, #26932 2019-06-03 15:49:41 +02:00
Charies Gavin
fa1643f949 Optimize Document Content (#27050) 2019-06-03 09:46:37 +02:00
Patrik Nordwall
375228273f
Improve logging in DistributedData extension (#27051)
* and don't load extension from ClusterReceptionist since that will
  trigger the warning logging if role is defined
2019-06-03 09:31:28 +02:00
Enno
c5e9b5918c
Set useful description in sbt setting (#27059) 2019-06-02 13:42:01 +02:00
Alex Afanasev
d3e7a90fb3
typo 2019-06-02 14:26:11 +03:00
Corey Auger
f0212f905a fix typeo 2019-05-31 15:13:56 -07:00
Enno
89544bcab1
Update links of moved modules to doc.akka.io (#27058) 2019-05-31 18:59:01 +02:00
Enno Runne
b64e4c48c7 Update links of moved modules to doc.akka.io [skip ci] 2019-05-31 16:17:02 +02:00
Christopher Batey
e7e628c831 Internal stable markers
A marker on a class means that its name shouldn't change, if any of its
methods should not change they will be marked as well
2019-05-31 14:15:09 +01:00
Arnout Engelen
eca459e461 Include fan-out operators in the operator index (#27028) 2019-05-31 12:56:25 +02:00
Bartosz Firyn
e61703bb4a Update reference.conf (#27048) 2019-05-31 11:27:56 +02:00
Johan Andrén
8ddd82af7b
FJP starvation spec #26973
This doesn't change the fact that the FJP in JDK 11 is less fair but makes the test pass:

* Disable serialize messages to make each message processing less CPU-intense
* Tune the throughput down to the default (was a very high value, 100), so less messages are worked through in one batch of internal dispatch.
2019-05-31 09:14:19 +02:00
Christopher Batey
e855db8825
Harden RemotingSpec: Retry if address is taken (#26795)
* Harden RemotingSpec: Retry if address is taken

The test requires that the ActorSystem not be started when doing the
selection to using port = 0 is not an option.

Fixes #25657
2019-05-30 10:59:01 +01:00
Helena Edelson
9f19e4972b
Better indicator of ActorRefProvider implementation selection (#27012) 2019-05-29 12:01:02 -07:00
Christopher Batey
bb2b59d7c2
Don't log internal messages as an event (#27014)
* Don't log internal messages as an event
2019-05-29 15:21:16 +01:00
Christopher Batey
6754bf7f73 Remove JavaTestkit (#27022)
* Remove JavaTestKit

* mima

* Also remove Caching partial function

* Formatting

* Update akka-docs/src/main/paradox/project/migration-guide-2.5.x-2.6.x.md

Co-Authored-By: Arnout Engelen <github@bzzt.net>
2019-05-29 15:45:20 +02:00
Christopher Batey
3888de23ed Remove ApiMayChange from coordination module (#27026)
Note that it will be fully stable in 2.6.0 so no guarantees for milestones before that.

* remove api may change from sharding lease settings
* mima
* Remove settings from module
2019-05-29 15:41:16 +02:00
Christopher Batey
37f42d3220 Remove API may change from akka typed (#27027)
Note that it will become fully stable in 2.6.0 so this doesn't mean that there will be no more API changes.

* Remove from event sourced behavior
* Remove api may change settings from typed modules
* Dont check mima for typed until 2.6
2019-05-29 15:38:14 +02:00
Patrik Nordwall
11453aad5d
Merge pull request #27045 from chbatey/scalafmt-RC7
Upgrade scalafmt to 2.0.0-RC7
2019-05-29 15:21:11 +02:00
Johan Andrén
515be3a085
No printlns on my guard (#27046) 2019-05-29 13:43:36 +02:00
Christopher Batey
c46a75247a Upgrade scalafmt 2019-05-29 10:20:45 +01:00
Christopher Batey
96eed177dc
Make netty and aeron dependencies optional (#27017)
* Make netty and aeron dependencies optional
* Include agrona as a mandatory dependency (used in compression tables)
Refs #25169
2019-05-29 09:50:28 +01:00
Arnout Engelen
cd6d90097e
Use travis stages (#27032)
* Use travis stages (#27015)

* 'include' jobs

* run test for both scala versions
2019-05-29 09:48:54 +02:00
Arnout Engelen
34ac92df72
Fix some documentation whitespace (#27036) 2019-05-29 09:48:13 +02:00
Johan Andrén
fd45fcf58e
Complete ZipLatest when upstream completes without emitting #26711 2019-05-29 08:43:09 +02:00
Johan Andrén
e6cdb01aa1
Delegate stop method on TestKitJunitResource #27007 2019-05-29 08:29:49 +02:00
Christopher Batey
e7672a9802
Remove various features deprecated since 2.5.0 (#27023)
* Remove various features deprecated since 2.5.0
2019-05-29 07:10:40 +01:00
Christopher Batey
28fbd28e7a
Various internal stable markers (#27004) 2019-05-29 07:09:12 +01:00
Eric Loots
31f6170c62 Fix typo in expanded SRV query (#26998)
The "serviceName" is not prepended with an underscore when querying
for a DNS SRV record.
2019-05-27 15:32:57 +02:00
Johannes Rudolph
1bc9a5f388 act: TcpConnection: ignore late signals from SelectionHandler while shutting down (#26996) 2019-05-27 13:34:32 +02:00
Patrik Nordwall
7bd0cc746f
Merge pull request #27021 from akka/wip-release-script-213-workaround-patriknw
workaround in release script for missing Jackson dependency for Scala 2.13.0-RC2
2019-05-24 12:25:21 +02:00