Commit graph

2018 commits

Author SHA1 Message Date
Patrik Nordwall
141318e60a shard coordinator should wait until min-members regions registered, #21194 2016-10-28 15:49:21 +02:00
Patrik Nordwall
1ff1f5edee small test changes for Scala 2.12 (#21738) 2016-10-28 14:59:08 +02:00
Iulian Dragos
abf8b1155c Update package declaration to fit directory. 2016-10-27 18:03:34 +02:00
Björn Antonsson
3e55aa5555 Merge pull request #21737 from bantonsson/make-akka-scala-nightly-great-again
Make the akka-scala-nightly project work as expected
2016-10-27 17:21:47 +02:00
Björn Antonsson
17eafffab8 Make the akka-scala-nightly project work as expected
* Added new scala-java8-compat version for Scala 2.12.0-RC2+
* Fixed a diff between ProjectRef and Project that never matched
2016-10-27 13:02:23 +02:00
Martynas Mickevičius
650abe19d6 Add apiURL setting for cross-linking scaladoc in projects depending on Akka (#21734) 2016-10-27 11:29:15 +02:00
Konrad Malawski
bcf4de5b2c +str #20795 IOResult construction exposed, in bincompat way (#21070)
* +str #20795 IOResult construction exposed, in bincompat way

Thanks https://github.com/ktoso/kaze-class ;)

* Addressed feedback in IOResult

* Update IOResult.scala

* Update IOResult.scala
2016-10-24 17:00:51 +02:00
Konrad Malawski
a6a5556a8f Remove Akka-HTTP sources from akka/akka, moving to akka/akka-http! (#21690) 2016-10-18 15:17:17 +02:00
Falmarri
a28d2c579f Added a flag on takeWhile to allow it to include the final element, #21330 2016-10-18 12:02:59 +02:00
Mateus Dubiela Oliveira
c3abde60d5 Add scanAsync to Akka Streams, similar to scan but taking a Future (#21553)
* Add comprehensive tests
* Add documentation

* Damn comma after rebase

* Add documentation for foldAsync and scanAsync

* Rename aggreator and aggreating to current

* Remove out availability check

* Revert removing out and some refactors

* Formatting documentation

* Use after instead of Promise in test

* Use package reference to after and some refactoring
2016-10-17 16:43:11 +02:00
Patrik Nordwall
6c78874a88 update to Aeron 1.0.2, #21583
* important bug fix in Aeron: real-logic/Aeron#281
2016-10-17 10:23:30 +02:00
monkey-mas
6fea2f3526 Upgrade sbt-jmh to 0.2.16 (#21589) 2016-10-01 19:11:13 +02:00
Patrik Nordwall
8d36499cd4 shortname for provider config 2016-09-29 15:01:05 +02:00
Patrik Nordwall
54f5b836fc Merge branch 'master' into wip-merge-to-master-patriknw 2016-09-29 13:56:37 +02:00
Patrik Nordwall
dcd921369c adjust build for master 2016-09-29 13:54:30 +02:00
Patrik Nordwall
d37fa8ec02 remove Range.Inclusive subclass (toString), #21548
* remove Range.Inclusive subclass (toString), #21548
* update java8-compat dependency for Scala 2.12-RC1
2016-09-27 13:21:49 +02:00
Johan Andrén
8ae0c9a888 Use long uid in artery remoting and cluster #20644 2016-09-26 15:34:59 +02:00
Nafer Sanabria
94d7237d17 +str add zipWithIndex to FlowOps #21290 2016-09-21 08:41:56 +02:00
Johan Andrén
392ca5ecce Enable flight recorder in tests #21205
* Setting to configure where the flight recorder puts its file
* Run ArteryMultiNodeSpecs with flight recorder enabled
* More cleanup in exit hook, wait for task runner to stop
* Enable flight recorder for the cluster multi node tests
* Enable flight recorder for multi node remoting tests
* Toggle always-dump flight recorder output when akka.remote.artery.always-dump-flight-recorder is set
2016-09-16 15:12:40 +02:00
Patrik Nordwall
e8ce261faf Merge branch 'master' into wip-sync-2.4.10-patriknw 2016-09-09 14:12:16 +02:00
Patrik Nordwall
3b7a7dfa59 add reason param to quarantine method 2016-09-08 18:00:37 +02:00
Roland Kuhn
320271cc31 new implementation for Akka Typed #21131
This is the first step towards a completely new and optimized actor
implementation for Akka Typed. The full previously existing test suite
passes for both implementations. The following is an incomplete list of
things that remain to be done:

* document the semantic differences between untyped and typed, in
  particular around actor restarts and the delivery ordering guarantees
  for Terminated messages (also document the difference between
  ActorSystemImpl and ActorSystemAdapter)
* implement EventStream and logging—this currently just delegates to an
  extra untyped ActorSystem (of course To Be Fixed)
* implement dispatcher selection
* implement and test queue size limitation
* implement optimized message queue instead of CLQ (for zero-allocation
  messaging)
* clean up test log output (something does not work with TestEventListener
  and EventFilter for ActorSystemImpl tests)
* document the capabilities (or more appropriately: the limitations) of
  interoperability between ActorSystemImpl and ActorSystemAdapter
* fix ActorPath UID generation (i.e. make sure that everything gets a
  meaningful value instead of zero)
* re-evaluate throughput/rescheduling logic in ActorCell

Oh, and by the way: as per PerformanceSpec (doing simple ping-pong) the
new implementation is ca. 30% faster than the adapter over akka-actor
:-)
2016-09-08 10:10:35 +02:00
Patrik Nordwall
f4b82ce62b handle fatal Aeron exceptions, #20561
* handle ConductorServiceTimeoutException and
  DriverTimeoutException
* shutdown things properly, in the right order, and
  without overwhelming the logs with exceptions
2016-09-07 12:15:35 +02:00
Hawstein
b9a05aff96 add java api for websocket testkit #21184
And additionally adds unit test for WebSocketDirectives #20466
2016-09-02 13:28:49 +02:00
Jan Ypma
09f2d83e69 +tes #21198 Allow TestActor/TestKit/TestProbe to create child actors
This is useful in at least two scenarios:
- Unit testing actors that communicate to their parent directly
- Testing re-creating (typically persistent) actors with the same name
2016-09-01 11:38:07 +02:00
Konrad Malawski
ed05a77f9c =pro update aeron to 1.0.1
Changes are https://github.com/real-logic/Aeron/releases/tag/1.0.1 :

> * Adjust incremental cleaning to avoid overwrite of cleaned log in loss scenarios to address Issue #271.
> * Correctly initialise cleaning position for late joining a stream. Issue #268.
> * Make clientLivenessTimeout configurable from Context.
> * Shadow samples into aeron-all JAR.
> * Support creating Agent threads via ThreadFactory to enable pinning.
> * Update to Agrona 0.5.4.
> * Update to ByteBuddy 1.4.20.
2016-08-31 10:09:07 +01:00
Patrik Nordwall
90cce8579a Merge branch 'master' into wip-sync-artery-dev-patriknw 2016-08-31 08:59:49 +02:00
Johan Andrén
012919fdb3 OrElse stage for fallback when no elements emitted #21024 2016-08-30 13:35:59 +02:00
Johan Andrén
f760b98e8c Use in-memory filesystem for the file sink and source #20726 2016-08-29 16:33:33 +02:00
Cédric Chantepie
efc87af58a FoldAsync op for Flow #18603 2016-08-24 21:02:32 +02:00
Patrik Nordwall
51bb330d2f Merge pull request #21268 from akka/wip-sync-artery-dev-2.4.9-patriknw
sync artery-dev with master (2.4.9+)
2016-08-24 11:21:23 +02:00
Patrik Nordwall
8ab02738b7 Merge branch 'master' into wip-sync-artery-dev-2.4.9-patriknw 2016-08-23 20:14:15 +02:00
Patrik Nordwall
5df0f5ea87 update to Aeron 1.0 2016-08-23 20:04:22 +02:00
Johan Andrén
a5cb0d4b90 Corrected previous version mima-filters, added 2.4.9 empty section 2016-08-23 13:49:43 +02:00
Endre Sándor Varga
5e830323f6 Updating to ScalaTest 3.0.0 and ScalaCheck 1.13.2 2016-08-22 11:13:49 +02:00
Patrik Nordwall
0c4d4c37ba cluster singleton improvements, #20942
* track nodes by UniqueAddress in Cluster Singleton, #20942
* reply with HandOverDone from new incarnation, #20942
* confirm as terminated immediately when new incarnation joins, #20942 instead of waiting for failure detector to mark it as unreachable this will speed-up removal when restarting cluster node with same hostname:port
2016-08-19 11:56:55 +02:00
svezfaz
05207a1cf6 double wildcard for actor deployment config #19872 2016-08-09 19:02:01 +01:00
Nafer Sanabria
e05d0fe290 Upgrade jackson-databind to 2.7.6 (#21113) 2016-08-05 16:10:28 +02:00
Konrad Malawski
86d733196c =pro make #21105 never ever happen again (OSGi breaking release) (#21121) 2016-08-04 13:14:30 +02:00
Endre Sándor Varga
12b302f5ca Downgrading SBT until https://github.com/sbt/sbt/issues/2686 is fixed 2016-08-02 14:41:43 +02:00
Endre Sándor Varga
083bfb6692 Fixed bug in Chunker, exposed by interpreter changes 2016-08-01 16:09:50 +02:00
Tim Harper
1c6b38743b make RunnableGraph.addAttributes return a RunnableGraph #20630 2016-07-29 15:04:26 +02:00
Konrad Malawski
5479276b64 =htc migrate Masker to graph stage (#21048) 2016-07-27 12:38:51 +02:00
Konrad Malawski
5d8dcc8ebc =htc #20921 mima filters and scaladoc for discardBytes (#21042) 2016-07-26 13:44:05 +02:00
Richard S. Imaoka
15c77e3392 Document HTTP custom method (#20508) 2016-07-26 12:33:45 +02:00
Konrad Malawski
f63a0cea8f +pro Update sbt-JMH (includes JMH 1.13) (#21026)
* +pro Update sbt-JMH (includes JMH 1.13)

* Update plugins.sbt
2016-07-25 19:32:10 +02:00
Hawstein
cf46ab887f +htc #20771 provide different options to deal with the illegal response header value (#20976) 2016-07-24 17:56:39 +02:00
Konrad Malawski
fde9d86879 ByteString optimisations of methods in HTTP parsing hot-path (#20994)
* =act #20992 prepare benchmarks for ByteString optimisations

* =act #20992 optimise common ByteString operations: drop,take,slice...

* =act,htc #15965 add ByteString.decodeString(java.nio.charsets.Charset)
2016-07-20 14:01:51 +02:00
Konrad Malawski
df46b203dc Bump sbt to 0.13.12 (#20978) 2016-07-18 13:11:08 +02:00
Konrad Malawski
3f12509f27 =htp attempt to fix PR validation issue, unable to reproduce (#20975) 2016-07-17 20:06:22 +02:00