Commit graph

20135 commits

Author SHA1 Message Date
Patrik Nordwall
a813afeb04 fix compilation warnings in akka-stream
* fix compilation warning in StreamLayout

StreamLayout.scala:742: The outer reference in this type test cannot be checked at run time.
[warn]     final case class Buffering(demand: Long) extends SubscriptionState

* fix compilation warning in OutputStreamSourceStage

logic.wakeUp
"method invocation uses reflection"

* fix compilation warning in TLSActor

TLSActor.scala:155: Reference to uninitialized variable lastHandshakeStatus
[warn]   lastHandshakeStatus = engine.getHandshakeStatus
2016-12-13 16:41:04 +01:00
ortigali
5b5cf4fc7b dynamic config path for levelDBJournal and localSnapshotStore #21394 2016-12-13 14:04:39 +01:00
Patrik Nordwall
b250d03cc9 Merge pull request #21896 from johanandren/wip-21864-asOutputStream-close-race-johanadren
asOutput stream close race
2016-12-13 13:45:54 +01:00
Richard Imaoka
4dad65cd5a No default OSGi private package to avoid publish build warnings (#21915)
* No default OSGi private package, as it caused warnings in publish build (Fixes #21899)

* Add comment for empty OSGi private-package settings in SBT
2016-12-13 13:37:41 +01:00
Patrik Nordwall
611f44f176 Merge pull request #21991 from akka/wip-21985-AllAtOnceEntityRecoveryStrategySpec-patriknw
harden AllAtOnceEntityRecoveryStrategySpec, #21985
2016-12-13 13:35:35 +01:00
Martynas "danger" Mickevičius
98c2adfc98 Update MiMa to 0.1.13 (#21978)
* Update to mima 0.1.13

* Filters when checking v2.4.8 against older

* Filters when checking v2.4.9 against older

* Filters when checking v2.4.10 against older

* Filters when checking v2.4.11 against older

* Filters when checking v2.4.12 against older

* Filters when checking v2.4.14 against older

* Filters when checking master against older

* Remove not used filter
2016-12-13 12:58:59 +01:00
Patrik Nordwall
db95b7ff96 add http api for cluster management, #21172
* reference akka/akka-cluster-management in cluster docs
* deprecate the command line tool, including migration note
* cleanup old migration guides
* remove YourKit as sponsor, since we pay license
2016-12-13 10:54:41 +01:00
Patrik Nordwall
f6a1fba824 =clu don't use Down member as leader, #21906 (#21990)
* in the failed test it was noticed that a Down member removed
  itself in leaderActionsOnConvergence which resulted in
  later "Failed to serialize Gossip, Unknown address"
* never use member with status Down as leader
* a node will anyway shutdown itself when it's Down,
  but leader actions could happen before that
2016-12-13 10:53:39 +01:00
Patrik Nordwall
8a6c21d564 harden AllAtOnceEntityRecoveryStrategySpec, #21985
* it was testing that something was done within 20 millis
* no need for time in that test
2016-12-13 08:03:57 +01:00
Oleg Poleshuk
c50ecf3287 +doc Documented how CompletionStages execute #20513 (#21845)
* Documented how CompletionStages execute #20513

* Fixed the failing test: tests are not necessarily run from "main" thread.

* Addressed pull request comment #20513

* Addressed more PR comments #20513
2016-12-12 21:46:37 +01:00
Konrad `ktoso` Malawski
5bcffa2acc Remove cancellable setting, makes it hard kill sbt (#21987) 2016-12-12 17:27:05 +01:00
Patrik Nordwall
b8e7658639 Merge pull request #21980 from akka/wip-format2-patriknw
format the code
2016-12-09 14:12:09 +01:00
Patrik Nordwall
c05bd51b68 format the code 2016-12-09 14:08:13 +01:00
Patrik Nordwall
4e20bcf403 use log level when draining LoggerMailbox, #21895 (#21949)
* use log level when draining LoggerMailbox, #21895

* Apply review comment
2016-12-08 18:14:28 +01:00
Konrad `ktoso` Malawski
2ea8cd7410 =str deprecate ActorPublisher/Subscriber, use GraphStage (#21952)
* =str deprecate ActorPublisher/Subscriber, use GraphStage

* =str deprecate Source.actorPublisher / Sink.actorSubscriber

* =str added deprecation note of ActorPublisher,Subscriber
2016-12-08 17:22:01 +01:00
Andrew Rapp
591eafe04c Fix handling of escape sequences in JsonObjectParser #21961 (#21962)
* Fix handling of escape sequences in JsonObjectParser #21961

* Add test coverage to verify issue #21961
2016-12-08 14:35:53 +01:00
Konrad `ktoso` Malawski
76017adc30 -cam #21423 deprecate camel (#21925) 2016-12-08 14:06:40 +01:00
Johan "Party Cannon" Andrén
80daa2f647 Race condition fix for Test{Sink/Source}Stage #20737 2016-12-08 13:18:29 +01:00
ortigali
31e61d0fb3 InputStream from StreamConverters.asInputStream respects read() contract #21943 (#21954) 2016-12-07 17:33:36 +01:00
Patrik Nordwall
dce668771e fix shutdown of pending StressSpec, #21960 (#21963) 2016-12-07 15:38:11 +01:00
Patrik Nordwall
12536a3537 Merge pull request #21835 from rovarga/stream-osgi
Fix #21791 by adding a version override for scala.util.parser
2016-12-06 16:43:08 +01:00
Johan "Party Cannon" Andrén
ad061e0208 Test documenting LineNumber behaviour on Scala 2.11, 2.12, Java 8 (#21897)
* Test documenting the LineNumber behaviour on Scala 2.11 vs 2.12 vs Java 8 #21773

* Reindent Java sources with less space
2016-12-06 16:12:04 +01:00
Patrik Nordwall
6ac50fd945 Merge pull request #21904 from johanandren/wip-enable-afr-in-artery-tests-johanandren
Enable flight recorder in more artery tests
2016-12-06 16:00:30 +01:00
Richard Imaoka
3df22baf3a Fix incorrect materialized types = Unit in stream documentation (#21938)
* Fix incorrect materialized types = Unit in stream documentation (Fixes #21937)

*  Correct Int, which should be Integer in Java

* Replace BoxedUnit in stream doc
2016-12-06 15:52:54 +01:00
monkey-mas
c38d3850a2 =act improve ByteString#dropRight(...) (#21439)
#21439: =act improve ByteString#dropRight(...)
2016-12-06 15:51:11 +01:00
Björn Antonsson
8d05592e2e =rem Streamline Artery encoding of metadata to avoid allocations
* Change RemoteInstrument API to work with ByteBuffers
* Remove the MetadataMap since serialization is done in buffer
2016-12-06 10:05:27 +01:00
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
0ed1075902 Merge pull request #21902 from akka/wip-21483-NodeChurnSpec2-patriknw
enable NodeChurnSpec, #21483
2016-12-05 15:37:39 +01:00
Patrik Nordwall
5bffbe1c18 Merge pull request #21918 from akka/wip-IODispatcher-patriknw
make IODispatcher attribute public
2016-12-05 15:18:14 +01:00
Patrik Nordwall
2ef6457311 enable NodeChurnSpec, #21483
* Verify that it actually fails with classic remoting
  if vector clocks are not pruned
* Make it pass with Artery, but it is not verifying
  the message sizes yet. We should implement that
  with a custom RemoteInstrument, but that can be done
  in separate PR.
* Still pending with Artery because it still fails on jenkins
* barrier after sys shutdown

(cherry picked from commit d5edcbea35ca5b43ca4cfb3018602dd555402f42)
2016-12-05 14:27:12 +01:00
Patrik Nordwall
78de7bdf19 Merge pull request #21646 from akka/wip-21645-durable-ddata-patriknw
Add support for durable storage of distributed data, #21645
2016-12-05 12:27:44 +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
Konrad Malawski
cc46d15381 =str #21926 add note on (non)guarantees of materializer SPI (#21932) (#21935) 2016-12-02 12:45:24 +01:00
Konrad Malawski
726d3c4476 =str #21926 add note on (non)guarantees of materializer SPI (#21932) 2016-12-02 12:00:19 +01:00
Patrik Nordwall
43dce42a1a Merge pull request #21900 from akka/wip-21837-camel-version-patriknw
update camel version in sample, #21837
2016-12-02 11:34:00 +01:00
Johan "Party Cannon" Andrén
213fa616a8 Eliminate the allocation on each aroundRecieve #20748 2016-12-02 11:08:15 +01:00
Johan "Party Cannon" Andrén
088aeb7c96 Disable ActorContextSpec for now #21653 2016-12-02 11:07:38 +01:00
Patrik Nordwall
c5e3cc2825 serializer for Optional, #21911
* it's safe to add it to the serialization-bindings, because it had
  no previous binding (doesn't implement java.io.Serializable)
2016-12-01 16:51:39 +01:00
Patrik Nordwall
c16e12ffeb make IODispatcher attribute public 2016-11-30 20:43:07 +01:00
Konrad Malawski
d1d4985950 !agnt #21423 agents to be deprecated (#21913) 2016-11-30 15:00:09 +01:00
Patrik Nordwall
448c12d06a Merge pull request #21905 from akka/wip-build-perf-patriknw
reduce test time for PR validation
2016-11-30 14:32:26 +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
Johan Andrén
1859876e5a Separate afr-files also for RemoteRouterSpec 2016-11-29 12:51:43 +01:00
Johan Andrén
e1993eec01 Use MultiNodeSpec where possible, and handle all afr files, not only the default 2016-11-29 12:39:11 +01:00
Johan Andrén
fca3e1e485 Add flight recording and dump on failure for more artery tests 2016-11-29 11:51:31 +01:00
Patrik Nordwall
4d7ec76513 update camel version in sample, #21837 2016-11-28 14:54:30 +01:00