Commit graph

21711 commits

Author SHA1 Message Date
nachinius
994d1d7e67 Revert "Add Sink.collection that generalizes Sink.seq to any immutable collection #23917 2017-11-24 16:37:34 +01:00
Pavel Boldyrev
e722e1aafe fix typo in remoting*.md and actors.md #24061 2017-11-24 15:53:21 +01:00
nachinius
2c31f57539 Add Sink.collection that generalizes Sink.seq to any immutable collection #23917 (#24016) 2017-11-24 15:19:17 +09:00
Johan Andrén
1751292580
Attributes on fromGraph(stage) should be treated as on stage #22911, #22523 2017-11-23 10:26:00 +01:00
Björn Antonsson
cb6a660cf4 Don't create multiple outbound envelopes (#24045) 2017-11-23 09:05:58 +01:00
Arnout Engelen
5f525779d8 Use CrossVersion.partialVersion instead of regex (#24032) 2017-11-22 17:07:54 +01:00
Jonas Lantto
836f9612b8 Update image links (#24031) 2017-11-22 16:09:42 +01:00
Ivan Yurchenko
3e74ca739e Fix "et.c." typo in documentation and reference configuration #24037 (#24038)
This fixes a typo in the [reference configuration](1eb8459ae7/akka-actor/src/main/resources/reference.conf (L638)) and in [documentation on logging](1eb8459ae7/akka-docs/src/main/paradox/logging.md): `et.c.` should be `etc.`.
2017-11-22 11:17:58 +09:00
Patrik Nordwall
1eb8459ae7 JavaSerializer should not supersede other serializer, #17252 (#24002)
* The classical problem when case class is extending a marker interface that is
  configured to a specific serializer, java.io.Serializable and the marker
  interface have no order. Multiple serializers found and then it is picking
  the first one.
* This changes that behavior so that if multiple serializers are found it gives
  JavaSerializer low priority and chooses the other serializer.
* This might look like a scary change from a compatibility perspective, but
  it should be fine becuse it is not influencing deserialization. The previous
  choice for serialization was pretty random so this choice should not make
  it worse.
2017-11-21 07:34:13 +00:00
Arnout Engelen
5c21f2c7a6 Fix order in which japi and api docs are returned (#24026) (#24027)
I thought I fixed this before but perhaps that didn't make it in. If this goes
wrong again later let's double-check the order is deterministic.
2017-11-21 11:00:12 +09:00
Christopher Batey
99511a0027 Fix race in ClusterShardingFailureSpec
AFAICT there was nothing ensuring the order of messages when sent to the
shard and the region so first checkthat the passivation has happened
before sending another add in the test

Refs #24013
2017-11-20 16:35:47 +00:00
Arnout Engelen
ca3fa778d6
Check all dependencies, except NoPublish ones, fail on error (#24021) 2017-11-20 13:25:17 +01:00
Johan Andrén
5b81698409 Fix #23336 by delaying consumer
Also: some boyscouting
2017-11-20 11:14:29 +01:00
Arnout Engelen
306276af76
Update whitesource to 0.1.7 (#24001)
Giving more clarity on which whitesource project/product name is used
and better output when a violation is found.

I noticed whitesource errors during our pr validation, this might help
pinpointing what's going on there.
2017-11-20 10:19:46 +01:00
Johan Andrén
6db974b6f4 No submaterializing inner source when outer stream already canceled (#23723)
* Do not try to submaterialize inner source when outer stream already cancelled #23656

* Use StreamDetachedException

* Sleep a little

* Updated exception text
2017-11-17 12:24:12 +01:00
Patrik Nordwall
edcc2b2d75
Merge pull request #23805 from johanandren/wip-23798-observe-tcp-unbind-johanandren
Make TCP server unbinding observable
2017-11-17 12:22:27 +01:00
Patrik Nordwall
a5db7bc950
Merge pull request #23978 from moogpwns/doc-23966-getting-started-snppet
Docs - Java snippets for Getting Started Guide Part 4 #23966
2017-11-17 12:21:10 +01:00
Alexander Golubev
a7b1a6675b Add throttle combinator without bucket size in parameters (#23808)
* +str Add throttle combinator without bucket size in parameters

* Add mima filter plus comment formatting

* Reviwed throttle messages across all classes

* move mima filter to 2.4.6

* change to throttleEven, plus grammar fixes

* fix formatting

* changed mima filter according to new API

* fixes accoring to feedback
2017-11-17 12:20:12 +01:00
Johan Andrén
b315cb787c The right place for MiMa excludes 2017-11-17 11:34:05 +01:00
Johan Andrén
ea76a0c4d3 One more tryFailure 2017-11-17 11:33:17 +01:00
Johan Andrén
acdabeff74 Mima 2017-11-17 11:33:17 +01:00
Johan Andrén
bdfcbc28da Try fail in case the unbind promise was already completed 2017-11-17 11:33:17 +01:00
Johan Andrén
7bdd6c8934 Put those @params last 2017-11-17 11:33:17 +01:00
Johan Andrén
4c1410c3b5 Complete unbind promise earlier if possible and always in postStop 2017-11-17 11:33:17 +01:00
Johan Andrén
c830a75bd0 Mima and internalizing things that should have already been internal 2017-11-17 11:33:17 +01:00
Johan Andrén
1c35429a9b Formatting 2017-11-17 11:33:17 +01:00
Johan Andrén
057e03ebe2 Make TCP server unbinding observable #23798 2017-11-17 11:33:17 +01:00
Patrik Nordwall
b51d720b18
Merge pull request #24006 from akka/wip-24003-permit-patriknw
fix double return of recovery permit, #24003
2017-11-17 10:58:47 +01:00
Johan Andrén
3dc0adb4e9 Handle race where broadcasthub consumer already cancelled (#23970)
* Handle race where broadcasthub consumer already cancelled #23205

* Don't use the same thread ec, import cleanup

* Complete feedback promise when async event has been executed #23953

* No need for double-deregister-guard after invokeWithFeedback was fixed.

* Test coverage for async callbacks #23953

* Updated docs on AsyncCallback #23953

* MiMa

* Completing a promise of scaladoc

* Improved test coverage and handling of async invokation failing or throwing

* MiMa

* Review updates
2017-11-17 10:55:30 +01:00
Arnout Engelen
26cd916d98 Make imports explicit in timer example (#24010) 2017-11-17 08:07:37 +00:00
Christopher Batey
983bfdeeb7
Merge pull request #24012 from akka/jr/w/fix-VirtualPublisher-Strings
=str cosmetic changes to VirtualPublisher
2017-11-17 08:06:53 +00:00
Oleg Skovpen
ef515976e9 Fix typo (#24008) 2017-11-16 10:22:55 +09:00
Patrik Nordwall
60e7a4088d fix double return of recovery permit, #24003
* when exception was thrown from RecoveryCompleted the
  permit was returned twice, resulting in negative balance
2017-11-15 18:16:26 +01:00
Johannes Rudolph
88daf2e2dd =str cosmetic changes to VirtualPublisher 2017-11-15 17:04:50 +01:00
Patrik Nordwall
1f8b0137a8
Merge pull request #23991 from akka/wip-23198-FanOutThrougputSpec2-patriknw
fix flow control in FanOutThroughputSpec, #23198
2017-11-15 14:12:41 +01:00
Christopher Batey
1eb3abb27e
Fix lookup of coordinator for sharding proxies (#23995) 2017-11-15 13:03:48 +00:00
Patrik Nordwall
9e506b25b7 disambiguate serializer in typed ClusterShardingSpec, #23993 (#23999)
* test was not always using serialization because it was just one
  entity which could be local or remote
* the test serializer was wrong
* multiple serializers found so was using java serializer
2017-11-15 13:02:18 +00:00
Renato Cavalcanti
f92e1c16e7 Add overloaded Effect.persist and renaming Effect.done to none #23964 2017-11-14 16:48:10 +01:00
Arnout Engelen
09d79d5981
Include the full apache license text (#23992)
Hopefully GitHub will recognize it then. Kept the link to http://akka.io/docs/akka/snapshot/project/licenses.html and the note about protobuf at the bottom, hopefully that doesn't throw them off.
2017-11-14 16:47:33 +01:00
Konrad `ktoso` Malawski
f19dcbeff3 =str #23933 materialization failing hard with nicer message now 2017-11-14 15:56:02 +01:00
gosubpl
cb6e9b1e49 =ddata Garbage collect valueDeltas tombstones at merge/mergeDelta #22974 2017-11-14 15:12:58 +01:00
golem131
2f2fdd0264 Dependency updates (#23852)
- Scala 2.12.3 -> 2.12.4
- gson 2.8.1 -> 2.8.2
- metrics-core 3.2.4 -> 3.2.5
- metrics-jvm 3.2.4 -> 3.2.5
- HdrHistogram 2.1.9 -> 2.1.10
2017-11-14 14:08:30 +00:00
Patrik Nordwall
5ebe723e9c fix flow control in FanOutThroughputSpec, #23198 2017-11-14 14:59:07 +01:00
Christopher Batey
9c119b321a Improve error message for AbstractPersistentFSMTest failure (#23985)
This once failed where the intial shopping cart before adding an item
was not empty. I've also changed the item prices to be different for
each test just in case we're picking up state from a previous test
(which seems unlikey given the pid is a random uuid)
2017-11-14 21:57:16 +09:00
Patrik Nordwall
983e9c1f89
Merge pull request #23988 from akka/wip-23198-FanOutThrougputSpec-patriknw
adjust burstSize in FanOutThrougputSpec, #23198
2017-11-14 13:57:07 +01:00
Patrik Nordwall
5bf2bfecd7
Merge pull request #23776 from akka/wip-23772-serializer-ShardingEnvelope-patriknw
add serializer for typed ShardingEnvelope, #23772
2017-11-14 13:39:24 +01:00
Patrik Nordwall
eefd6869a5 adjust burstSize in FanOutThrougputSpec, #23198 2017-11-14 12:28:27 +01:00
Patrik Nordwall
3307df69b5
Merge pull request #23986 from akka/wip-23552-proxy-separation-patriknw
Separate sharding regions and proxies, #23472
2017-11-14 12:21:18 +01:00
Heiko Seeberger
52d1f54a9a Clarify ScalaDoc of Actor.immutable (closes #23977) (#23982) 2017-11-14 11:09:24 +00:00
Patrik Nordwall
985afe8020 add serializer for typed ShardingEnvelope, #23772 2017-11-14 12:03:34 +01:00