Commit graph

13028 commits

Author SHA1 Message Date
Roland Kuhn
a2a646af4e add ActorRef.noSender() for the Java API, see #3429
- Actor.noSender is not accessible from Java, but it was in 2.1 so don’t
  remove
- replaced all “null” in doc tests with ActorRef.noSender()
2013-06-20 15:51:23 +02:00
Roland
6c96485b26 change default timer resolution to 20ms 2013-06-03 22:09:45 +02:00
drewhk
5e0efa2429 Merge pull request #1525 from akka/wip-3286-apt-stresstest-failed-drewhk
Wip 3286 apt stresstest failed drewhk
2013-06-03 07:01:38 -07:00
Endre Sándor Varga
46fb44737c Proper handoff of readers #3286 2013-06-03 15:59:05 +02:00
Roland
d12ce03ea0 increase coroner timeout for SupervisorHierarchySpec 2013-06-03 14:53:51 +02:00
Roland Kuhn
0191458a24 Merge pull request #1521 from akka/wip-3342-mailbox-split-∂π
rewrite mailbox selection logic, see #3342
2013-06-03 03:53:17 -07:00
Patrik Nordwall
aa4b5ce8d6 Merge pull request #1502 from akka/wip-3390-dropped-msg-patriknw
Verify that messages are not dropped, see #3390
2013-06-03 03:51:29 -07:00
Roland Kuhn
92eb05bdbf Merge pull request #1511 from akka/wip-3414-backpressureSpec-∂π
improve BackpressureSpec, see #3414
2013-06-03 02:59:09 -07:00
Björn Antonsson
7de49aa892 Merge pull request #1518 from akka/wip-3380-typed-actor-remote-deployment-ban
Remote deployed typed actors need a local proxy #3380
2013-06-03 02:54:28 -07:00
Roland
e437109489 improve BackpressureSpec, see #3414
- only issue SuspendWriting after the previous ResumeWriting was done
- gather debug status in case of failure
2013-06-03 11:44:40 +02:00
Roland
20eb28a03c move deadLetterMailbox into Mailboxes and fix review comments, see #3342 2013-06-03 11:41:11 +02:00
Patrik Nordwall
ae75137cd8 Verify that messages are not dropped, see #3390 2013-06-03 11:26:39 +02:00
Patrik Nordwall
fbadb89962 Merge pull request #1513 from akka/wip-3177-remote-exc-msg-patriknw
Improve logging in remoting, see #3177
2013-06-03 02:09:02 -07:00
Roland Kuhn
872a81f964 Merge pull request #1522 from akka/wip-3312-SupHierS-∂π
fix SupervisorHierarchySpec and add more debug output, see #3312
2013-06-03 01:35:05 -07:00
Roland Kuhn
bc7f69e530 Merge pull request #1523 from akka/wip-3425-defautSerialization-∂π
use original system’s default address in serializedActorPath, see #3425
2013-06-03 01:34:35 -07:00
Björn Antonsson
d12372d3d1 Merge pull request #1514 from akka/wip-3400-split-pdf-documentation-ban
Split Akka PDF into a Java and Scala version #3400
2013-06-03 01:34:09 -07:00
Roland Kuhn
60c0b29043 Merge pull request #1524 from akka/wip-UDP-Option.get-∂π
fix one case of unguarded Option.get in UDP remoting
2013-06-03 01:33:58 -07:00
Roland
72e2848394 use original system’s default address in serializedActorPath, see #3425 2013-06-03 07:40:14 +02:00
Roland
d79e768b3f fix one case of unguarded Option.get in UDP remoting 2013-06-02 22:18:12 +02:00
Roland
141656a054 change IAE to ConfigurationException, see #3342 2013-06-02 16:23:54 +02:00
Roland
2fed5ac4f3 small fix in SslTlsSupportSpec 2013-06-02 15:31:27 +02:00
Roland
b3c33ad030 fix SupervisorHierarchySpec and add more debug output, see #3312
- the children list which was used for the havoc-wreaking part was not
  the right one, leading to an exercise in necromancy
- also print outstanding pings with more detail in case of timeout
2013-06-02 14:29:56 +02:00
Roland
f317aaf711 rewrite mailbox selection logic, see #3342
- add “mailbox-requirement” key to dispatcher section
- split out mailbox section, add akka.actor.default-mailbox
- rewrite findMarker method and use it for Props.create() and getting
  the required mailbox of an actor
- add ProducesMessageQueue trait for MailboxType so that requirements
  can be checked before trying to create the actor for real
- verify actor as well as dispatcher requirements for message queue
  before creation, even in remote-deployed case
- change MessageDispatcher constructor to take a Configurator, add that
  to migration guide
2013-06-02 12:32:04 +02:00
Patrik Nordwall
4edb23add8 Merge pull request #1520 from akka/wip-3421-ConcurrentSocketActorSpec-patriknw
Increase timeouts in ConcurrentSocketActorSpec, see #3421
2013-05-31 07:47:11 -07:00
Patrik Nordwall
7abe8ec01f Merge pull request #1519 from akka/wip-3423-child-race-patriknw
Race in creating new remote child, see #3423
2013-05-31 07:46:55 -07:00
Patrik Nordwall
66c815f456 Merge pull request #1517 from akka/wip-3386-io-logging-patriknw
tone down error logging in IO layer, see #3386
2013-05-31 07:46:36 -07:00
Patrik Nordwall
e8e00f4ff5 Merge pull request #1516 from akka/wip-3418-more-props-patriknw
More props factories, see #3418
2013-05-31 07:46:10 -07:00
Patrik Nordwall
9b59187816 tone down error logging in IO layer, see #3386
* Made defaultDecider available in SupervisorStrategy,
  turned out that I didn't need it but I think it could be
  good anyway, e.g.
  override def supervisorStrategy = OneForOneStrategy(
    enableLogging = false)(SupervisorStrategy.defaultDecider)
