Commit graph

12466 commits

Author SHA1 Message Date
Viktor Klang
5b9dbd1e1f Merge branch 'master' of github.com:akka/akka 2012-07-04 15:00:29 +02:00
Viktor Klang
0008d41c84 Minor touch-ups 2012-07-04 15:00:03 +02:00
Roland
dc9968dda7 don’t encourage thread leaks so easily (initialCommands) 2012-07-04 14:58:26 +02:00
Viktor Klang (√)
57bf823532 Merge pull request #571 from dev10/wip-fix-long-ssl-tests-for-linux
fix long ssl tests for linux
2012-07-04 05:43:14 -07:00
Patrik Nordwall
fbeb6017cc Remove gossip to deputy nodes, see #2310 2012-07-04 14:39:27 +02:00
Viktor Klang
8fa7294ce6 Tiny LoC removal 2012-07-04 14:29:47 +02:00
Patrik Nordwall
c708d2ad8a First step in refactoring of cluster internals to actors, see #2311
* Move clustering code to ClusterCore actor
* More will be done, comitting this for early review
2012-07-04 13:52:14 +02:00
Viktor Klang (√)
60982a55a6 Merge pull request #573 from t3hnar/master
ActorCell.receiveTimeout will store 'Duration' instance instead of 'Long'
2012-07-04 04:50:27 -07:00
Patrik Nordwall
1ccb9fe7ec Note about URLEncode instead of MD5, see #2290 2012-07-04 11:58:51 +02:00
Patrik Nordwall
9bf5a74f92 Merge branch 'master' into wip-2290-leader-merge-patriknw
Conflicts:
	akka-cluster/src/test/scala/akka/cluster/ClusterConfigSpec.scala
2012-07-04 11:46:28 +02:00
Patrik Nordwall
98d78db80a Merge pull request #568 from akka/wip-2287-LeaderLeavingSpec-patriknw
Fix time sensitivity in LeaderLeavingSpec, see #2287
2012-07-04 02:42:38 -07:00
Roland
52e1881ece move 'repl' script into AkkaBuild as initialCommands, thanks Pete! 2012-07-04 11:30:02 +02:00
Roland
804c182cc0 incorporate review: add docs, see #1952 2012-07-04 10:33:59 +02:00
Roland
78a39198f1 another round of fixes due to suspend counting, see #2212
- always suspend/resume for Suspend/Resume/Recreate, no matter which
  state the actor is in, to keep the counter balanced
- preRestart failures are logged but otherwise ignored; there’s nothing
  else (apart from terminating the actor) which we could do at that
  point
- preRestart/postRestart exceptions have their own distinguishable
  subtype of ActorKilledException now
- fix some race conditions in tests to make them produce fewer false
  failures
- remove cruft from SupervisorStrategy and add methods which can
  actually be used to implement your own (with proper warning signs)
2012-07-04 09:20:17 +02:00
Viktor Klang
062fe0fe9a Aligning the latches in the AgentSpec optimially for the test cases 2012-07-03 23:16:37 +02:00
Viktor Klang
602c83f451 Changing implementation of AgentSpec not to do Thread.sleep 2012-07-03 23:12:35 +02:00
Yaroslav Klymko
0fa39abb04 ActorCell.receiveTimeout will store 'Duration' instance instead of 'Long' 2012-07-03 23:52:54 +03:00
Viktor Klang
d4f759646c Prolonging the timeouts for the ProducerRegistryTest 2012-07-03 21:26:05 +02:00
Patrik Nordwall
63d6ac2a7e Change auto-down default to off, see #2304 2012-07-03 16:36:11 +02:00
Björn Antonsson
b92e22acda Merge branch 'master' of github.com:akka/akka 2012-07-03 16:10:55 +02:00
Björn Antonsson
0c38dac2ea Doc typo change and clarification 2012-07-03 16:10:42 +02:00
Viktor Klang
95e95d28c3 Merge branch 'master' of github.com:akka/akka 2012-07-03 11:45:42 +02:00
Viktor Klang
b5eea69ebb Fixing OSGi tests by making them serially executed. 2012-07-03 11:43:59 +02:00
Patrik Nordwall
962e4a9638 Document how to boot up an Akka/play-mini application, see #2272 2012-07-03 11:28:55 +02:00
Björn Antonsson
18f113de68 Stop SBT from buffering test output to ease bug hunting on Jenkins 2012-07-03 11:19:40 +02:00
Patrik Nordwall
aa88818f71 Fix time sensitivity in NodeLeavingAndExitingSpec, see #2289 2012-07-03 11:09:34 +02:00
Peter Badenhorst
b9ce4e04de fixed dangling exception, reusing code, removed DevRandomSeedGenerator 2012-07-03 10:43:57 +02:00
Patrik Nordwall
e5979bc31c Gossip merge in large cluster, #2290
* Trying to simultaneously resolving conflicts at several nodes creates new conflicts.
  Therefore the leader resolves conflicts to limit divergence. To avoid overload there
  is also a configurable rate limit of how many conflicts that are handled by second.
