Commit graph

19591 commits

Author SHA1 Message Date
Jeroen Gordijn
a18b59f0dc Change doc: reflect WeaklyUp is used in DD #21502 2016-09-22 09:53:14 +02:00
Ortigali
c1a840b2e9 MDC support for LoggingReceive #21361 2016-09-20 09:34:11 +02:00
Johan Andrén
e493bdc1b8 Remove hardcoded port number in TcpConnectionSpec, #21375 2016-09-14 13:22:06 +02:00
Patrik Nordwall
3531e901e9 harden ConstantRateEntityRecoveryStrategySpec, #21230 2016-09-14 13:21:41 +02:00
Patrik Nordwall
4a7cd14731 Merge pull request #21429 from richard-imaoka/wip-20394-dupe-persistentid-errmsg-richard-imaoka
More descriptive errors from ReplayFilter
2016-09-13 16:11:59 +02:00
Patrik Nordwall
79d8ec87fc Delay should not pull when buffer is full with Backpressure strategy, #21334
Additionally
* nano time conversion and calculation fix
* refactoring of Delay.onPush
2016-09-13 16:10:49 +02:00
Patrik Nordwall
86c15c04e3 Merge pull request #21453 from johanandren/wip-20724-increase-LeveldbAtLeastOnceDeliverySpec-johanandren
Verbose logging in LeveldbAtLeastOnceDeliverySpec
2016-09-13 15:52:21 +02:00
gosubpl
9b73fefdce =htc don't encode known to be empty entities (#21393) (#21396)
* =htc don't encode known to be empty entities (#21393)