* Verified the following scenarios:
  - client connection failure
  - server bind failure
  - kill client (peer closed)
  - kill server (peer closed)
2013-05-31 14:32:08 +02:00
Patrik Nordwall
97471f94c6 Increase timeouts in ConcurrentSocketActorSpec, see #3421
* Failure was caused by 2.6 s GC pause
2013-05-31 14:19:18 +02:00
Patrik Nordwall
2d5616446f Race in creating new remote child, see #3423
* RemoteSystemDaemon removes its child when sendSystemMessage
  DeathWatchNotification is called from tellWatchersWeDied.
  That can happen after Terminated is delivered to other watcher,
  which create a new child with same name, and then the new child
  can then be removed instead of the old one.
* RemoteSystemDaemon must only remove child with exact match of
  full ActorRef
2013-05-31 14:09:59 +02:00
Björn Antonsson
a91a86c6f3 Remote deployed typed actors need a local proxy. See #3380 2013-05-31 13:42:14 +02:00
Björn Antonsson
2afbf2b8ec Merge pull request #1515 from akka/wip-enable-exclusion-of-sbt-plugin-publishing-ban
Allow akka sbt plugin to be excluded from remote publishing
2013-05-31 02:32:04 -07:00
Björn Antonsson
3b5947d834 Allow akka sbt plugin to be excluded from remote publishing 2013-05-31 11:31:07 +02:00
Patrik Nordwall
1dac00a129 More props factories, see #3418 2013-05-31 08:09:56 +02:00
Björn Antonsson
5ba40a19e8 Split Akka PDF into a Java and Scala version. See #3400 2013-05-30 21:53:02 +02:00
Patrik Nordwall
1dbe65f53e Improve logging in remoting, see #3177
* Supress TimeoutReason logging
* Add logTermination in FSM
* Improve some error messages, incl making them unique
* Cookie only logged if debug enabled
2013-05-30 21:37:57 +02:00
Roland Kuhn
51ed174432 Merge pull request #1508 from akka/wip-3391-SchedulerSpec-∂π
adapt SchedulerSpec rate test to 10ms time slices, see #3391
2013-05-30 08:05:28 -07:00
Roland Kuhn
f45ac18348 Merge pull request #1507 from akka/wip-3406-routee-start-∂π
only create the routees once they can be looked-up, see #3406
2013-05-30 08:04:41 -07:00
Roland Kuhn
8df8541801 Merge pull request #1500 from akka/wip-3210-local-only-∂π
make LocalScope mean “purely local” and avoid Props serialization check,...
2013-05-30 08:03:32 -07:00
Björn Antonsson
6e815a4a6e Merge pull request #1510 from akka/wip-3312-supervisorhierarchyspec-takes-too-long-ban
Change workSchedule time to avoid SupervisorHierarchySpec running slow #3312
2013-05-30 07:59:34 -07:00
Björn Antonsson
584d2c04eb Merge pull request #1509 from akka/wip-3407-ssltlssupportspec-failure-ban
Make the SslTlsSupportSpec AkkaSslHandler stop on all types of close #3407
2013-05-30 07:59:16 -07:00
Patrik Nordwall
07baf05bae harmonize MyActor.props pattern, see #3418 2013-05-30 14:50:46 +02:00
Patrik Nordwall
37d742fb5d Merge pull request #1501 from akka/wip-long-lines-patriknw
Wrap long lines, for pdf
2013-05-30 05:46:26 -07:00
Björn Antonsson
a136f8b0aa Change workSchedule time to avoid SupervisorHierarchySpec running slow. See #3312
The analysis has shown the following:

* when it happens, no work is outstanding, the supervisor hierarchy is in a quiet state
* test completes normally in 20s, one observed outlier at 33s and two failures which can be extrapolated to 75s and 59s
* timings can be reproduced on a notebook by inserting Thread.slee(p) in Hierarchy.preRestart
* what happens then is that the FSM backs off (with 250ms timer), bursts work, backs off, etc.
* setting the back-off timeout to 50ms reduces runtime from 50s to 20s on the notebook

Preliminary conclusion is that this is an artifact of the test procedure. No indication was seen of corruption or indefinitely suspending actor or any other incorrect behavior.
2013-05-30 14:45:48 +02:00
Patrik Nordwall
95366cb585 Wrap long lines, for pdf 2013-05-30 14:45:15 +02:00
Patrik Nordwall
7c1ab68263 Merge pull request #1505 from akka/wip-another-cluster-experimental-patriknw
remove unused pom.xml with akka-cluster-experimental ref
2013-05-30 05:25:03 -07:00
Björn Antonsson
a528214f87 Make the SslTlsSupportSpec AkkaSslHandler stop on all types of close. See #3407 2013-05-30 14:24:45 +02:00
Björn Antonsson
279c601cca Merge pull request #1506 from akka/wip-3390-remotenodedeathwatch-failure-ban
Add a barrier in RemoteNodeDeathWatchSpec to compensate for connection time #3390
2013-05-30 05:21:22 -07:00
Roland
fb9d10a767 adapt SchedulerSpec rate test to 10ms time slices, see #3391
using a larger sample will also make the spread of the resulting
calculated rate smaller; the referenced ticket is about a deviation from
the target rate which was slightly out of bounds
2013-05-30 13:16:39 +02:00
Roland
0af123aa6d only create the routees once they can be looked-up, see #3406
- move the creation of the RoutedActorCell’s route into
  ActorCell.start(); it used to be done in the constructor
- this requires “val route” to turn into a volatile private var

Thanks to Patrik for finding it!
2013-05-30 13:04:23 +02:00