Viktor Klang
31fbe76e06
It is with great pleasure I announce that all tests are green, I now challenge thee, Jenkins, to repeat it for me.
2011-11-14 11:18:17 +01:00
Roland
a08234cd9a
introduce base64 random names
...
- remove Props.randomName and associated logic
- ActorRefFactory contains AtomicLong which is used to generate unique
children names
- base64-like encoding is used with reverse “digit” order
- disallow given names which are null, empty or start with ‘$’
- random names start have ‘$’ prepended (‘$’ not being one of the 64
characters)
- special marker “$_” for tempPath until “/tmp” supervisor is introduced
- TestActorRef uses globally unique “$$” prefix, as it creates actors
beneath any supervisor as instructed by the user
2011-11-13 20:38:14 +01:00
Roland
1ba168774f
improve DeadLetter reporting
...
(since I know now what’s causing these Jenkins failures ;-) )
- include recipient in DeadLetter
- include recipient in calls to enqueue/systemEnqueue
- move DeadLetterMailbox to ActorSystem (saves some space, too)
- hook up DeadLetterMailbox so it sends DeadLetters to app.deadLetters,
which publishes them on the eventStream
- subscribe TestEventListener to DeadLetter and turn it into Warning
The generated warnings about ChildTerminated are very much correct, they
remind us that we still need to fix supervisor.stop() to await all
children’s death before actually committing suicide.
2011-11-12 10:57:28 +01:00
Roland
56cb2a2f30
clean up test output, increase default timeouts
...
- apply EventFilters so that at least on my machine no expected messages
are printed
- add new test config settings to akka-reference.conf
- set default for loglevel to WARNING
- print out timeout values in case of various timeouts if they occur
2011-11-11 20:56:48 +01:00
Jonas Bonér
a9049ec9e5
Added test for ScatterGatherFirstCompletedRouter. Fixes #1275 .
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-11-11 14:53:45 +01:00
Viktor Klang
7931032898
Removing postMessageToMailbox and taking yet another stab at the pesky balancing dispatcher race
2011-11-11 12:59:19 +01:00
Roland
53353d7031
rename MainBus to EventStream (incl. field in ActorSystem)
2011-11-10 21:01:37 +01:00
Roland
945b1aedf9
rename akka.AkkaApplication to akka.actor.ActorSystem
...
Renaming it to System did not appeal after seeing that such a thing is
already imported from Predef ...
2011-11-10 21:00:01 +01:00
Viktor Klang
c6e44ffef7
Removing hostname and port for AkkaApplication, renaming defaultAddress to address, removing Deployer.RemoteAddress and use the normal akka.remote.RemoteAddress instead
2011-11-10 19:20:07 +01:00
Viktor Klang
c75a8db0de
Merging in Henriks HashedWheelTimer stuff manually
2011-11-10 18:41:51 +01:00
Viktor Klang
1fb1309dc3
Merging with master
2011-11-10 18:06:16 +01:00
Viktor Klang
ba9281e267
Removing InetSocketAddress as much as possible from the remoting, switching to RemoteAddress for an easier way forward with different transports. Also removing quite a few allocations internally in the remoting as a side-efect of this.
2011-11-10 17:39:31 +01:00
Henrik Engstrom
1577f8bcb3
Updated after code review:
...
Removed logging
Slimmed down the Java code
Moved default scheduler
2011-11-10 16:31:50 +01:00
Roland Kuhn
3e166030ec
Merge pull request #107 from jboner/actor-path
...
Actor path: created pull request in Peter’s name
2011-11-10 06:11:12 -08:00
Viktor Klang
0800511ac9
Removing one allocation per remote message send
2011-11-10 14:12:07 +01:00
Viktor Klang
780223640e
Removing the distinction between client and server module for the remoting
2011-11-10 12:41:18 +01:00
Peter Vlugter
a7ed5d7816
Update deployer to use actor path rather than old address (name)
2011-11-10 12:21:42 +01:00
Peter Vlugter
7b8a865c00
Rename address to name or path where appropriate
...
- TypedActor: address -> name
- TestActorRef, TestFSMRef: address -> name
- Props.randomAddress -> randomName
- Remote protocol: address -> name
- Address.validate moved to ActorPath
2011-11-10 12:19:07 +01:00
Peter Vlugter
3f7cff141d
Add an initial implementation of actor paths
2011-11-10 12:19:07 +01:00
Jonas Bonér
85fc8be749
Merge branch 'master' of github.com:jboner/akka
2011-11-10 11:51:04 +01:00
Jonas Bonér
f4740a4798
Moved 'failure-detector' config from 'akka.actor.deployment.address' to 'akka.remote'. Made AccrualFailureDetector configurable from config.
2011-11-10 11:50:11 +01:00
Henrik Engstrom
896c906d03
Implemented HashedWheelTimer as the default scheduling mechanism in Akka. Fixes #1291
2011-11-10 11:32:26 +01:00
Roland
70ae4e1984
Merge branch 'logging'
...
known failures in BalancingDispatcherModelSpec and ActorPoolSpec have
tickets
2011-11-09 18:18:32 +01:00
Viktor Klang
0b2690ec50
Adding support for reusing inbound connections for outbound messages, PROFIT
2011-11-09 17:17:03 +01:00
Viktor Klang
51a01e252f
Removing akka-http, making so that 'waves of actors'-test fails when there's a problem and removing unused config sections in the conf file
2011-11-09 15:47:57 +01:00
Viktor Klang
3bffeaefc8
De-complecting the notion of address in the remoting server
2011-11-09 15:04:57 +01:00
Roland
a747ef7856
Merge remote branch 'origin/master' into logging
...
BalancingDispatcherModelSpec is currently broken, leaves count==1 in
wavesOfActors test, committed anyway in order to check out where it
broke before this merge
2011-11-09 14:56:05 +01:00
Viktor Klang
39ba4fb254
Removing a pointless TODO and a semicolon
2011-11-09 13:04:41 +01:00
Viktor Klang
ed3ff933fa
Simplifying remote error interception and getting rid of retarded exception back-propagation
2011-11-09 12:49:51 +01:00
Viktor Klang
b6d53aa54f
Removing a couple of lines of now defunct code from the remoting
2011-11-09 12:42:28 +01:00
Viktor Klang
f04b6a5647
Removing executionHandler from Netty remoting since we do 0 (yes, Daisy, you heard me) blocking ops in the message sends
2011-11-09 12:41:37 +01:00
Viktor Klang
294c71d9cb
Adding stubs for implementing support for outbound passive connections for remoting
2011-11-08 20:43:38 +01:00
Viktor Klang
f12914f8f9
Turning all eventHandler log messages left in NettyRemoteSupport into debug messages and remove more dual entries (log + event)
2011-11-08 20:18:24 +01:00
Viktor Klang
7e66d93e46
Removign dual logging of remote events, switching to only dumping it into the eventHandler
2011-11-08 20:06:41 +01:00
Viktor Klang
01df0c3766
Removing the guard (ReentrantGuard) from RemoteServerModule and switching from executing reconnections and shutdowns in the HashWheelTimer instead of Future w. default dispatcher
2011-11-08 20:00:45 +01:00
Viktor Klang
3021baa3e4
Fixing the BuilderParents generated by protobuf with FQN and fixing @returns => @return
2011-11-08 19:10:07 +01:00
Roland
4f4227acf3
work-around compiler bug in ActiveRemoteClient
...
It seems that 2.9.1 has a bug when a constructor argument is passed to
superclass which makes a public field out of it under the same name:
scalac got confused and generated invokespecial byte-code which is
rejected by the verifier. One could argue that the verifier is too
strict in this case ...
So, I changed the names of the constructor arguments by prepending an
underscore and thus avoiding the clash.
2011-11-04 22:20:58 +01:00
Viktor Klang
d8d322c6e8
Moving in Deployer udner the provider
2011-11-04 10:11:07 +01:00
Viktor Klang
e958987e5b
Switching to AddressProtocol for the remote origin address
2011-11-03 19:32:53 +01:00
Viktor Klang
37ba03eadb
Adding initial support in the protocol to get the public host/port of the connecting remote server
2011-11-03 18:33:57 +01:00
Viktor Klang
601df0421c
Folding RemoteEncoder into the RemoteMarshallingOps
2011-11-03 15:42:46 +01:00
Viktor Klang
a040a0c54d
Profit! Removing Uuids from ActorCells and ActorRefs and essentially replacing the remoting with a new implementation.
2011-11-03 14:53:38 +01:00
Viktor Klang
91545a4b52
Fixing TestActorRefSpec, now everything's green
2011-10-31 16:09:53 +01:00
Viktor Klang
d64b2a7292
All green, fixing issues with the new ask implementation and remoting
2011-10-31 16:09:53 +01:00
Viktor Klang
5d4ef80618
Fixing ActorModelSpec for CallingThreadDispatcher
2011-10-31 16:09:53 +01:00
Viktor Klang
26f45a599b
Making walker a def in remote
2011-10-31 16:09:52 +01:00
Viktor Klang
3e3cf86bdf
Removing futures from the remoting
2011-10-31 16:09:52 +01:00
Viktor Klang
1b730b5c82
Removing Channel(s), tryTell etc, everything compiles but all tests are semibroken
2011-10-31 16:09:51 +01:00
Jonas Bonér
9bf9cea0d9
Removed trailing whitespace
2011-10-28 15:55:47 +02:00
Jonas Bonér
c1152a0b42
Fixed minor stuff in Gossiper after code review feedback.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-27 15:14:15 +02:00