Commit graph

12673 commits

Author SHA1 Message Date
Roland
63c6bc7d88 restructure ToC of reST docs
- completely decouple Java/Scala and remove heading suffixes
- move all images into images/
- move cluster docs into “official” place
2013-04-19 13:40:37 +02:00
Patrik Nordwall
c86cc0b8f7 Merge pull request #1347 from akka/wip-3182-fix-SO-in-file-based-mailbox-√
#3182 - Fixing a StackOverflow error in the FileBasedMailbox
2013-04-19 03:06:20 -07:00
Patrik Nordwall
d04d44b184 Merge pull request #1349 from akka/wip-2594-quarantine-removed-member-patriknw
Only quarantine removed member that was unreachable, see #2594
2013-04-19 03:02:32 -07:00
Patrik Nordwall
4ee5cfa483 Merge pull request #1348 from akka/wip-3229-member-prio-patriknw
Change member prio for Joining/Up, see #3239
2013-04-19 01:09:17 -07:00
Patrik Nordwall
49744e0b0f Only quarantine removed member that was unreachable, see #2594
* For graceful leaving and remove it should still be possible to
  communicate with the node after cluster removal.
* Otherwise the hand over in cluster singleton would break, for
  example.
* Also, skip selfAddress to avoid generation of AddressTerminated
  for the own node when removed from cluster.
2013-04-19 08:52:27 +02:00
Patrik Nordwall
a3df775931 Change member prio for Joining/Up, see #3239
* Sometimes caused duplicate MemberUp events, after conflicting gossips
2013-04-19 07:54:23 +02:00
Viktor Klang
a24cf76375 #3182 - Fixing a StackOverflow error in the FileBasedMailbox 2013-04-18 17:38:16 -07:00
Patrik Nordwall
3569886bbe Merge pull request #1345 from akka/wip-3239-cluster-sample-failures-patriknw
Temp workaround in tests for the duplicate MemberUp events, see #3239
2013-04-18 13:13:26 -07:00
Patrik Nordwall
c0e96f55bb Temp workaround in tests for the duplicate MemberUp events, see #3239 2013-04-18 22:07:53 +02:00
Patrik Nordwall
c7db89e9ab Merge pull request #1344 from akka/wip-quarantining-in-ClusterRemoteWatcher-patriknw
Quarantine from ClusterRemoteWatcher also, see #2993
2013-04-18 13:05:06 -07:00
drewhk
98d4bcc9dd Merge pull request #1338 from drewhk/wip-1478-sysmsg-guaranteed-delivery-drewhk
Guaranteed delivery of system messages (and now praying...)
2013-04-18 12:38:28 -07:00
Endre Sándor Varga
7735cb87b9 Adding workaround for UnreachableNodeJoinsAgain
- see #3247
2013-04-18 20:31:31 +02:00
Roland Kuhn
567071be22 Merge pull request #1339 from akka/wip-3200-ResumeWriting-∂π
implement ResumeWriting, see #3200
2013-04-18 08:54:36 -07:00
Patrik Nordwall
58bd0a1460 Quarantine from ClusterRemoteWatcher also, see #2993
* This was an oversight in previous pull request
2013-04-18 16:55:02 +02:00
Patrik Nordwall
09b55a2be3 Merge pull request #1340 from akka/wip-3234-ActorLookupSpec-patriknw
Race between termination and actorFor, see #3234
2013-04-18 07:44:29 -07:00
Patrik Nordwall
be14e62e7b Merge pull request #1342 from akka/wip-props-factory-methods-patriknw
Factory methods for Props
2013-04-18 07:43:59 -07:00
Patrik Nordwall
4293bd7a2d Factory methods for Props
* cleanup of deprecated usage of Props in cluster sample
2013-04-18 16:41:05 +02:00
Endre Sándor Varga
da2a23f3e9 Fixed compile errors 2013-04-18 16:19:41 +02:00
Endre Sándor Varga
2b0a27be9e Added acknowledged delivery of system messages 2013-04-18 16:10:20 +02:00
Roland
0e34edbcb3 implement ResumeWriting, see #3200
also included:
- a complete rewrite of the TCP docs based on real/tested/working code
  samples
- an EchoServer implementation which handles all the edge cases,
  available in Java & Scala
- renamed StopReading to SuspendReading to match up with ResumeReading
- addition of Inbox.watch()
- Inbox RST docs for Java(!) and Scala

not included:
- ScalaDoc / JavaDoc for all IO stuff
2013-04-18 15:05:48 +02:00
Patrik Nordwall
489c00b913 Merge pull request #1341 from akka/wip-UnreachableNodeJoinsSpec-patriknw
Fix failing UnreachableNodeJoinsAgainSpec
2013-04-17 13:24:24 -07:00
Patrik Nordwall
d2939fa39a Fix failing UnreachableNodeJoinsAgainSpec
* Shutting down test conductor controller is never a good idea
2013-04-17 22:22:22 +02:00
Patrik Nordwall
ee1b5879cf Race between termination and actorFor, see #3234 2013-04-17 21:03:16 +02:00
Patrik Nordwall
d6d64b1c1a Merge pull request #1323 from akka/wip-2993-remote-watch-patriknw
Reliable remote supervision and death watch, see #2993
2013-04-17 11:53:13 -07:00
Patrik Nordwall
4606612bd1 Reliable remote supervision and death watch, see #2993
* RemoteWatcher that monitors node failures, with heartbeats
  and failure detector
* Move RemoteDeploymentWatcher from CARP to RARP
* ClusterRemoteWatcher that handles cluster nodes
* Update documentation
* UID in Heartbeat msg to be able to quarantine,
  actual implementation of quarantining will be implemented
  in ticket 2594