* Netty blocks when sending to broken connections. ClusterHeartbeatSender actor
  isolates sending to different nodes by using child workers for each target
  address and thereby reduce the risk of irregular heartbeats to healty
  nodes due to broken connections to other nodes.
2012-07-02 23:00:41 +02:00
Patrik Nordwall
c09caebe8a Small refactoring of cluster actors
* Separate actor for heartbeats, so they are more isolated from gossip
  messages
* Configuration property for dispatcher to use for the cluster actors
2012-07-02 23:00:41 +02:00
Peter Badenhorst
04a53b0865 Fixed license, lazy and naming issues 2012-07-02 14:35:04 +02:00
Peter Badenhorst
dc2d918ec2 Implemented a custom InternetSeedGenerator to override seed generator ordering to try and fix long waiting times on Linux because DefaultSeedGenerator uses /dev/random first instead of random.org
1) Added SeedSize to provide easier access to 'magic' numbers
2) Added AES256CounterSecureRNG
2012-07-02 13:36:23 +02:00
Peter Badenhorst
eac778d8da Implemented a custom InternetSeedGenerator to override seed generator ordering to try and fix long waiting times on Linux because DefaultSeedGenerator uses /dev/random first instead of random.org
1) Added SeedSize to provide easier access to 'magic' numbers
2) Added AES128CounterSecureRNG
2012-07-02 13:13:45 +02:00
Roland Kuhn
3c8a15e2df Add license information for junit-interface 2012-07-02 10:35:13 +03:00
Roland
ddadb1bb06 reuse dispatcher thread for remoting in REPL 2012-07-02 08:15:52 +02:00
Viktor Klang
6fb06ee46b Merge with master and adding copyright notices on the osgi stuff 2012-07-01 22:31:39 +02:00
Viktor Klang (√)
ec585ed4fa Merge pull request #462 from oschulz/bs-iterators
ByteString performance improvements and support for binary I/O
2012-07-01 09:49:58 -07:00
Oliver Schulz
777addc66c Merge branch master into bs-iterators
Resolved Conflicts:
	akka-actor/src/main/scala/akka/util/ByteString.scala
2012-07-01 17:29:12 +02:00
Viktor Klang
3797b72c45 Making sure that OSGi docs don't break the build and making sure that the osgi artifacts are bundled in the project 2012-07-01 13:31:11 +02:00
Viktor Klang (√)
34b05e554b Merge pull request #500 from gertv/osgi
Proposal for an akka-osgi module
2012-07-01 03:48:41 -07:00
Roland
b684eb1d2f re-add “repl” script for priming the REPL 2012-06-30 21:04:13 +02:00
Gert Vanthienen
4e3b42f893 Merge remote-tracking branch 'akka/master' into osgi 2012-06-30 20:30:53 +02:00
Gert Vanthienen
3204e8a426 A few more code-style improvements and an easier API for the activator 2012-06-30 20:30:36 +02:00
Roland
a151afbe68 link to Config lib docs, see #2296 2012-06-30 13:16:16 +02:00
Viktor Klang
8ede1f55e9 Moving to s.c.EC and s.c.A, compiles but tests aren't passing 2012-06-29 16:40:36 +02:00
Viktor Klang
e62a0eee1c Merge with master 2012-06-29 16:07:36 +02:00
Viktor Klang
0bf45a9403 Initial work in moving to scala.concurrent.Await + Awaitable 2012-06-29 16:06:26 +02:00
Roland
d7bed79730 add JavaTestKit, see #1952
- it’s a completely new-written thing in pure Java, so that “protected”
  modifiers actually work and no ghost errors appear wrt. inheriting
  from PartialFunction or similar
- it also features integration with the EventFilter
- all closure-based constructs are modeled as inner classes of the
  JavaTestKit, where the user needs to override a single method which
  will then be executed
2012-06-29 14:42:11 +02:00
Gert Vanthienen
88c1f69050 A few more code-style fixes 2012-06-29 14:12:36 +02:00
Gert Vanthienen
b136fe6c69 Merge remote-tracking branch 'akka/master' into osgi 2012-06-29 14:12:01 +02:00
Viktor Klang
1f6f2c1897 The unb0rkening 2012-06-29 14:07:38 +02:00