Commit graph

20166 commits

Author SHA1 Message Date
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
Patrik Nordwall
d0053746df fix regression in remember entities, #21892
* regression was introduced by 141318e60a
  in 2.4.12
2016-11-28 14:30:34 +01:00
Johan Andrén
6b03383ddb Test case more concistently exercising the race without taking 8s #21864 2016-11-28 11:03:01 +01:00
Johan "Party Cannon" Andrén
267f31149c Lazy source (#21081) 2016-11-25 16:25:26 +01:00
Patrik Nordwall
0d4858c627 Merge pull request #21800 from guidomedina/round-robin-select-function-neg-counter-fix
Fix the RoundRobinLogic select function when Long is overflow.
2016-11-25 16:13:41 +01:00
Tal Pressman
514dfd8058 =doc update reference to resolveOneCS in Java documentation (#21726) (#21890) 2016-11-24 11:24:42 +01:00
Johan Andrén
2679be5ae4 Disable serialization warnings in akka test suites #21882 2016-11-23 12:02:36 +01:00
Packt
173a3aa4e5 Updated Books (#21888)
New book link added
2016-11-23 11:40:04 +01:00
drewhk
4c25dc8c72 Merge pull request #21688 from kkasravi/issue_20553_kkasravi
Fixes #20553 Tree flattening should be separate from Fusing
2016-11-23 10:29:47 +01:00
Kam Kasravi
a47bccbec3 Fixes #20553 Tree flattening should be separate from Fusing 2016-11-22 15:45:02 -08:00
Andrey Kuznetsov
3bd53c8bc2 fix SourceQueue docs inconsistencies #21852 2016-11-22 14:11:09 +01:00
kenji yoshida
aebfda540d =doc fix double 'the' in some docs (#21881) 2016-11-22 02:14:37 +01:00
Konrad Malawski
6508e1175f =str follow up review comments on compression PR 2016-11-21 14:46:15 +01:00
Johannes Rudolph
7fa7cc1624 =str add safeguard against accidental logic cycles in user ByteStringParser logic
Before, such a cyclic logic might have spun on one thread. Now recursion
is limited to a configurable number of recursions.

The default number of 1000 is an arbitrary number high enough not to be a
limitation in realistic cases. Recursion only happens when a ParsingStep consumes
data without emitting an element immediately moving on to the next step.

In the unlikely case that a parsing logic requires more recursion, the logic
can override `ParsingLogic.recursionLimit`.
2016-11-21 14:46:15 +01:00
Johannes Rudolph
a2402f7aff =str #21873 fix ByteStringParser getting stuck when parsing step doesn't produce output 2016-11-21 14:46:15 +01:00
Johannes Rudolph
a0222e9934 =str #21395 quiet down errors in ByteStringParser stage + better compression errors 2016-11-21 14:46:15 +01:00
Johannes Rudolph
6c22ad912c =str #21850,#21395 move compression tests over from akka-http
Fixes #21850.
2016-11-21 14:46:15 +01:00
Johannes Rudolph
6470463b50 =str #21395 fix default flushing in Deflate/Gzip compression
This was accidentally lost during the move from akka-http.

Otherwise, it isn't possible to decompress chunk-by-chunk because the
implementation will internally buffer data.
2016-11-21 14:46:15 +01:00
Johannes Rudolph
2c32a7cde9 !str #21395 move compression default values used in public API into public place
Would it otherwise have even worked for non-akka users?
2016-11-21 14:46:15 +01:00
Vsevolod (Seva) Belousov
10e17ae8b5 Fixed the bug in Attributes.getFirst(default : T) #21658 (#21846) 2016-11-21 13:09:30 +01: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