Commit graph

12466 commits

Author SHA1 Message Date
Mathias
4062516c84 Add first version of TCP message protocol 2013-01-09 17:58:30 +01:00
Patrik Nordwall
8c6eb9aa42 Correction of within time in TransformationSampleJapiSpec, see #2875
* We had the same issue in ticket 2820 and then the conclusion was that
  the within timeout should be increased due to "publish on convergence",
  but it was not done correctly in TransformationSampleJapiSpec, see
  8bf7c03158
* Also fixed the wrong (but harmless) subscribe in TransformationBackend
2013-01-09 17:04:52 +01:00
Patrik Nordwall
be2d5977b8 Merge pull request #1003 from akka/wip-protocol-pattern-LogRoleReplace-patriknw
Adjust protocol pattern in LogRoleReplace for new remoting
2013-01-09 06:34:44 -08:00
Patrik Nordwall
8a880c16d2 Adjust protocol pattern in LogRoleReplace for new remoting 2013-01-09 15:33:28 +01:00
Roland
9daf0e1bd7 add testkit as a dependency for akka-io, see #2884 2013-01-09 15:19:36 +01:00
Roland
0bba3b10e6 create akka-io subproject, see #2884 2013-01-09 14:11:24 +01:00
drewhk
abb209d466 Merge pull request #1001 from drewhk/wip-2867-throttlertransport-failed-drewhk
Fixed startup race in transport adapters #2867
2013-01-09 03:15:27 -08:00
Viktor Klang
adfeb2c1f0 #2879 - updating copyright info 2013-01-09 11:38:00 +01:00
Patrik Nordwall
9faccf6270 Remove todo ReentrantReadWriteLock 2013-01-09 11:06:57 +01:00
Patrik Nordwall
67297b516e Merge pull request #1005 from akka/wip-2877-revert-patriknw
Revert "Propagate statusPromise down to the actual change in throttler, ...
2013-01-08 12:02:29 -08:00
Patrik Nordwall
dec4542f11 Revert "Propagate statusPromise down to the actual change in throttler, see #2877"
This reverts commit 9c1a00d020.
2013-01-08 20:58:13 +01:00
Patrik Nordwall
943c438d5e Publish clean state when joining (PublishStart), see #2871
* The failure in JoinTwoClustersSpec was due to missing publishing
  of cluster events when clearing current state when joining
* This fix is in the right direction, but joining clusters like this
  will need some design thought, creating ticket 2873 for that
2013-01-08 19:32:36 +01:00
Patrik Nordwall
5d53ec0c52 Merge pull request #1002 from akka/wip-2877-throttler-ack-patriknw
Propagate statusPromise down to the actual change in throttler, see #2877
2013-01-08 09:13:41 -08:00
Roland Kuhn
554e3396ca remove extra "the" in docs 2013-01-08 18:08:22 +01:00
Roland Kuhn
bddc992a78 Merge pull request #1004 from drewhk/wip-2833-only-ssl-client-handshakes-drewhk
Only client should issue an SSL handshake #2833
2013-01-08 08:57:27 -08:00
Patrik Nordwall
a0cb4b3782 Merge pull request #940 from akka/wip-2786-cluster-stress-patriknw
Stress / long running test of cluster, see #2786
2013-01-08 06:15:06 -08:00
Patrik Nordwall
46d376b3e5 Remove LargeClusterSpec, superseded by StressSpec, see #2786 2013-01-08 15:09:51 +01:00
Endre Sándor Varga
695fe02e58 Only client should issue an SSL handshake #2833 2013-01-08 14:05:55 +01:00
Patrik Nordwall
9c1a00d020 Propagate statusPromise down to the actual change in throttler, see #2877
* added some missing copyright headers
2013-01-08 13:11:53 +01:00
Roland
cfcc9da9bc add verification of ping-pong chains
- basic principle is that if we get a reply of type T1 and our channels
  allow us to reply to such a message with type T2, then the target
  needs to support that as well, and so on.
- due to this, forwarding will have to be restricted; but it might well
  be that forwarding will not be completely safe in any case
2013-01-08 12:08:41 +01:00
Endre Sándor Varga
48216980fc Fixed startup race in transport adapters #2867 2013-01-08 11:45:15 +01:00
Roland
74f6dd789b add check that all channels were declared 2013-01-07 16:49:08 +01:00
Roland
dc254d7ab1 add check for same-erasure channels 2013-01-07 16:16:43 +01:00
Patrik Nordwall
f147f4d3d2 Stress / long running test of cluster, see #2786
* akka.cluster.StressSpec
* Configurable number of nodes and duration for each step
* Report metrics and phi periodically to see progress
* Configurable payload size
* Test of various join and remove scenarios
* Test of watch
* Exercise supervision
* Report cluster stats
* Test with many actors in tree structure

Apart from the test this commit also solves some issues:

* Avoid adding back members when downed in ClusterHeartbeatSender
* Avoid duplicate close of ClusterReadView
* Add back the publish of AddressTerminated when MemberDowned/Removed
  it was lost in merge of "publish on convergence", see #2779