2013-04-17 19:42:51 +02:00
Patrik Nordwall
d230e80eeb Merge pull request #1330 from akka/wip-2873-disallow-re-joining-patriknw
Disallow re-joining, see #2873
2013-04-17 08:04:17 -07:00
Patrik Nordwall
9e56ab6fe5 Disallow re-joining, see #2873
* Disallow join requests when already part of a cluster
* Remove wipe state when joining, since join can only be
  performed from empty state
* When trying to join, only accept gossip from that member
* Ignore gossips from unknown (and unreachable) members
* Make sure received gossip contains selfAddress
* Test join of fresh node with same host:port
* Remove JoinTwoClustersSpec
* Welcome message as reply to Join
* Retry unsucessful join request
* AddressUidExtension
* Uid in cluster Member identifier
  To be able to distinguish nodes with same host:port
  after restart.
* Ignore gossip with wrong uid
* Renamed Remove command to Shutdown
* Use uid in vclock identifier
* Update sample, Member apply is private
* Disabled config duration syntax and cleanup of io settings
* Update documentation
2013-04-17 16:48:18 +02:00
Roland Kuhn
cdf717e855 Merge pull request #1321 from spray/wip-IO-WriteFile-rebased
Tcp: introduce WriteFile to support zero-copy writing of files, fixes #2896
2013-04-17 04:39:41 -07:00
Roland Kuhn
57d71b0b44 Merge pull request #1336 from akka/wip-3081-PropsClosures-∂π
deprecate closure-taking Props factories, see #3081
2013-04-16 03:49:49 -07:00
Roland
28aad82b1a deprecate closure-taking Props factories, see #3081
- base Props on Deploy, Class and Seq[Any] (i.e. constructor args)
- remove deprecated Props usage from akka-docs sample code
- rewrite UntypedActorDocTestBase
- rewrite Java/Scala doc section on actor creation
- add migration guide entry
2013-04-16 12:48:31 +02:00
Roland Kuhn
3f76e9298d Merge pull request #1335 from akka/wip-3222-DeathPact-∂π
clean up DeathWatch semantics, see #3222
2013-04-16 02:18:52 -07:00
Roland
0e8b52d732 clean up DeathWatch semantics, see #3222
- DeathPactException => Stop in defaultStrategy
- ensure that after calling `context unwatch ref` we will not process a
  Terminated(`ref`) anymore, even if it was already enqueued (i.e.
  unwatch() happens between DeathWatchNotification and Terminated)
2013-04-16 11:17:48 +02:00
drewhk
ce9e61b065 Merge pull request #1332 from drewhk/wip-3229-supervisorspec-failed-drewhk
SupervisorSpec implicitly relied on a loss of a message
2013-04-15 08:51:24 -07:00
Endre Sándor Varga
48cd640772 The test implicitly relied on a loss of a message
- test now ensures that the message is lost
2013-04-15 17:50:32 +02:00
Roland Kuhn
80548ca0b3 Merge pull request #1337 from gideondk/master
"Recover" unsigned byte value from signed bytes in "getLongPart"
2013-04-15 08:06:44 -07:00
Your Name
2774596d04 Correct unsigned byte behavior 2013-04-15 15:09:07 +02:00
Johannes Rudolph
c342edee48 TcpConnection: forward exception from WriteFile dispatcher to the actor for proper handling 2013-04-15 15:03:02 +02:00
Johannes Rudolph
bc52e27af5 TcpConnection: don't lose direct buffers when ByteString operations fail 2013-04-15 14:54:46 +02:00
Johannes Rudolph
bfe4ce8219 TcpConnection: add file-io-transferTo-limit config parameter 2013-04-15 14:53:41 +02:00
Roland Kuhn
9cc5765017 Merge pull request #1334 from akka/wip-3231-clear-sysmsgStash-∂π
always clear ActorCell.sysmsgStash, see #3231
2013-04-15 02:59:52 -07:00
Roland Kuhn
5005c17f1f Merge pull request #1333 from akka/wip-3230-bound-addr-∂π
include bound localAddress in Bound message, see #3230
2013-04-15 02:59:20 -07:00
Roland
6a4be23d58 include bound localAddress in Bound message, see #3230
- done for Tcp & Udp in the same way
- also try to fix TcpConnectionSpec on my Mac
2013-04-15 11:58:50 +02:00
Patrik Nordwall
1e7febae36 Merge pull request #1307 from akka/wip-3203-distributed-pub-sub-patriknw
Distributed pub-sub in cluster, see #3203
2013-04-14 22:35:05 -07:00
Patrik Nordwall
089b25b3d4 Cluster client and receptionist, see #1165 2013-04-14 22:30:09 +02:00
Patrik Nordwall
1d1a6383df Distributed pub-sub in cluster, see #3203 2013-04-14 19:58:12 +02:00
Roland
36da251679 always clear ActorCell.sysmsgStash, see #3231
This was not prompted by a concrete failure, just an odd feeling that
proper cleanup might be beneficial even if I currently cannot construct
a case where we would leak something.
2013-04-13 21:06:20 +02:00
Endre Sándor Varga
35f2255e64 The test implicitly relied on a loss of a message 2013-04-12 15:52:39 +02:00
Roland Kuhn
d5a658f433 Merge pull request #1328 from spray/master
Tone down error logging by explicitly handling handler termination in TcpConnection
2013-04-12 03:43:21 -07:00
Viktor Klang (√)
92f3bbf7b4 Merge pull request #1331 from akka/wip-3204-add-keypass-to-ssl-config-√
#3204 - Adding keypass to SSL configuration
2013-04-11 13:32:26 -07:00
Patrik Nordwall
3cfe8f28a2 Merge pull request #1324 from akka/wip-3209-remove-unreachable-patriknw
Don't send Remove command to unreachable, see #3209
2013-04-11 08:02:19 -07:00