Commit graph

23840 commits

Author SHA1 Message Date
Johan Andrén
83a08ba4c1 Race condition in BackoffSupervisorSpec fixed #27556 (#27564)
Also cleaned up some expected log output.
2019-08-27 10:46:04 +02:00
Arnout Engelen
b1746d6258
Fix race when binding to port '0' in artery tcp (#27525)
* Fix race when binding to port '0' in artery tcp

Splitting the 'binding' and 'starting inbound streams' seems to make
it a bit easier to follow as well
2019-08-27 10:26:15 +02:00
Arnout Engelen
3c018c044f
Add monitoring section (#27486)
* Add monitoring section (#27223)

* Make it a little less sparse

* Update akka-docs/src/main/paradox/additional/monitoring.md

Co-Authored-By: Peter Vlugter <pvlugter@users.noreply.github.com>

* Further suggestions

* Update akka-docs/src/main/paradox/additional/observability.md

Co-Authored-By: Helena Edelson <helena@users.noreply.github.com>
2019-08-27 10:18:58 +02:00
Arnout Engelen
0357f763c3
Update sbt-reproducible-builds (#27545) 2019-08-27 09:28:05 +02:00
Arnout Engelen
6a32c00b80
Remove explicit scala-xml test dependency (#27561)
This one is old and a newer one is coming in transitively anyway
2019-08-26 16:02:48 +02:00
Johan Andrén
45c826a218
System wide materializer (#27491)
Introduces a materializer started through an extension and then an implicit
conversion for Scala turning an implicitly available ActorSystem into a
materializer. The Java APIs has been ammended with run-methods accepting
an ActorSystem.
2019-08-23 18:19:27 +02:00
Patrik Nordwall
77d1d33dbc
Merge pull request #27450 from chbatey/utilities-docs-cleanup
Clean up of utilities docs
2019-08-23 16:54:30 +02:00
Christopher Batey
d6289c7e7c Clean up of utilities docs
* Removes sections that describe language features: Futures and Duration
* Keeps section for logging and circuit breaker
* Keep logging as is for now, to be updated with the Typed SL4J logging

Creates issues for
* Documenting typed extensions https://github.com/akka/akka/issues/27448
* Future interactions in https://github.com/akka/akka/issues/27449

Refs #27223

Add redirects from removed pages to 2.5 docs

Make indexes complete and fix link

'Classic' in the title for docs for classic API's
2019-08-23 14:54:20 +02:00
Patrik Nordwall
df34e548bf
Merge pull request #27542 from akka/wip-24717-doc-apply-style2-patriknw
doc: stylish coexisting.md, #24717
2019-08-23 13:49:38 +02:00
Patrik Nordwall
b6f4e768aa
Merge pull request #27541 from akka/wip-24717-doc-apply-style1-patriknw
doc: stylish actors.md, #24717
2019-08-23 13:49:05 +02:00
Patrik Nordwall
d3fd3e6319
Merge pull request #27540 from akka/wip-24717-doc-actors-patriknw
doc: Rewrite general actors page, #24717
2019-08-23 13:48:00 +02:00
Patrik Nordwall
cf8e23be79 fix signal handler 2019-08-22 14:50:50 +02:00
Patrik Nordwall
c22b4bca40 doc: stylish coexisting.md, #24717 2019-08-22 12:14:23 +02:00
Patrik Nordwall
cd6822dec6 doc: stylish actors.md, #24717 2019-08-22 11:14:11 +02:00
Patrik Nordwall
4931c2ecef doc: Rewrite general actors page, #24717
* incorporate "A Little Bit of Theory" into general concepts
* remove "Relation to Akka (untyped) Actors"
2019-08-22 10:29:47 +02:00
Johannes Rudolph
682a76e928 streams: move lastCancellationCause helper variable to GraphStageLogic (#27531)
It seems in the previous `_lastCancellationCause = cause` caused a trait
forwarder method to be called.

Refs #27529
2019-08-21 12:43:40 +02:00
Patrik Nordwall
0d8c4c4d8f update latestPatchOf25 (master) (#27535) 2019-08-21 10:50:44 +02:00
Johan Andrén
2c9f0c9ff0
Give the large source test some more time #27497 (#27524) 2019-08-20 12:48:14 +02:00
Patrik Nordwall
e61ac07f7e
Merge pull request #27527 from akka/wip-singleton-leaving-master-patriknw
Fix singleton issue when leaving several nodes, #27487
2019-08-19 18:45:12 +02:00
Patrik Nordwall
ddb085255d Fix singleton issue when leaving several nodes, #27487 (#27488)
* Fix singleton issue when leaving several nodes, #27487

* When leaving several nodes at about the same time the new singleton
  could be started before previous had been completely stopped.
* Found two possible ways this could happen.
  * Acting on MemberRemoved that is emitted when the self
    cluster node is shutting down.
  * The HandOverDone confirmation when in Younger state,
    but that node is also Leaving so could be seen as Exiting
    from a third node that is the next singleton.

* keep track of all previous oldest, not only the latest

* Option => List
* Otherwise in BecomingOldest it could transition to Oldest
  when the previous oldest was removed even though the previous-previous wasn't removed yet

* fix failure in ClusterSingletonRestart2Spec

* OldestChanged was not emitted when Exiting member was removed
* The initial membersByAge must also contain Leaving, Exiting members

(cherry picked from commit ee188565b9f3cf2257ebda218cec6af5a4777439)
2019-08-19 15:11:49 +02:00
Arnout Engelen
c97e966f8b
Update some SBT plugins (#27502)
Including akka-paradox, to get the new banner
2019-08-19 12:29:09 +02:00
Helena Edelson
3dd8c7e7e2
Upgrade sbt-paradox-akka 0.18 -> 0.23 (#27473) 2019-08-17 09:40:12 -07:00
Arnout Engelen
34f9faf5fa
Convert 'Blocking needs Careful Management' from classic (#27498)
* Convert 'Blocking needs Careful Management' from classic

* Move triggering blocking calls to separate methods

* Remove classic examples of dispatching
2019-08-16 17:35:52 +02:00
Marcos Pereira
9caae087a2 Add configuration for all Jackson Features (#27409)
* Support configuration for Jackson MapperFeatures in Jackson Serializer

* Add JsonParser.Feature configuration support

* Add JsonGenerator.Feature configuration support

* Fix formatting issues

* Add examples for each feature configuration

* Test coverage of the override methods
2019-08-16 11:33:47 +02:00
Patrik Nordwall
16f4971f64 update to reactive-streams-tck 1.0.3-RC1 (#27513) 2019-08-16 11:07:10 +02:00
Patrik Nordwall
c4a87431be
Merge pull request #27485 from akka/removeHowToCommonPatterns
Remove 'How To' section of the docs
2019-08-16 10:56:04 +02:00
Patrik Nordwall
3dac8b9072
Merge pull request #27512 from akka/wip-jackson-2.9.9.3-patriknw
Update to jackson-databind 2.9.9.3
2019-08-16 10:55:24 +02:00
Johannes Rudolph
16033eaf5e Propagate stream cancellation causes (#27266)
* base functionality
* fix-restart-flow
* Fix subSource / subSink cancellation handling
* GraphStage-fix
* Fix ambiguity between complete and cancellation (for isAvailable / grab)
* rename lastCancellationCause
* add mima
* fix cancellation cause propagation in OutputBoundary
* Fix cancellation cause propagation in SubSink
* Add cancellation cause logging to Flow.log
* add more comments about GraphStage portState internals
* Add some assertions in onDownstreamFinish to prevent wrong usage
* Also deprecate onDownstreamFinish() so that no one calls the wrong one
accidentally
* add SubSinkInlet.cancel(cause)
* Propagate causes in two other places
* Suggest to use `cancel(in, cause)` but don't deprecate old one
2019-08-16 10:53:14 +02:00
Arnout Engelen
836d020e78
Remove 'How To' section of the docs (#27223) 2019-08-16 09:28:25 +02:00
Patrik Nordwall
911f6ab6c5 Update to jackson-databind 2.9.9.3
* a few more gadget types added to blacklist
* https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9#micro-patches
2019-08-16 08:31:45 +02:00
Christopher Batey
6c13949aec Use protobuf3 for internal serialization (#27366)
* Only load akka protobuf serializer if protobuf on the classpath
2019-08-15 17:43:19 +02:00
James Roper
bbff92ade6 RebalanceWorker should watch shard regions (#27261)
* RebalanceWorker should watch shard regions

Fixes #27259.

The RebalanceWorker actor needs to watch the shard regions that it's
expecting a BeginHandOffAck message from, in case the ShardRegion shuts
down before it can receive the BeginHandOff message, preventing hand
off.  This can be a problem when two nodes are shut down at about the
same time.
2019-08-15 16:36:02 +02:00
Patrik Nordwall
c1eb0719da
Merge pull request #27504 from akka/wip-deprecate-persistent-fsm-patriknw
Deprecate PersistentFSM (for validation)
2019-08-15 14:14:19 +02:00
Christopher Batey
e3164916ad Deprecate PersistentFSM
Refs #26490
2019-08-15 11:17:40 +02:00
Johannes Rudolph
a19bd1597a Fix assertion in dns tests wrt changed docker json API #27489 2019-08-14 16:24:11 +02:00
Patrik Nordwall
251fdff519
Merge pull request #27484 from akka/collapseProjectAndAdditionalInformation
Collapse 'project information' and 'additional information'
2019-08-14 15:35:29 +02:00
Patrik Nordwall
f808dd0f30
Merge pull request #27494 from akka/dispatchersDoc
Move generic dispatcher docs from Classic
2019-08-14 15:19:31 +02:00
Patrik Nordwall
a821c9cb67 follow up on style guide changes for private vs public (#27495) 2019-08-14 09:21:51 +02:00
Arnout Engelen
230905c85a
Move generic dispatcher docs from Classic (#27223)
'Blocking Needs Careful Management' and 'CallingThreadDispatcher'
still need to be done, but those also need example changes, so
leaving that for another PR
2019-08-13 15:01:44 +02:00
Arnout Engelen
a87edc601d
Update to 2.12.9 for travis as well (#27476) 2019-08-12 16:39:06 +02:00
Arnout Engelen
d75720ab33
Collapse 'project information' and 'additional information' #27223 2019-08-12 15:39:40 +02:00
Tim Moore
22fa8eb827 Update links to the Lightbend Platform docs (#27477) 2019-08-12 13:07:27 +02:00
Johan Andrén
6b29bc6fe8
2.5.24 (#27479) 2019-08-12 13:06:55 +02:00
Patrik Nordwall
fb31045896
Merge pull request #27207 from akka/releaseDrafter
Initial release drafter template
2019-08-12 10:42:29 +02:00
Helena Edelson
2933de522b
Upgraded plugin to 2.0.3, nightly to RC8 (bug fixes) (#27468) 2019-08-09 09:40:52 -07:00
Helena Edelson
fb910a2b64 Upgraded silencer plugin. (#27470) 2019-08-09 15:27:42 +02:00
Helena Edelson
b2a5abf866 Upgraded upgrade-sbt-updates. (#27469) 2019-08-09 10:23:03 +02:00
Arnout Engelen
c140fb182f Update to Scala 2.12.9 (#27384) 2019-08-08 09:46:39 -07:00
Helena Edelson
94e6706efa
Update sbt-jmh plugin (#27467) 2019-08-08 09:44:34 -07:00
Arnout Engelen
70a0af1036
Hook in akka-persistence-typed (#27464) 2019-08-08 10:25:05 +02:00