2013-01-07 14:44:36 +01:00
Roland
697a7f863b add typed ask support 2013-01-06 22:05:07 +01:00
Roland
df4a6f1dd9 add polymorphic channels
- channel[T <: ChannelList] takes a WrappedMessage[T] => Unit function
  because there cannot be a typed sender reference (which type would it
  have?)
- ChannelRef[T] allows forwarding of WrappedMessage[T] (and nothing
  else; keeping the sender is essential)
- move ActorRef.narrow implicit into the package object
- do not accept top-level Channels which send to their parent
2013-01-06 18:50:49 +01:00
Patrik Nordwall
7944b456fc Merge pull request #999 from akka/wip-2832-enable-blackhole-tests-patriknw
Enable blackhole tests again, see #2832
2013-01-04 06:12:06 -08:00
Patrik Nordwall
c7484fc7d6 Merge pull request #998 from akka/wip-2849-ReliableProxySpec-slow-link-patriknw
Improve ReliableProxy resend across a slow link, see #2849
2013-01-04 06:10:32 -08:00
Patrik Nordwall
06f1945561 Improve ReliableProxy resend across a slow link, see #2849
* The within margin was too small. On my machine the transition to Idle is done
  when 400 ms is remaining, which is too timing sensitive.
* Improved the "resend across a slow link" test to actually trigger resending,
  which it didn't do before.
2013-01-04 15:09:35 +01:00
drewhk
cdd86cbf1c Merge pull request #997 from drewhk/wip-2835-ordering-of-terminated
Enforcing ordering of Terminated wrt remote/local #2835
2013-01-04 05:32:26 -08:00
Endre Sándor Varga
dc5f835f1f Added scope query methods to Address. 2013-01-04 14:27:48 +01:00
Viktor Klang (√)
d719a6809c Merge pull request #996 from akka/wip-make-fsmdocspec-use-bytestring-√
Switching to ByteString in FSMDocSpec to get rid of warnings in pattern ...
2013-01-04 04:18:48 -08:00
Endre Sándor Varga
58324eb263 Enforcing ordering of Terminated wrt remote/local #2835 2013-01-04 13:16:24 +01:00
Patrik Nordwall
6fae695b3c Enable blackhole tests again, see #2832 2013-01-04 13:13:28 +01:00
Patrik Nordwall
f876d921ff fix broken rename of nanoTimeOfLastSend 2013-01-04 13:07:56 +01:00
Patrik Nordwall
27acfcf5e1 Merge pull request #993 from akka/wip-2846-stop-ReliableProxySpec-patriknw
Clean shutdown of ReliableProxySpec, see #2846
2013-01-04 03:56:50 -08:00
Patrik Nordwall
48c6374721 Clean shutdown of ReliableProxySpec, see #2846
* Solved by adding missing Dequeue in throttler
* Changed to FSM timers in throttler
* Some boy scouting
2013-01-04 12:54:54 +01:00
Viktor Klang (√)
88f40d38eb Merge pull request #995 from akka/wip2848-remove-uuid-from-akka-exception-√
#2848 - Removing the UUID from AkkaException
2013-01-04 02:45:52 -08:00
Crossing-Tech
abb8366eb4 rkuhn comments applied: no more extension 2013-01-04 10:48:38 +01:00
drewhk
6924d53dfd Merge pull request #994 from drewhk/wip-2833-ssl-remoing-failed-drewhk
Added setIssueHandshake() to enable auto-handshake #2388
2013-01-04 01:24:26 -08:00
Roland
da10291cdd add narrowing from ActorRef to ChannelRef 2013-01-03 23:36:44 +01:00
Roland
4b2a28887d add ChannelRef.narrow[] 2013-01-03 21:11:20 +01:00
Roland
cc2cda8752 add tests for parentChannel 2013-01-03 19:53:22 +01:00
Roland
363fa71f4b change Recv[] from partial to total function
- also change :=: to :+: for faster typing pleasure on US keyboards
2013-01-03 19:44:37 +01:00
drewhk
3ceb02f846 Merge pull request #991 from drewhk/wip-updated-nettyfuturebridge-drewhk
Cleaned up chaining of ChannelGroupFutures
2013-01-03 09:59:43 -08:00
Patrik Nordwall
cad30df504 Merge pull request #989 from akka/wip-2823-CircuitBreakerMTSpec-patriknw
Fix race in CircuitBreakerMTSpec, see #2823
2013-01-03 08:45:18 -08:00
Roland Kuhn
cca5e5a4f1 Merge pull request #992 from akka/wip-2843-port-zero-∂π
ticket 2843: make all ports dynamic in remoting tests
2013-01-03 08:21:30 -08:00
Roland
6c31d5313e rename AkkaSpec.{atTermination => afterTermination} 2013-01-03 17:17:12 +01:00
Roland
ff24be7650 introduce AkkaSpec.beforeTermination hook, e.g. to silence shutdown logs
- apply it in RemoteRouterSpec, RemoteDeathWatchSpec, RemotingSpec,
  AkkaProtocolStressTest and ThrottlerTransportAdapterSpec
2013-01-03 17:09:11 +01:00
Endre Sándor Varga
e399aefe3d Using named parameters for booleans 2013-01-03 16:18:25 +01:00