Commit graph

23530 commits

Author SHA1 Message Date
Patrik Nordwall
5620c4af9d
Merge pull request #26727 from chbatey/issue-26527
Clarify scaladoc for restarting an infinite number of times
2019-04-23 18:58:47 +02:00
Patrik Nordwall
82c8f284fe
Merge pull request #26794 from nvollmar/wip-26793-discard-handover-end-nvo
Discards HandOverToMe in state End to avoid unhandled message warning
2019-04-23 15:26:44 +02:00
Nicolas Vollmar
e866e3fc70 Discards HandOverToMe in state End to avoid unhandled message warning #26793 2019-04-23 14:43:11 +02:00
Christopher Batey
517ee4c581 Fix race in ActorModelSpec #26773
Use separate probes for watching so order doesn't matter
2019-04-23 12:49:10 +02:00
Martynas Mickevičius
2184a617a3 Drop MiMa filters for 2.4.x (#26781) 2019-04-23 09:24:29 +02:00
Helena Edelson
f320ddc0de Add Travis build status badge and fix Scaladex latest version badge #26782 2019-04-23 08:56:35 +02:00
Justin Pihony
06b6c7f034 Fix minor typo in docs (#26778) 2019-04-22 07:27:14 -07:00
Arnout Engelen
8394f7c33d Update MiMa: drop 2.4, add 2.5 (#26765)
* Update MiMa: drop 2.4, add 2.5

We promise binary compatibility across minor versions, which would in theory
mean we should check compatibility between 2.4 and 2.6.

However, since 2.4 is EOL, we no longer guarantee bincompat with it. In
practice this should not make much of a difference, since only in rare cases
would a change be binary compatible with 2.5 but not with 2.4.

* Don't run 2.11 on travis
2019-04-19 07:54:25 +01:00
Christopher Batey
0ab7a96ae2
Remove Scala 2.11 for Akka 2.6 (#26760)
* Remove Scala 2.11 for Akka 2.6

* Remove unused import

* Update akka-actor/src/main/scala-2.13/akka/compat/Future.scala

Co-Authored-By: chbatey <christopher.batey@gmail.com>

* Update akka-actor/src/main/scala-2.13/akka/compat/Future.scala

Co-Authored-By: chbatey <christopher.batey@gmail.com>

* Remove last few bits of 2.11
2019-04-19 07:53:27 +01:00
Johannes Rudolph
d6eb1f237c Update to sbt-scalafmt 2.0.0 (#26777)
This should have the performance improvements in.
2019-04-18 17:46:12 +02:00
James Roper
f9c3c3622c Allow TCP unbind to be invoked multiple times (#26771)
To gracefully shutdown Akka HTTP, you need to first unbind the server,
then terminate the connections. Akka HTTP's ServerBinding.terminate
though also unbinds the server first, which I think is a sensible thing
to do and there's no need to change that behavior, and in theory it's ok
because unbind is immutable. However, the result of invoking unbind
twice in most real world use cases will be that an Unbind message will
get sent to the already terminated TCP stage, and that message will be
dead lettered.

This does a best effort at preventing that. While it doesn't prevent it
in all scenarios (the stage could be unbinding while the Unbind message
is being sent), in practice it will prevent it in all reasonable
scenarios, because generally, terminate will only be inovked after the
unbind future has been redeemed, either by directly mapping it, or
through attachment to different coordinated shutdown stages.
2019-04-18 09:06:30 +02:00
Arnout Engelen
87354a6c9e Fix expected serialized bytes for 2.13 (#26766) 2019-04-17 15:54:28 +02:00
Johannes Rudolph
e9bc7b231c
Merge pull request #26763 from akka/fixAkkaActorTypedDocs
Fix akka-actor-typed scaladoc
2019-04-17 11:41:41 +02:00
Johannes Rudolph
4c9783a2dc
Merge pull request #26762 from chbatey/fix-cluster-round-robin-spec
Fix regression in ClusterRoundRobinSpec
2019-04-17 11:41:02 +02:00
Christopher Batey
d75d44de4a Fix regression in MultiDcHeartbeatTakingOverSpec introduced by removing compiler warnings (#26761) 2019-04-17 11:25:59 +02:00
Arnout Engelen
aaa77399d0
Fix akka-actor-typed scaladoc 2019-04-17 10:42:22 +02:00
Christopher Batey
aca530d93b Fix regression in ClusterRoundRobinSpec 2019-04-17 08:34:47 +01:00
Arnout Engelen
306187046f
Fix multi-node-testkit warnings (#26754) 2019-04-16 20:26:38 +02:00
Arnout Engelen
e390f1397b
Fix warnings in akka-remote (#26735) 2019-04-16 20:26:09 +02:00
Christopher Batey
8dd6f790bd Remove warnings in akka-cluster (#26739)
Also undeprecate isTerminated but mark it internal
2019-04-16 19:10:31 +02:00
Arnout Engelen
7372d2b735
Fix remaining akka-testkit warnings (#26752)
* Fix remaining akka-testkit warnings

Mostly in tests and 2.13

* Add issue link

* MiMa exclude for multi-node-testkit

We don't promise bincompat there anyway, but perhaps good to keep mima there
so at least we don't break things accidentally
2019-04-16 18:33:38 +02:00
Arnout Engelen
eed1638361
Fix 'unmoored scaladoc comment' error (#26758) 2019-04-16 18:02:18 +02:00
Christopher Batey
d17d303110
Remove warnings in persistence typed module (#26748) 2019-04-16 16:12:28 +01:00
Christopher Batey
3abc3583b6
Remove warnings in akka-cluster-sharding-typed (#26747)
* Remove warnings in akka-cluster-sharding-typed

* Revert entity create in java dsl and actor benchmark changes
2019-04-16 15:09:41 +01:00
Arnout Engelen
e500dda6b7 Fix warnings in akka-actor-typed (#26738) 2019-04-16 15:55:36 +02:00
Christopher Batey
1820b982bf Remove warnings in akka stream testkit module (#26751) 2019-04-16 15:13:21 +02:00
filipMatusak
5960924afa ClusterSharding: increasing retry interval for registration call, #25191 2019-04-16 13:58:51 +02:00
Christopher Batey
b26655705a Remove warnings in persistence query module (#26749) 2019-04-16 13:37:04 +02:00
Patrik Nordwall
97756361f3 fix SupervisorHierarchySpec failure (changed in warnings cleanup), #26734 2019-04-16 12:27:39 +02:00
Helena Edelson
5576c233d0 Clean up Java version related build properties #26662 2019-04-16 09:10:42 +02:00
Christopher Batey
3811da6509 Remove future from discipline settings (#26725)
It isn't related to discipline
2019-04-16 09:09:46 +02:00
Arnout Engelen
e3932e5dfa Fix warnings in akka-osgi #26088 2019-04-16 09:09:00 +02:00
mszczygiel
d4813b91c3 Support for null in mapAsync and fromCompletionStage #25475 2019-04-16 09:08:05 +02:00
Arnout Engelen
549ccb78a6 Fix akka-actor-testkit-typed warnings (#26741)
* Fix akka-actor-testkit-typed warnings
* 2.13 deprecation
2019-04-15 13:11:07 -07:00
Patrik Nordwall
383c0d3ba6
Merge pull request #26743 from akka/wip-26719-allow-disable-join-chk-patriknw
Support disable of join compat config check, #26719
2019-04-15 20:27:58 +02:00
Patrik Nordwall
d52389a982
Merge pull request #26740 from akka/wip-26724-ClusterShardingFailureSpec-patriknw
fix wrong BackoffOpts in ClusterSharding, #26724
2019-04-15 17:42:58 +02:00
Patrik Nordwall
0ae7c3a618
Merge pull request #26742 from akka/wip-26733-long-int-patriknw
Long is not an Int, #26733
2019-04-15 17:41:48 +02:00
Patrik Nordwall
a5e9741d35 replace unicode arrows again (#26732) 2019-04-15 15:40:26 +00:00
Patrik Nordwall
caa1752206 Support disable of join compat config check, #26719 2019-04-15 17:23:05 +02:00
Patrik Nordwall
e320846f2b Long is not an Int, #26733
* changed when fixing warnings
2019-04-15 15:55:45 +02:00
Patrik Nordwall
df53d1b10d fix wrong BackoffOpts in ClusterSharding, #26724
* note that this regression was never released, change was after 2.5.22
2019-04-15 15:34:32 +02:00
Arnout Engelen
ee67c113e5
Enable fatal warnings by default (with excludes) #26088 (#26726) 2019-04-15 11:39:38 +00:00
Patrik Nordwall
87e7e6518c Fix startup race condition in ActorRefSource, #26714
* fallback to sending message if materializer.supervisor RepointableActorRef
  is not started
* not nice to use Await, but should be rare and that is also used in
  ActorMaterializer.actorOf for similar thing
* also harden test of CompletionStrategy.Immediately, which
  failed if Thread.sleep(100) in RepointableActorRef.point
2019-04-15 11:18:34 +00:00
Stefano Bonetti
1ad174cf8c =str #25045 adding Java/Scala interop to SourceQueue and SinkQueue
adding MiMa filters

preserving binary compat
2019-04-15 11:42:06 +02:00
Patrik Nordwall
f33a181fd6
Merge pull request #26707 from johanandren/wip-typed-intercept-shared-state-johanandren
Document interceptor instance sharing in typed
2019-04-15 11:41:14 +02:00
Christopher Batey
10e525062a Compiler warnings for actor-tests and remote-tests (#26685) 2019-04-15 08:54:16 +00:00
Christopher Batey
2506d00996 Clarify scaladoc for restarting an infinite number of times
Closes #26527
2019-04-15 08:58:57 +01:00
Patrik Nordwall
4399e499c4
Merge pull request #26628 from akka/migrationGuide
Remove ancient streams migration guide
2019-04-15 09:25:26 +02:00
Patrik Nordwall
8c2edd1bf0
Merge pull request #26693 from akka/fixDocs
Fix akka-stream javadoc errors
2019-04-15 09:20:36 +02:00
Helena Edelson
392b4baf20 Compiler warnings for actor-testkit #26708 (#26716) 2019-04-15 07:11:24 +00:00