Commit graph

21582 commits

Author SHA1 Message Date
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
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
Patrik Nordwall
64669bc55f additional hardening of RemoteReDeploymentSpec, #23838 2017-11-14 11:54:16 +01:00
Unknown
6587d9e522 Separate sharding regions and proxies, #23472 2017-11-14 11:42:13 +01:00
Patrik Nordwall
de00efc405
Merge pull request #23980 from akka/wip-23198-FanOutThrougputSpec-pending-patriknw
mark FanOutThrougputSpec as pending, #23198
2017-11-14 10:04:48 +01:00
Christopher Batey
6617230258
Merge pull request #23975 from johanandren/wip-21839-verbose-tcp-termination-test-johanandren
Make the actor-terminate-unexpectedly test more verbose
2017-11-14 08:10:51 +00:00
Patrik Nordwall
68a2b2fa6e mark FanOutThrougputSpec as pending, #23198
* and include right name in the === prints
2017-11-14 08:38:36 +01:00
Konrad `ktoso` Malawski
af411d2f8d
=pro #23931 define automatic module names explicitly (#23960)
* =pro #23931 define automatic module names explicitly (otherwise would be akkaactor_2.12) etc

Read:
- http://blog.joda.org/2017/04/java-se-9-jpms-module-naming.html
- http://mail.openjdk.java.net/pipermail/jpms-spec-experts/2017-February/000582.html
- http://blog.joda.org/2017/05/java-se-9-jpms-automatic-modules.html

for rationale

* Update build.sbt

* Update build.sbt
2017-11-14 11:41:37 +09:00
Johan Andrén
77da944ed7 Make the actor-terminate-unexpectedly test more verbose in case it fails again #21839 2017-11-13 16:57:21 +01:00
Patrik Nordwall
1cdd205c02
Merge pull request #23882 from chbatey/issue-23775-multidc-split
Increase time for MultiDcSplitBrain and increase cross DC gossip prob
2017-11-13 15:26:10 +01:00
Martynas Mickevičius
d1b53ac1d3 #23484 Fortify RestartSpec 2017-11-13 15:24:13 +01:00
James Roper
92313cb08a Improve error message when pushing unpulled outlet (#23923)
* Improve error message when pushing unpulled outlet

If an outlet is pushed to before it has been pulled, the error message
is "Cannot push twice", which makes sense if after receiving a pull, you
push twice, but makes no sense if you never received a pull in the first
place. This improves the error message to avoid confusion.

* Reword message slightly
2017-11-13 22:15:05 +09:00
nachinius
53bbd5ab5f Allow RestartSource.withBackoff to restart only on failures #23881 (#23911)
* Allow RestartSource.withBackoff to restart only on failures #23881
2017-11-13 13:47:27 +01:00
Christopher Batey
4d3a7e93a6 Increase timeout and remove sleep
The test has been failing infrequently as when we get to the final
barrier (restarted-fifth-removed) the whole test withIn of 40s
has been reached so the last barrier times out right away.

Trying to remove the Thread.sleep and rely on a larger timeout for the
whole test as well as the default barrier timeout of 30s.
2017-11-13 12:20:56 +00:00
Konrad `ktoso` Malawski
bb9d3927c8
=act #23961 increase timeouts in fsm spec a bit, change from deprecated method (#23969) 2017-11-13 21:12:00 +09:00
Richard Imaoka
ad5fa124b3 Fix a bug in viaMat for Identity flow optimization #22899 2017-11-13 09:21:46 +01:00
Konrad `ktoso` Malawski
cba1cb79fa Be more explicit about commenting with link to Issue in CONTRIBUTING (#23968) 2017-11-13 09:11:36 +01:00
Christopher Batey
ad7f68f994
Merge pull request #23965 from danischroeter/shardingNamesTest
Provide access to known shard types add test #23912
2017-11-13 07:44:35 +00:00
Konrad `ktoso` Malawski
fcc11ef311
=doc fix ssl-config link (#23897) 2017-11-13 16:41:31 +09:00
Patrik Nordwall
5946b3486c
Merge pull request #23153 from akka/wip-21422-multi-lane-patriknw
Simplify Artery remote deployment and make inbound-lanes=4 default, #21422
2017-11-11 11:54:47 +01:00
Patrik Nordwall
6b41c80f9b Simplify Artery remote deployment and make inbound-lanes=4 default, #21422
* DaemonMsgCreate is not a system message. We send it over the control
  stream because remote deployment process depends on message ordering
  for DaemonMsgCreate and Watch messages. That is all good.
* We also send DaemonMsgCreate over the ordinary message stream (all
  outbound lanes) so that the first ordinary message that is sent to
  the ref does not arrive before the actor is created. This is not needed,
  since the retried resolve in the Decoder will take care of that anyway.
* Inbound lanes were not covered, but not needed.
* Then the deduplication of DaemonMsgCreate messages in  RemoteSystemDaemon
  is not needed.
* Added some more tests for these things.
* describe lanes in reference docs
2017-11-11 10:30:39 +01:00
Patrik Nordwall
be8e4b0276
Merge pull request #23562 from akka/wip-23561-harden-hub-restart-patriknw
Harden restart of Artery stream with inbound-lanes > 1, #23561
2017-11-11 10:21:02 +01:00
Patrik Nordwall
17f712a76b
Pass HandshakeReq in all inbound lanes, #23527 (#23842)
* Pass HandshakeReq in all inbound lanes, #23527

The HandshakeReq message must be passed in each inbound lane to
ensure that it arrives before any application message. Otherwise there is a risk
that an application message arrives in the InboundHandshake stage before the
handshake is completed and then it would be dropped.

* mima
2017-11-11 10:19:57 +01:00
Daniel Schröter
f2e9b52699 Provide access to known shard types add test #23912 2017-11-11 00:53:54 +01:00
danischroeter
e7bbbdf8ed Provide access to known shard types #23912 (#23913)
* Provide access to known shard types #23912

* applied format
2017-11-11 08:25:33 +09:00
Christopher Batey
ad33b343cc
Merge pull request #23963 from n1ko-w1ll/wip-23962-fixed-typos
Fix typos in PersistentActor.scala #23962
2017-11-10 17:46:34 +00:00
Niko Will
fe34dd163c
Fix typos in PersistentActor.scala #23962
I found some typos in PersistentActor.scala and fixed them.
2017-11-10 15:26:16 +01:00
Kirill Yankov
31db13a99c Multi-jvm testing docs improved #23954 (#23957)
* multi-jvm testing docs improved #23954
2017-11-10 15:16:35 +02:00
David Leonhart
08106243ac Fixed typos and grammar in streams error handling and streams buffers doc (#23956) 2017-11-10 11:53:56 +09:00
Patrik Nordwall
3c7d40b5f7
Merge pull request #23185 from agolubev/23111-AsyncCallbacks_lost_finished_stage-agolubev
AsyncCallbacks lost on finished stage by error
2017-11-09 14:49:03 +01:00