Commit graph

13070 commits

Author SHA1 Message Date
Patrik Nordwall
30d34e20bf Make Make Cluster.joinSeedNodes public, see #3468 2013-06-24 12:15:22 +02:00
Björn Antonsson
98afb2bbd2 Merge pull request #1554 from akka/wip-3451-missing-identify-message-ban
Longer timeout in RemoteDeliverySpec #3451
2013-06-20 22:21:21 -07:00
drewhk
41d8986382 Merge pull request #1552 from drewhk/wip-connection-leak-fix-drewhk
Bugfixes aplenty -- connection leak and reliable delivery fixes
2013-06-20 09:30:31 -07:00
Endre Sándor Varga
e6e5be859b Fixes for leaked connection
- Also introduces reason in the Disassociate message
 - Reliable delivery now transitions from idle to active if there are pending system msgs
 - Minor fix in merging receive buffers (reduces resends)
 - Tweaked WireFormat
 - Removed busy-wait in startup
 - throwing the proper exception type in EndpointReader
 - InvalidAssociationException extends NoStackTrace
2013-06-20 17:28:26 +02:00
Roland Kuhn
6d8e13c760 Merge pull request #1529 from akka/wip-3429-ActorRef.noSender-∂π
add ActorRef.noSender() for the Java API, see #3429
2013-06-20 06:51:54 -07:00
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 Kuhn
952e4f0c05 Merge pull request #1531 from akka/wip-3343-scala-2.10.2-√
#3343 - Moving to Scala 2.10.2
2013-06-20 06:32:38 -07:00
Björn Antonsson
e664d4a333 Longer timeout in RemoteDeliverySpec. See #3451 2013-06-20 15:26:12 +02:00
Roland Kuhn
4ac9993c18 Merge pull request #1547 from akka/wip-LARS-2.0-∂π
rework LARS, see #3428
2013-06-20 06:23:27 -07:00
Roland Kuhn
e2937dc27f Merge pull request #1541 from mhamrah/master
Fix grammar typo with Scala/FSM documentation.
2013-06-20 05:34:07 -07:00
Roland Kuhn
b044b6b5a9 Merge pull request #1548 from spray/wip/io-fix-configured-noacks
io: fix rare bug in TcpConnection causing the sending of certain `NoAck`...
2013-06-20 04:57:10 -07:00
Roland Kuhn
e976b13566 Merge pull request #1546 from akka/wip-3449-random-name-in-TestActorRef-for-java-√
#3449 - Adding a new factory method for creating TestActorRefs in Java ...
2013-06-20 04:55:28 -07:00
Roland Kuhn
511393d9a3 Merge pull request #1545 from akka/wip-3438-unbogusify-check-constructors-√
#3438 - Adding support for non-static top-level classes in check constr...
2013-06-20 04:55:04 -07:00
Roland Kuhn
0d3968de59 Merge pull request #1537 from akka/wip-3436-reuse-proper-threadfactory-for-netty-√
#3436 - use the ActorSystem's ThreadFactory for Netty threads
2013-06-20 04:53:52 -07:00
Roland Kuhn
ec2223a69f Merge pull request #1536 from spray/master
io: tone down error logging a bit more
2013-06-20 04:51:11 -07:00
Roland Kuhn
223ab49601 Merge pull request #1527 from akka/wip-2809-avoid-copying-for-ByteStrings-in-remoting-if-possible
#2809 - avoiding unnecessary copying of Byte Arrays for ByteStrings in ...
2013-06-20 04:49:46 -07:00
Roland Kuhn
359e01b104 revert to 10ms and fix two more things, see #3428
- one missing tailrec annotation
- and fix the actual bug: instead of enqueueing relative to the current
  wheel position we must enqueue into that bucket which corresponds to
  the correct time
