Commit graph

20524 commits

Author SHA1 Message Date
Saeed Zarinfam
6b08767137 =doc Fix how to access deadLetters from system in actor (#20665)
When a developer copy `system.deadLetters` from documentation, it does not work in Actor and system must get from context.
2016-05-31 12:05:55 +02:00
Patrik Nordwall
be448e9fbb fix memory leaks in tests, #20659 2016-05-31 08:51:00 +02:00
Jan Ypma
6a13d99bfc =htp #20610 Fix Java RouteTest to not depend on scala DSL in API (#20615) 2016-05-30 21:59:54 +02:00
Daniel Moran
d05866dae7 -str Remove obsolete OneToManyTestStage, #20288 (#20629) 2016-05-30 20:56:29 +02:00
Felipe Fernández
2d6ec9c4cf +doc #20466 Include Future Directives Examples for Java. (#20619) 2016-05-30 16:42:14 +02:00
Patrik Nordwall
5417942c5d Merge pull request #20524 from MQ-EL/fix-remote-quarantine-rds-leak
=rem #20523 fix-rds-leak
2016-05-30 14:13:57 +02:00
Fabian Gutierrez
2b60f5fcbf +doc #20466 akka http javadsl - add debugging directive test (#20651)
* akka http javadsl - add debugging directive test

* fixes line breaks
2016-05-30 10:47:45 +02:00
Patrik Nordwall
c6464ce493 remove async, #20562 (#20645) 2016-05-30 10:42:49 +02:00
Konrad Malawski
9be0ea6c11 =htc #20602 avoid checking racy value if we don't really care (#20617) 2016-05-30 10:42:00 +02:00
gosubpl
66d4f82685 =doc fix inaccurate docs #20632 (#20652)
* Replace Rest with Remaining and RestPath with RemainingPath
* changed files: path-directives.rst and path-matchers.rst
2016-05-29 20:55:35 +02:00
Patrik Nordwall
9c586577a3 Merge pull request #20624 from akka/wip-20568-handshake-restart-patriknw
initiate new handshake after restart of receiving system, #20568
2016-05-27 17:48:12 +02:00
Patrik Nordwall
7505393c89 initiate new handshake after restart of receiving system, #20568
* we don't want to include the full origin address in each message,
  only the UID
* that means that the restarted receiving system can't initate a
  new handshake immediately when it sees message from unknown origin
* instead we inject HandshakeReq from the sending system once in a while
  (1 per second) which will trigger the new handshake
* any messages that arrives before the HandshakeReq are dropped, but
  that is fine since the system was just restarted anyway
* note that the injected handshake is only done for active connections,
  when a message is sent
* also changed the UID to a Long, but there are more places in old remoting
  that must be changed before we actually can use a Long value

fix lost first message, #20566

* the first message was sometimes dropped by the InboundHandshake stage
  because it came from unknown origin, i.e. the handshake had not completed
* that happended because the ordinary messagage arrived before the
  first HandshakeReq, which may happen since we sent the HandshakeReq
  over the control stream
* this changes so that HandshakeReq is sent over the same stream, not
  only on the control stream and thereby the HandshakeReq will arrive
  before any other message
* always send HandshakeReq as first message
  * also when the handshake on sender side has been completed at startup
  * moved code from preStart to onPull
2016-05-27 17:05:23 +02:00
Patrik Nordwall
92404bc470 Merge pull request #20637 from akka/wip-20324-bytebuffer-serialization-patriknw
add serialization api based on ByteBuffer, #20324
2016-05-27 16:41:18 +02:00
Patrik Nordwall
a0f8f19e86 change header to use serializer id instead of FQCN
* because FQCN can become a problem for rolling upgrade scenarios
  where you want to rename serializer classes
* also renamed classManifest to manifest because it doesn't have
  to be class names
2016-05-27 12:26:15 +02:00
Patrik Nordwall
aa2c4fe7bf handle serialization errors, #20324 2016-05-27 12:26:15 +02:00
Patrik Nordwall
e74e1da6cc optimize currentTransportInformation 2016-05-27 12:26:14 +02:00
Patrik Nordwall
d759f738ea add serialization api based on ByteBuffer, #20324
* new trait ByteBufferSerializer with fromBinary and toBinary
  methods that takes ByteBuffer, this can be mixed in to
  existing serializer without breaking compatibility
* implement the ByteBufferSerializer in the ByteArraySerializer
* minor adjustment of the class manifest cache
2016-05-27 12:26:08 +02:00
Patrik Nordwall
2ff76299c9 Merge pull request #20633 from akka/wip-artery-jmh-bench-patriknw
add JMH benchmark for encoder decoder stage
2016-05-27 12:22:27 +02:00
Patrik Nordwall
5b7c978844 add JMH benchmark for encoder decoder stage
* CodecBenchmark that tests encode, decode and combined
  encode + decode
* refactoring of codec stages to make it possible to
  run them without real ArteryTransport
* also fixed a bug in inbound stream for large messages,
  it was using wrong envelope pool
2016-05-27 12:21:30 +02:00
Patrik Nordwall
e2c6948c15 Merge pull request #20620 from hseeberger/20590-fileio
Return failed IOResult for non-existint file (closes #20590)
2016-05-26 16:04:36 +02:00
Heiko Seeberger
f4186b5391 Return failed IOResult for non-existint file (closes #20590) 2016-05-26 15:00:43 +02:00
Patrik Nordwall
10d40f4bc3 Merge pull request #20618 from akka/wip-20607-DeflateSpec-patriknw
increase some test timeouts in http, #20607
2016-05-24 19:54:48 +02:00
Patrik Nordwall
1ebf93503d -doc remove note about scala in java testkit docs, #17288 (#20614) 2016-05-24 16:22:10 +02:00
drewhk
8c1e60fe17 Merge pull request #20605 from drewhk/wip-20573-delay-fix-drewhk
#20573 Fixing wrong initial buffer sizes in delay, and one logic bug
2016-05-24 16:11:13 +02:00
Patrik Nordwall
03fd6ac4b7 increase some test timeouts in http, #20607 2016-05-24 16:07:47 +02:00
Patrik Nordwall
8ac00ac2dc -doc remove STM section from JMM docs, #16980 (#20612) 2016-05-24 15:25:45 +02:00
Konrad Malawski
a299b30c0b !htp,java #20592 javadsl complete* should take Marshaller[...,RequestEntity] (#20593) 2016-05-24 15:20:28 +02:00
Konrad Malawski
31de5952b0 -doc remove tracking codes from urls (#20609)
I see no need why we should keep these.
2016-05-24 14:55:49 +02:00
Yegor Andreenko
c66e3a9f02 =clu #20613 logging selfRoles during node unreachable and quarantined (#20542) 2016-05-24 14:35:50 +02:00
Erol Staveley
72548d8439 Added a Packt video to list of resources (#20509) 2016-05-24 13:43:06 +02:00
Patrik Nordwall
b3591b48d0 regression of Creator check, #20537 (#20538)
* try to reproduce the regression of Creator check, #20537

* fix regression of Creator check, #20537

* the check of the enclosing class parameter should check the first parameter
2016-05-24 13:10:23 +02:00
Björn Antonsson
f46be728e8 Update MiMa to check against Akka 2.4.6 as well (#20604) 2016-05-24 12:58:18 +02:00
Endre Sándor Varga
14b70836a7 #20573 Fixing wrong initial buffer sizes in delay, and one logic bug 2016-05-24 11:42:17 +02:00
Konrad Malawski
17e38d0fe2 =htp #20601 increase timeout in File touching tests (#20603) 2016-05-24 11:36:31 +02:00
Hawstein
77741acfca +doc,htp example snippet for akka http java dsl: CookieDirectives (#20585)(#20466) 2016-05-24 11:22:24 +02:00
David Piggott
dfc7943e94 =doc Remoting documentation addition (#20463) (#20584)
* Add missing fullstop

* Document that sends to local actors via remote paths aren't remoted (#20463)
2016-05-24 11:21:03 +02:00
zhxiaog
11584f12eb converts LengthFieldFramingStage to GraphStage 2016-05-24 11:17:43 +02:00
Richard Imaoka
db83775c6d =str Converts DelimiterFramingStage from PushPullStage to GraphStage (#20367) (#20367) 2016-05-24 11:10:44 +02:00
Felipe Fernández
d9c7f9b7f0 =doc,htp #20466 Include Respond Directives Examples for Java. (#20595)
* Include Respond Directives Examples for Java.

* Include license on RespondWithDirectivesExamplesTest.
2016-05-24 10:54:44 +02:00
David Knapp
06c7467a0e =doc Fix float issue (#20599)
The float from the nav isn't cleared properly. This effect is only visible on zoom levels.

https://bugs.chromium.org/p/chromium/issues/detail?id=595166#c8
2016-05-24 10:10:21 +02:00
qian miao
b8128991d5 fix-rds-leak-bug 2016-05-24 15:49:35 +08:00
Fabian Gutierrez
43c09a4b63 Add scheme directive example in javadsl (#20586)
* add scheme directive test

* link documentation to the scheme directive
2016-05-23 12:49:54 +02:00
Alexander Golubev
03395d5739 =str #20229 groupBy should be a Graph stage (#20344) 2016-05-23 10:31:49 +02:00
Konrad Malawski
74b8d749b6 =doc #20565 explain binary compat rules explicitly (#20569) 2016-05-20 16:47:50 +02:00
Patrik Nordwall
5477b4e99b Merge pull request #20557 from akka/wip-20317-giveup-patriknw
give up sending after a while, #20317
2016-05-20 14:48:10 +02:00
Patrik Nordwall
68a8a3c226 Merge pull request #20578 from akka/wip-sync-artery-with-2.4.6-patriknw
sync Artery with 2.4.6
2016-05-20 14:47:11 +02:00
Patrik Nordwall
e9e65c463f improve restart logging 2016-05-20 13:51:39 +02:00
Patrik Nordwall
c90121485f give up sending after a while, #20317 2016-05-20 13:51:39 +02:00
Patrik Nordwall
b17c4c1d9b Merge pull request #20575 from akka/wip-rename-protocol-patriknw
rename protocol to artery
2016-05-20 13:44:35 +02:00
Patrik Nordwall
6b435a5646 Merge branch 'master' into wip-sync-artery-with-2.4.6-patriknw 2016-05-20 13:20:13 +02:00