Commit graph

13104 commits

Author SHA1 Message Date
Roland Kuhn
1cca2b85e3 Merge pull request #1570 from akka/wip-the-great-un-nulling-√
Removing the use of 'null' in LARS
2013-06-26 10:48:51 -07:00
Roland Kuhn
a359e1b88e fix yet another bug in LARS, see #3471
- the scheduler should round up the calculated slot instead of rounding
  down
- SchedulerSpec did not catch this because it added 5ms leeway (which is
  wrong and now removed)
- InboxActor exposed it by being really picky with early-firing timers;
  change that to be more robust
2013-06-26 17:01:29 +02:00
Roland Kuhn
a33ebb969f Merge pull request #1569 from akka/wip-unhandled-msg-StressSpec-patriknw
unhandled msg in cluster StressSpec
2013-06-26 08:01:04 -07:00
Roland Kuhn
adb85cf2e5 Merge pull request #1565 from akka/wip-actor-selection-touchup-√
Minor touchups and cleanups in ActorSelection
2013-06-26 07:59:57 -07:00
Viktor Klang
18cd126fd5 Removing the use of 'null' in LARS 2013-06-26 16:10:27 +02:00
Patrik Nordwall
f34909c490 unhandled msg in cluster StressSpec 2013-06-25 22:10:05 +02:00
Roland Kuhn
007a8b2399 Merge pull request #1566 from akka/wip-3430-pipeToSelection-∂π
add pipeToSelection support, see #3430
2013-06-25 08:25:44 -07:00
drewhk
5f1f9c255a Merge pull request #1567 from drewhk/wip-3462-akka-plugin-crlf-vs-lf-drewhk
Replaced multi-line strings with \n and concatenation #3462
2013-06-25 07:48:52 -07:00
Endre Sándor Varga
66427a7a30 Replaced multi-line strings with \n and concatenation #3462
If multi-line strings are used, the encoding of the source file will determine the result. Since the same file generates *nix and Windows scripts, no encoding will be correct except if explicit \n markers are used.
2013-06-25 16:47:48 +02:00
Roland Kuhn
95772dc4fc change line endings to CRLF for akka.bat 2013-06-25 16:45:12 +02:00
Roland Kuhn
9cd05a070e add pipeToSelection support, see #3430
also add explanation to docs about what happens when Identify message
hits a non-existing path element
2013-06-25 16:36:24 +02:00
Roland Kuhn
d5ca7a6a13 Merge pull request #1563 from akka/wip-3469-ExtensionKey-patriknw
Java (Eclipse) compatibility of extensions, see #3469
2013-06-25 06:36:07 -07:00
Roland Kuhn
1e65610fd4 Merge pull request #1538 from akka/wip-3434-fix-dead-link-in-io-codec-√
#3434 - Fixing dead link to Iteratees in io-codec.rst
2013-06-25 05:57:25 -07:00
drewhk
402f6eba94 Merge pull request #1564 from drewhk/wip-3466-retry-limit-off-apt-stress-drewhk
Turn of retry-limit for AkkaProtocolStressTest #3466
2013-06-25 05:51:25 -07:00
Endre Sándor Varga
a510c6043a Turn of retry-limit for AkkaProtocolStressTest #3466
This test drops messages, but dropping too much will make it fail. The reason is that this test expects at least a few of the final messages to arrive to prove that the Remoting does not get stuck in an irrecoverable state. The retry limit enabled case is covered by the SystemMessageDelivery tests. This is basically a revert to the original configuration.
2013-06-25 14:46:00 +02:00
Viktor Klang
0bb64b5092 Minor touchups and cleanups in ActorSelection 2013-06-25 14:23:52 +02:00
Patrik Nordwall
9b3be181cf Java (Eclipse) compatibility of extensions, see #3469
* Eclipse JDT showed compilation error
  "The method get(ActorSystem) is ambiguous for the type..."
  for extensions defined with ExtensionKey
2013-06-24 20:27:23 +02:00
Roland Kuhn
32a37ac96a Merge pull request #1562 from akka/wip-LARS-2.1-∂π
fix stupid bug in LARS
2013-06-24 06:40:41 -07:00
Roland Kuhn
57ac1c4385 fix stupid bug in LARS, see #3467
When switching the enqueueing logic to use the actual time instead of
the current tick number (which had been the purpose of the whole
rewrite) I managed to make the same mistake I did half a year ago again:
enqueueing into the same slot that has just been processed needs to
subtract one round while enqueueing into the slot that is about to be
processed MUST NOT DO THIS.

There was another bug in there related to differences between tick
number and actual time and remaining ticks of the task. I hope that the
code is now clear and simple enough as to be actually correct. As usual,
all tests passing.
2013-06-24 13:58:24 +02:00
drewhk
c855c164a9 Merge pull request #1561 from drewhk/wip-3460-unreachablejoinsagain-wrong-view-drewhk
Test was not using the view from the fresh system #3460
2013-06-24 04:47:08 -07:00
Patrik Nordwall
6541411add Merge pull request #1560 from akka/wip-3468-joinSeedNodes-public-patriknw
Make Make Cluster.joinSeedNodes public, see #3468
2013-06-24 04:46:02 -07:00
Patrik Nordwall
59d24e8af8 Merge pull request #1553 from akka/wip-atmos-tracing
atmos tracing
2013-06-24 04:45:25 -07:00
drewhk
4c15cd3f9a Merge pull request #1556 from drewhk/wip-tweak-apt-stresstest-drewhk
Tweaked AkkaProtocolStressSpec drop policies
2013-06-24 04:42:36 -07:00
Roland Kuhn
f17d6d4cc1 Merge pull request #1557 from akka/wip-3463-actorOf-doc-∂π
remove obsolete verbiage from ScalaDoc of actorOf, see #3463
2013-06-24 04:41:40 -07:00
Roland Kuhn
0e931eb51a Merge pull request #1555 from akka/wip-3461-cluster-client-∂π
replace embedded JMX Client with jmxsh, see #3461
2013-06-24 04:40:19 -07:00
Patrik Nordwall
30d34e20bf Make Make Cluster.joinSeedNodes public, see #3468 2013-06-24 12:15:22 +02:00
Endre Sándor Varga
bf3180c0f3 Test was not using the view from the fresh system #3460 2013-06-24 11:54:46 +02:00
Endre Sándor Varga
99508e2bf0 Added comment 2013-06-24 09:33:16 +02:00
Peter Vlugter
48fb1a22bd Update atmos test configuration to trace testActors 2013-06-24 16:51:03 +12:00
Patrik Nordwall
5d2f3277eb sbt-multi-jvm 0.3.6 2013-06-24 16:51:03 +12:00
Peter Vlugter
d1f400e11f Setup tests with atmos tracing 2013-06-24 16:50:52 +12:00
Roland Kuhn
b2ca105f6d remove obsolete verbiage from ScalaDoc of actorOf, see #3463 2013-06-22 10:50:40 +02:00
Endre Sándor Varga
b7a34198a4 Tweaked drop policy to be less aggressive on the other system 2013-06-21 15:23:04 +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
Roland Kuhn
72aa5ef171 replace embedded JMX Client with jmxsh, see #3461
- rewire the akka-cluster shell script to make use of jmxsh-R5.jar
2013-06-21 00:44:12 +02: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