Commit graph

24050 commits

Author SHA1 Message Date
Patrik Nordwall
a217d5566e
Remove auto-downing, #27788 (#27855)
* moved to cluster tests, in new package akka.cluster.testkit
* changed config in tests
* migration guide
* documentation clarificiations for Downing and Leaving
* update warnings in Singleton and Sharding
2019-10-03 14:08:43 +02:00
Patrik Nordwall
064f06f5a6 supervision in AdapterClusterImpl (#27862)
* methods like cluster.join and cluster.subscribe may throw exception if called
  with invalid parameters
* the manager and subscriptions actors should survive such exceptions
2019-10-03 08:02:29 +01:00
Patrik Nordwall
b544359502 move AdapterExtension to internal package (#27865) 2019-10-03 08:00:40 +01:00
Arnout Engelen
978b7d2e0f Don't duplicate CrossJava logic (#27842) 2019-10-02 20:02:40 -07:00
Marcos Pereira
92b9db5858 Jackson 2.10.0 (#27814)
* Update Jackson to 2.10.0

* Support configuration for new features introduced in Jackson 2.10

* WRITE_DURATIONS_AS_TIMESTAMPS is the new config used to serialize durations

Previously WRITE_DATES_AS_TIMESTAMPS was used for both date/time and duration, but
in Jackson 2.10 WRITE_DURATIONS_AS_TIMESTAMPS is used for durations, so it needs to
be configured consistently with WRITE_DATES_AS_TIMESTAMPS.
2019-10-02 19:58:11 -07:00
Patrik Nordwall
619f821e8d
Merge pull request #27844 from akka/wip-doc-minor1-patriknw
doc: minor fix of remoting-artery.md
2019-10-01 19:11:27 +02:00
Patrik Nordwall
330040a614
Merge pull request #27846 from akka/wip-doc-minor2-patriknw
doc: use ref links
2019-10-01 19:11:02 +02:00
Patrik Nordwall
51a3aa98c9
doc: improve docs of Cluster joining (#27821)
* some were lost or became confusing in previous refactoring
* ref links
2019-10-01 19:10:36 +02:00
Patrik Nordwall
c6762f3f92
Merge pull request #27843 from akka/wip-27429-patriknw
Clarify ORMap docs on replacing entries
2019-10-01 16:39:32 +02:00
Patrik Nordwall
1a90d45bdd
Only allow deserialization for know classes in ProtobufSerializer, #27730 (#27731)
* similar approach as in JacksonSerializer
2019-10-01 16:20:35 +02:00
Patrik Nordwall
5d055b72a2
Merge pull request #27685 from jrudolph/mima-subdirectory-style
Convert 2.5.x MiMa excludes to subdirectory style
2019-10-01 15:46:59 +02:00
Patrik Nordwall
5fac46c703 doc: use ref links
* always use ref links for internal links, also within same page
* to benefit from link and anchor checking
2019-10-01 15:29:13 +02:00
Patrik Nordwall
c6ebb3f0f6 doc: minor fix of remoting-artery.md 2019-10-01 15:02:29 +02:00
James Roper
6c05bea261 Clarify ORMap docs on replacing entries 2019-10-01 14:41:32 +02:00
Patrik Nordwall
681f58677a
Merge pull request #27808 from akka/wip-LogMarker-patriknw
Remove LogMarker leftover
2019-10-01 14:10:27 +02:00
Patrik Nordwall
77ecb2e627
Merge pull request #27810 from akka/wip-more-deprecation-1-patriknw
Deprecate akka.Main
2019-10-01 14:06:37 +02:00
Patrik Nordwall
0dbe78259c
Merge pull request #27813 from ignasi35/patch-6
typo
2019-10-01 14:05:57 +02:00
Johannes Rudolph
650068aa45
Convert 2.5.x MiMa excludes to subdirectory style
Using this script:

```sh

set -ex

FILE=$1
DIR=`dirname $FILE`
TMP_FILE=$DIR/_existing.excludes
FINAL_FILE=$DIR/2.5.x.backwards.excludes/_existing.excludes

mv $FILE $TMP_FILE
mkdir $DIR/2.5.x.backwards.excludes
(echo "# This file contains all excludes added before changing to the subdirectory style" && cat $TMP_FILE) > $FINAL_FILE
rm $TMP_FILE
git add $FINAL_FILE
```
2019-10-01 13:59:56 +02:00
Helena Edelson
ba67d6205c A few more removals of use of typed, where makes sense, #24717 (#27819)
Remaining ones I think are still needed still
2019-10-01 13:55:08 +02:00
Arnout Engelen
8fd4fa2c1f Update sbt to 1.3.2 (#26935)
* Don't set a MaxMetaspaceSize for sbt
* Update mima as well
2019-10-01 13:49:02 +02:00
Patrik Nordwall
61ad10c7ee
Merge pull request #27829 from johanandren/wip-26975-replicatorpruningspec-fail
Try to get root cause of timeout in ReplicatorPruningSpec
2019-10-01 13:37:28 +02:00
Patrik Nordwall
5182884207
Merge pull request #27833 from akka/scmInfo
Make scm section consistent with previous releases
2019-10-01 13:34:20 +02:00
Scala Steward
6b17a7a15f Update scalafmt-core to 2.1.0 (#27831)
* Update scalafmt-core to 2.1.0

* scalafmt
2019-10-01 12:24:51 +02:00
Patrik Nordwall
b10a83ad9b Same logic for onRecoveryFailure in ReplayingSnapshot as ReplayingEvents, #27526 (#27530) 2019-10-01 12:24:36 +02:00
Johan Andrén
f6ebff6e27 EventsourcedBehaviorRetentionSpec race fix (#27532)
* Not working for mysterious reasons

* Fix for #27507 race in test

Logging at debug to try if there is a race when testing on Jenkins

Also, fail fast if expecting a signal from a TestProbe (never happens)
Some minor logging improvements for event sourced behavior as well.

* Don't send batches of events when snapshot and event deletion is enabled

When events are deleted the event sourced actor switches to running until it gets
an ack back from the journal about deleting events, then it deletes snapshots if that
is enabled. This means events and snapshotting could happen inbetween making the
ordering of SnapshotComplete and DeleteSnapshotsComplete signals non deterministic.
2019-10-01 12:23:13 +02:00
CloudCalvin
e0192470ec Fix typo (#26927) 2019-10-01 12:08:27 +02:00
Arnout Engelen
973d913878
Make scm section consistent with previous releases
Follow-up on #27817
2019-10-01 10:11:15 +02:00
Patrik Nordwall
24afac6629 Define ScmInfo (#27817)
* it was previously added by sbt-git, but we removed that plugin
2019-10-01 09:01:33 +02:00
Patrik Nordwall
71e1978d64
Merge pull request #27830 from ignasi35/dont-leak-testkit-as-dependency
Remove unnecessary dependency
2019-10-01 07:50:37 +02:00
Ignasi Marimon-Clos
861034de38 Remove unnecessary dependency 2019-09-30 19:03:22 +02:00
Johan Andrén
2503b13138 Try to get root cause of timeout in ReplciatorPruningSpec #26957 2019-09-30 18:18:28 +02:00
Arnout Engelen
3b17c01c68
Update to Scala 2.12.10 (#27734) 2019-09-30 16:22:13 +02:00
Enno
9b8c72fadd Docs: Akka Discovery links to Akka Management (#27824) 2019-09-30 15:54:33 +02:00
Helena Edelson
8e9ba9e0e7
Add HTML meta page descriptions for the most important landing pages (#27818) 2019-09-30 06:38:26 -07:00
Arnout Engelen
f30b40ca8d
Make running mima in PrValidation optional (default enabled) (#27812)
So we can run it on travis but skip it on jenkins.
2019-09-30 12:40:22 +02:00
Patrik Nordwall
f97e31d087
Merge pull request #27822 from akka/wip-doc-singleton-patriknw
doc: duplicate singleton lease section
2019-09-30 10:38:18 +02:00
Patrik Nordwall
c5187441bb
Merge pull request #27820 from akka/wip-24717-doc-link-patriknw
more cross-links to Classic docs, #24717
2019-09-30 10:37:47 +02:00
Patrik Nordwall
5acb33adb5 doc: duplicate singleton lease section 2019-09-29 21:09:20 +02:00
Patrik Nordwall
3051928c9d more cross-links to Classic docs, #24717 2019-09-29 19:48:14 +02:00
Matthias Kurz
04ac08e5cc Fix Travis: Update AdoptOpenJDK (#27815) 2019-09-29 15:02:23 +02:00
Ignasi Marimon-Clos
67c7d5ed35
typo 2019-09-27 17:29:33 +02:00
Patrik Nordwall
53be885701 Remove LogMarker leftover 2019-09-27 12:39:51 +02:00
Patrik Nordwall
325f31fe72 Deprecate akka.Main 2019-09-27 11:49:39 +02:00
Patrik Nordwall
91db18b564 ActorContext as constructor parameter in AbstractBehavior, #27689 (#27806)
* ActorContext as constructor parameter in AbstractBehavior, #27689

* additional test

* additional doc clarification

* another rebase
2019-09-27 11:17:37 +02:00
Johan Andrén
0719de035b
General concepts docs ported to typed (#27765) 2019-09-27 09:50:34 +02:00
Helena Edelson
ea74f905ea Cluster Singleton - General Typed docs cleanup after all API changes #24717 (#27801) 2019-09-27 09:18:15 +02:00
Patrik Nordwall
a7c43cf573
Config to exclude class prefix from serialize-messages, #24273 (#27517)
* Config to exclude class prefix from serialize-messages, #24273

* Adding no-serialization-verification-needed-class-prefix, with "akka." included
  by default
* This is important now when we disable Java serialization by default.
  There will be many complaints about Akka internal classes that are not marked with
  NoSerializationVerificationNeeded, and we can't really sprinkle that everywhere.
* Not removing NoSerializationVerificationNeeded usage in Akka classes because that
  may break bin compat, even though it's needed any more.

* fix DisabledJavaSerializerWarningSpec
2019-09-26 22:51:12 +02:00
Johan Andrén
4f9a4b5403 System materializer guardian (#27723)
* Eager creation of system materializer on system startup #26850

* System level materializers always spawned under a specific system actor #26850

* No need for RepointableActorRef logic anymore

* MiMa filter

* Make the creation timeout higher
2019-09-26 22:49:33 +02:00
Patrik Nordwall
1a90e715f5
Cleanup persistence docs, #24717 (#27779) 2019-09-26 22:48:12 +02:00
Helena Edelson
94cc028986 Distributed Data: General Typed docs cleanup after all API changes (#27783) 2019-09-26 17:14:08 +02:00