* =htc added missing headers in the improved marshaller (#21393)
2016-09-13 14:32:02 +02:00
drewhk
ec50bd1441 Merge pull request #21447 from drewhk/wip-21446-harden-event-chasing-drewhk
#21446: Completion events must not be swallowed if chasing
2016-09-13 12:17:02 +02:00
Johan Andrén
74162ddc9f Verbose logging in LeveldbAtLeastOnceDeliverySpec to figure out #20724 2016-09-13 11:46:18 +02:00
Johan Andrén
e65e63e8c1 =per Higher recovery timeout in PersistentActorRecoveryTimeoutSpec to not fail on slow/gc #20728 (#21445) 2016-09-13 10:51:40 +02:00
Endre Sándor Varga
b2f0ca6750 #21446: Completion events must not be swallowed if chasing 2016-09-13 10:47:08 +02:00
Matthias Lüneberg
a88c8a0bbe Add javadsl FormData.create(Iterable) overload #21303 (#21344) 2016-09-13 10:19:37 +02:00
drewhk
47433bc65c Fix initialization order in BroadcastHub caused by an otherwise innocent race #21362 2016-09-13 09:02:53 +02:00
Richard Imaoka
98bfbbb4b3 Add documentation for ReplayFilter #20301 2016-09-12 16:18:06 +02:00
Johan Andrén
75bbd7d00b -doc Remove stale other language bindings doc page #21426 (#21432) 2016-09-12 11:59:38 +02:00
Richard S. Imaoka
ae084083f6 More descriptive errors from ReplayFilter (Fixes #20394) 2016-09-10 02:05:36 +09:00
Richard Imaoka
0f2da7b26b Add instruction for akka-samples (Fixes #21415) (#21416) 2016-09-09 13:15:33 +02:00
Roland Kuhn
1b9186ba9d Merge pull request #21128 from akka/wip-new-Typed-Impl-RK
New implementation for Akka Typed
2016-09-08 12:19:36 +02:00
Michał Płachta
b3bba1229f Make map stage final and refactor OneBoundedSetup to take a decider. (#21374)
* Remove new from Map constructions
2016-09-08 11:47:17 +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
Johannes Rudolph
fc3761bc4b Merge pull request #21384 from jrudolph/wip-21281-fix-authorization-param-rendering
=htc #21281 render empty params double quoted in headers like `Authorization`
2016-09-07 19:20:57 +02:00
gosubpl
7bcf0285a1 =htc #20793 make Marshaller.fromStatusCode emit empty entity for StatusCode with allowEntity=false 2016-09-07 19:12:42 +02:00
Johannes Rudolph
06a91f1d82
=htc #21281 render empty params double quoted in headers like Authorization 2016-09-06 20:10:39 +02:00
Patrik Nordwall
f5f37fbc39 Merge pull request #21379 from richard-imaoka/wip-21060-doc-persistid-unique-richard-imaoka
Add a comment on persistenceId uniqueness
2016-09-06 12:32:57 +02:00
Bernard Leach
1c8c2595d2 =htc #19643, #20570, #21235 Refactor PoolSlot to GraphStage to address race conditions
This fixes various bugs that arose because of manual implementation of ActorPublisher and ActorSubscriber.

Fixes #19643, #20570, and #21235.
2016-09-06 11:54:43 +02:00
Richard S. Imaoka
e35c8b0d31 Comment on persistenceId uniqueness (#21060) 2016-09-06 14:20:48 +09:00
kenji yoshida
95d13d4771 =act fix typo in ByteString#take error message (#21366) 2016-09-05 11:05:34 +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
Hawstein
df4a6270e6 exponential backoff in circuit breaker #21036 2016-09-02 13:24:17 +02:00
Patrik Nordwall
0b8d3c1f00 Merge pull request #21350 from akka/wip-docs-rp2-patriknw
Update links to Lightbend RPv2, more warnings about auto-down
2016-09-02 13:17:09 +02:00
Patrik Nordwall
41f3d6b147 Merge pull request #21351 from akka/wip-21343-exc-toBinary-patriknw
treat serialization (toBinary) exception of remote message as transient error, #21343
2016-09-02 13:15:15 +02:00
Patrik Nordwall
fa084fc5ce treat serialization (toBinary) exception of remote message as transient error, #21343 2016-09-02 11:05:00 +02:00
Patrik Nordwall
0a75f992e4 Update links to Lightbend RPv2, more warnings about auto-down 2016-09-02 10:26:47 +02:00
Patrik Nordwall
ee116dcdab Merge pull request #21201 from jypma/testkit_parent
#21198 Allow TestActor/TestKit/TestProbe to create child actors
2016-09-01 15:33:28 +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
drewhk
4821fb158e #20904: Increase timeouts in TestKitDoc tests, use Sink.seq (#21260) 2016-08-31 17:20:05 +01:00
Konrad Malawski
42a25609c1 Merge pull request #21329 from akka/wip-docs
=doc fix getStageActor docs typo (remove "not")
2016-08-31 13:01:00 +01:00
Konrad Malawski
8e35c03f51 =doc fix getStageActor docs typo (remove "not")
As follow up to https://github.com/akka/akka/pull/21323
due to CLA not signed, and released into public domain.
2016-08-31 12:05:12 +01:00
Konrad Malawski
b1d07498e2 =htp fix for infinite timeout disabling timeout infrastructure (#20817) (#21295)
* fix for infinite timeout disabling timeout infrastructure (#20817)

* filtering out timeout-access header in tests where necessary (#20817)

* filtering out timeout-access header in additional tests (#20817)

* added DummyCancellable object to avoid allocation (#20817)

* added test showing that timeout is correctly reset for both infinite as well as finite initial request-timeout (#20817)
2016-08-31 09:49:41 +01:00
gosubpl
7d7a5e51da added test showing that timeout is correctly reset for both infinite as well as finite initial request-timeout (#20817) 2016-08-30 22:18:26 +02:00
Patrik Nordwall
2bc25bff17 Merge pull request #21320 from johanandren/wip-21229-persistent-actor-failure-spec-race-johanandren
Race in PersistentActorFailureSpec removed
2016-08-30 19:43:39 +02:00
Patrik Nordwall
a95b2d6746 fail fast in mapAsync for completed failed future, #21318 (#21322)
* fail fast in mapAsync for completed failed future, #21318

* the callback was not run until todo == parallelism or the sync
  event limit was reached, and that can be a problem if upstream
  stages are slow (noticed this for a blocking Kafka producer stage)

* skip callback for completed futures

* fix callback allocation
2016-08-30 19:30:08 +02:00
Johan Andrén
e20d6f5f36 More generous timeout directive spec timeout #20278 2016-08-30 15:04:21 +02:00
Johan Andrén
b3cfd1c0ed Race in PersistentActorFailureSpec removed #21229 2016-08-30 14:46:51 +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
fbfc8b4c58 Http internal One2OneBidi pulling closed port #20944 2016-08-30 12:50:12 +02:00
Konrad Malawski
8c98d6cd74 * -htc remove proxy settings because not implemented (#21288) 2016-08-30 10:37:17 +01:00
Richard Imaoka
ec7d6a6998 Expose success and fail methods in CircuitBreaker #18347 2016-08-30 11:09:19 +02:00
Johan Andrén
faf717591b =htc Response rendering spec hardening #21088 (#21245)
A bit more time between the always-close and the guess-that-the-blueprint-closed timeouts
2016-08-30 09:38:17 +01:00