2013-06-20 13:47:29 +02:00
Roland Kuhn
18f5b8f4ec Merge pull request #1551 from akka/wip-3457-properly-type-TestFSMRef-√
#3457 - Adding proper type to TestFsmRef
2013-06-20 04:05:28 -07:00
Björn Antonsson
46966c25ea Merge pull request #1535 from akka/wip-3441-speed-up-cluster-gossip-processing-ban
Speed up cluster gossip processing #3441
2013-06-20 03:56:16 -07:00
Patrik Nordwall
1543c8700a Merge pull request #1549 from akka/wip-3453-log-deadLetters-patriknw
Log dead letters, see #3453
2013-06-20 03:09:55 -07:00
Patrik Nordwall
cd2b77157c Log dead letters, see #3453 2013-06-20 12:09:09 +02:00
Björn Antonsson
1adfcb8454 Speed up cluster gossip processing. See #3441
Check VectorClock for common case first and cache hashCodes. See #3441
Make ClusterDaemon a bit more testable. See #3441
Changing VectorClock and GossipOverview to TreeMaps. See #3441
Make VectorClock private[cluster] and remove unused code. See #3441
2013-06-20 11:36:24 +02:00
Mathias
b311e9e700 io: change IOException treatment from "fatal error" to "expected during normal operation"
Up to now IOExceptions during reading, writing or connecting were treated as
fatal actor errors, crashing the connection actor and thus producing ERROR
level log messages. This patch treats such exceptions as "expected" during
normal operation and prevents them from crashing the actor. Rather, they are
logged at DEBUG level and the actor is actively and cleanly stopped.
2013-06-20 10:22:47 +02:00
Mathias
f2ab463c4d io: fix TcpConnection acking empty writes which carry NoAck(...) markers 2013-06-20 10:11:10 +02:00
Patrik Nordwall
d3a91f9692 Merge pull request #1544 from akka/wip-3450-win-bind-patriknw
tcp-reuse-addr off on windows, see #3450
2013-06-20 00:57:30 -07:00
Patrik Nordwall
851cfd87ff Merge pull request #1543 from akka/wip-3452-public-MetricsCollector-patriknw
Make akka.cluster.MetricsCollector public, see #3452
2013-06-20 00:57:09 -07:00
Patrik Nordwall
13df99655b Merge pull request #1542 from akka/wip-3445-dispatcher-in-RemoteActorRefProvider-patriknw
Use dispatcher from config with RARP, see #3445
2013-06-20 00:56:42 -07:00
Patrik Nordwall
6376db3fcb Merge pull request #1540 from akka/wip-periodic-cluster-stats-patriknw
Count vclock stats when published, not for each received gossip
2013-06-20 00:56:09 -07:00
Viktor Klang
f333c7c345 #3457 - Adding proper type to TestFsmRef 2013-06-20 00:04:57 +02:00
Roland Kuhn
e14f22f2e3 rework LARS, see #3428
- tasks are still enqueued without reading the clock
- in order to be resilient against timer thread over-sleeping the tasks
  are passed to the timer thread using an AbstractNodeQueue and the
  wheel itself is now private to the timer thread
- reuse queue Nodes along the way to minimize allocation costs

The problem with the old implementation was that the timer thread could
sleep too long, then wake up and run multiple buckets in quick
succession. Tasks enqueued just before that event could then get
executed basically immediately, i.e. before their allotted time.
2013-06-19 15:28:23 +02:00
Viktor Klang
3a394ecda2 #3449 - Adding a new factory method for creating TestActorRefs in Java without having to specify a name. 2013-06-19 03:14:25 +02:00
Viktor Klang
e561999a85 #3438 - Adding support for non-static top-level classes in check constructors 2013-06-19 03:08:38 +02:00
Patrik Nordwall
80a43ff24b tcp-reuse-addr off on windows, see #3450
* Pretty much a forward port of corresponding setting in Akka 2.1
2013-06-18 15:52:33 +02:00
Patrik Nordwall
8c2859ad03 Make akka.cluster.MetricsCollector public, see #3452 2013-06-18 15:07:26 +02:00
Patrik Nordwall
4374a93ddd Use dispatcher from config with RARP, see #3445 2013-06-18 14:56:14 +02:00
Michael Hamrah
6cffc0bfca Quick grammar fix for Scala/FSM docs. 2013-06-17 12:31:26 -03:00
Patrik Nordwall
bc367aae96 Count vclock stats when published, not for each received gossip 2013-06-15 23:17:05 +02:00
Viktor Klang
a097f24626 #3436 - use the ActorSystem's ThreadFactory for Netty threads 2013-06-14 23:31:24 -04:00
Mathias
8afd7a440d io tests: clean up imports 2013-06-14 14:47:14 +02:00
Viktor Klang
6a85ec6892 #3343 - Moving to Scala 2.10.2 2013-06-08 01:42:50 +02:00
Roland Kuhn
981bce5dd0 Merge pull request #1530 from akka/wip-3343-contrib-deps-∂π
remove “compile” scope from contrib dep to remoteTests, see #3343
2013-06-07 08:54:18 -07:00
Roland Kuhn
0c054c8281 remove “compile” scope from contrib dep to remoteTests, see #3343 2013-06-06 10:52:03 +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
Viktor Klang
6362843f29 #2809 - avoiding unnecessary copying of Byte Arrays for ByteStrings in Akka Remoting 2013-06-03 15:03:31 +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