Commit graph

23366 commits

Author SHA1 Message Date
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
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
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
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
Patrik Nordwall
7f0d331186
Merge pull request #26715 from longshorej/pp-typo
Fix a typo in PoisonPill warning
2019-04-15 08:46:09 +02:00
Patrik Nordwall
17e15e327c
Merge pull request #26687 from TisonKun/GH-26504
Replace WrappingBehavior with directly access of InterceptorImpl
2019-04-15 08:12:15 +02:00
Jason Longshore
52ee2b10a1 Fix a typo in PoisonPill warning 2019-04-12 15:29:53 -05:00
Jongbeom Kim
04d4185b1e Update Shape.scala (#26472)
Modify s")" to ")"
2019-04-12 08:04:51 +00:00
Patrik Nordwall
c06bbcc364
Merge pull request #26705 from akka/wip-revert-shard-patriknw
revert Shard constructor signature changes
2019-04-10 17:21:52 +00:00
Johan Andrén
e4ed594d20 Document the issue away... (and fix bug in supervision) #26706 2019-04-10 11:31:47 +00:00
Patrik Nordwall
75d3117d7d revert Shard constructor signature changes
* because it breaks instrumentation
2019-04-09 16:11:55 +00:00
yiksanchan
8376bee244 Replace deprecated expectNoMsg with expectNoMessage (#26695) 2019-04-08 16:14:42 +02:00
Jason Zaugg
e2dc818625 Fix typo in documentation (#26702) 2019-04-08 16:12:58 +02:00
Arnout Engelen
a70a193f5a
Fix akka-stream javadoc errors 2019-04-05 17:21:29 +02:00
Christopher Batey
f798481de5 Enable fatal warnings for cluster metrics and slf4j (#26678) 2019-04-05 17:06:02 +02:00