Commit graph

2034 commits

Author SHA1 Message Date
Björn Antonsson
913c166f88 =jmh Clean up Artery CodecBenchmark
* Make decoding release the envelope so it doesn't leak memory
* Create two different configurations, Standard and RemoteInstrument
* Create Serilaizer and RemoteInstrument that doesn't allocate memory
2016-12-06 10:05:27 +01:00
Patrik Nordwall
d6d50a08d0 Add support for durable storage of distributed data, #21645
* using lmdbjava libarary
2016-12-05 12:27:02 +01:00
Patrik Nordwall
446c0545ec member accessor in ReachabilityEvent, #21944 (#21947) 2016-12-05 12:07:18 +01:00
Patrik Nordwall
9cd5046e1f bump version to 2.5-SNAPSHOT (#21946)
* project/scripts/find-replace 2.4-SNAPSHOT 2.5-SNAPSHOT
2016-12-05 10:43:29 +01:00
Konrad Malawski
9647dd61fa =pro no more mima checking with 2.3, we're 2.5 now (#21939) 2016-12-02 15:18:31 +01:00
Konrad Malawski
04ab4ebb9c -str #21423 remove deprecated Stage references (#21919)
* -str #21423 remove deprecated Stage references

* include mima filters for removed classes
2016-12-02 14:23:13 +01:00
Patrik Nordwall
e04444567f Speedup pull request validation
* speedup ActorCreationPerfSpec
* reduce iterations in ConsistencySpec
* tag SupervisorHierarchySpec as LongRunningTest
* various small speedups and tagging in actor-tests
* speedup expectNoMsg in stream-tests
* tag FramingSpec, and reduce iterations
* speedup QueueSourceSpec
* tag some stream-tests
* reduce iterations in persistence.PerformanceSpec
* reduce iterations in some cluster perf tests
* tag RemoteWatcherSpec
* tag InterpreterStressSpec
* remove LongRunning from ClusterConsistentHashingRouterSpec
* sys property to disable multi-jvm tests in test
* actually disable multi-node tests in validatePullRequest
* doc sbt flags in CONTRIBUTING
2016-11-30 14:31:06 +01:00
Kam Kasravi
a47bccbec3 Fixes #20553 Tree flattening should be separate from Fusing 2016-11-22 15:45:02 -08:00
Konrad Malawski
a67b016ac6 =pro #21867 update scala-stm dependency for akka-agent, scala 2.12 (#21868) 2016-11-21 13:03:09 +01:00
Konrad Malawski
5ca56a56eb =pro update Aeron to 1.0.4 2016-11-17 17:51:04 +01:00
Johannes Rudolph
97bada7deb =act #21774 fix ByteString.toString to use fixed stringPrefix for all subclasses (#21775)
Otherwise, with 2.12,

ByteString().toString == "ByteString.ByteString1C()"

which would expose implementation details in the string representation.
This can lead to failing tests due to test expecting a particular string
representation of a ByteString which might be bad practice, yes, but is also
convenient.

The change is due to a fix in Scala for SI-9019 for which the string representation
of TraversableLike was changed which ByteString inherits.
See https://github.com/scala/scala/pull/5258/files
2016-11-17 15:51:36 +01:00
drewhk
91b522e186 #21743: FlattenMerge should propagate outer attributes
Added Materializer.materialize() version that takes explicit initial attributes
2016-11-09 20:14:04 +01:00
Martynas Mickevičius
72925ba392 Publish dining hakkers deps to local maven repo (#21793) 2016-11-07 13:28:34 -08:00
Johan Andrén
e9253c7c7d Changes needed to build/test/release for 2.12.0 (#21789) 2016-11-03 16:17:36 +01:00
Konrad Malawski
45d53bd520 fix mima warnings (#21756) 2016-10-28 17:22:36 +02:00
Johannes Rudolph
c9854e4350 =pro merge ssl-config-akka from ssl-config project into akka-stream (#21551)
This will fix the cyclic dependency issue between the ssl-config repo
and akka.

It would have been better if akka-stream would not require
these changes at all but com.typesafe.sslconfig.akka.AkkaSSLConfig is
part of the public interface of akka-stream's TLS stage. So, this
can only be fixed in the next major version.

Source code was copied over from the tree at commit
470fae76f3

See https://github.com/typesafehub/ssl-config/issues/47
2016-10-28 16:41:26 +02:00
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