Commit graph

9301 commits

Author SHA1 Message Date
Jonas Bonér
5f537a7d4c Rewrite of the VectorClock impl. Now with 'merge' support and slicker API. Also added more tests.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-02-28 11:14:25 +01:00
Jonas Bonér
9de7a2daae Added NodeGossipingSpec for testing gossiping and cluster membership.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-02-28 11:14:25 +01:00
Jonas Bonér
cb9ce7b663 Implemented 'receive(newGossip)' plus misc other changes and fixes.
* Implemented 'receive(newGossip)'
* Added GossipEnvelope
* Added MetaDataChangeListener
* Changed MembershipChangeListener API
* Changed most internal API to work with Address rather than Member
* Added builder style API to Gossip for changing it in an immutable way
* Moved 'self: Member' from Gossip to State

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-02-28 11:14:25 +01:00
Jonas Bonér
9aa5b08f38 Added 'or' method to Versioned.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-02-28 11:14:25 +01:00
Jonas Bonér
ccba27a829 Refactored Gossip state and management. Introduced GossipOverview with convergence info, renamed some fields, added some new cluster commands.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-02-28 11:14:25 +01:00
Jonas Bonér
84f63db0ae Skips gossipping and cluster scrutinization if singleton cluster.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-02-28 11:14:25 +01:00
Jonas Bonér
379e9b9219 Switching node status to Up if singleton cluster. Added 'switchStatusTo' method. Updated the test. Profit.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-02-28 11:14:25 +01:00
Jonas Bonér
0413b44c98 Completed singleton and N-node cluster boot up and joining phase.
* Simplified node join phase.
* Added tests for cluster node startup and joining, both for singleton cluster and 2-node cluster.
* Fixed bug in cluster node address and cluster daemon lookup.
* Changed some APIs.
* Renamed 'contact-point' to 'node-to-join'.
* Minor refactorings.

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-02-28 11:14:25 +01:00
Jonas Bonér
3b5c5e5f0f Removed cluster seed nodes, added 'join.contact-point', changed joining phase, added singleton cluster mode plus misc other changes.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-02-28 11:14:25 +01:00
Jonas Bonér
bf7c307424 Changes to cluster specification.
- Added section on single-node cluster.
- Changed seed nodes to deputy nodes.
- Seed nodes are no longer used as contact points only to break logical partitions.

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-02-28 11:14:24 +01:00
Jonas Bonér
75c1b5717c Completed singleton and N-node cluster boot up and joining phase.
* Simplified node join phase.
* Added tests for cluster node startup and joining, both for singleton cluster and 2-node cluster.
* Fixed bug in cluster node address and cluster daemon lookup.
* Changed some APIs.
* Renamed 'contact-point' to 'node-to-join'.
* Minor refactorings.

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-02-28 11:14:24 +01:00
Jonas Bonér
bb0e5536be Removed cluster seed nodes, added 'join.contact-point', changed joining phase, added singleton cluster mode plus misc other changes.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-02-28 11:14:24 +01:00
Jonas Bonér
5726481601 Changes to cluster specification.
- Added section on single-node cluster.
- Changed seed nodes to deputy nodes.
- Seed nodes are no longer used as contact points only to break logical partitions.

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-02-28 11:13:31 +01:00
Roland
73170d1f4b Merge remote-tracking branch 'origin/master' into testing-2.9.2 2012-02-28 10:52:27 +01:00
Viktor Klang
db6bad7fc0 spelling 2012-02-28 10:32:14 +01:00
viktorklang
4162443565 Merge pull request #307 from jboner/wip-stash
Add stash and deque-based mailbox
2012-02-28 01:23:14 -08:00
Viktor Klang
8ea949857b Merge branch 'master' into wip-stash 2012-02-28 10:22:23 +01:00
Viktor Klang
a768b53299 Removing catch-block and clearing up the ScalaDoc 2012-02-28 10:21:01 +01:00
Roland
750e7158c0 switch to 2.9.1-1-RC1, which fixes the outstanding problems 2012-02-28 10:14:40 +01:00
Viktor Klang
0837948753 Merge branch 'master' of github.com:jboner/akka 2012-02-28 09:00:11 +01:00
viktorklang
b329bf3718 Merge pull request #356 from jboner/wip-ticket-1869
Capture early exception within Future.flow, fixes #1869
2012-02-27 23:59:55 -08:00
Derek Williams
b730c0b427 Capture early exception within Future.flow, fixes #1869 2012-02-27 20:01:08 -07:00
Viktor Klang
778bab40ea Removing dataflow docs for Java, as there is no such thing 2012-02-28 00:23:47 +01:00
phaller
2d67675057 Update constructors of deque-based mailboxes 2012-02-27 23:26:15 +01:00
phaller
82ac03d882 Merge remote-tracking branch 'origin/master' into wip-stash 2012-02-27 23:00:20 +01:00
phaller
f4b799315b Make overridden preRestart more robust 2012-02-27 22:59:21 +01:00
phaller
00e5bf3bdf Add Java API class UntypedActorWithStash. Add tests for Stash Java API. 2012-02-27 22:38:26 +01:00
Viktor Klang
b9359a82a6 Adding docs about how to do remoting with TypedActors 2012-02-27 15:19:07 +01:00
Viktor Klang
572382b220 Removing playMini as to avoid the cyclic dependency, please look at the play-mini docs for examples 2012-02-27 14:02:27 +01:00
viktorklang
bf49681171 Merge pull request #355 from jboner/wip-1865-AddressExtractor-∂π
rename AddressExtractor to AddressFromURIString, see #1865
2012-02-27 02:17:12 -08:00
Viktor Klang
46b9b3cd43 Removing the Filter class, keeping Filter.filterOf 2012-02-27 11:08:02 +01:00
Roland
5fe27b523b rename AddressExtractor to AddressFromURIString, see #1865 2012-02-27 10:28:20 +01:00
viktorklang
762c60d486 Merge pull request #353 from jboner/wip-1836-durMB-settings-∂π
switch to dispatcher-scoped settings for durable mailboxes, see #1836
2012-02-26 14:59:16 -08:00
Roland
59104d03a1 clarify purpose of akka.dispatch.Filter in scaladoc 2012-02-26 21:53:17 +01:00
Roland
b4fcc3b2f2 Merge remote-tracking branch 'origin/master' into wip-1836-durMB-settings-∂π
... and fix up MailboxType docs with new constructor signature.
2012-02-26 21:38:56 +01:00
Roland
eaee16c7d3 include system.settings when constructing MailboxType, see #1864
- necessary to not have to construct one Settings object per
  MessageQueue
- added system.settings to DispatcherPrerequisites
2012-02-26 21:26:25 +01:00
Roland
abd7fb40ca take testMaibox setting from akka.testMailbox system property
also improve doc comment in reference.conf
2012-02-26 19:57:05 +01:00
Roland
b3dd85f6dd switch to dispatcher-scoped settings for durable mailboxes, see #1836
- also switch SBT settings to enable testing of durable mailboxes
  centrally (if so desired, just uncomment testMailbox line in build.sbt)
- automatically start mongod, beanstalkd or redis-server when running
  the respective tests (assumes that the binaries are in PATH)
- unify settings extraction from dispatcher config, sub-scoping by
  mailbox type name
2012-02-25 22:41:48 +01:00
Roland
0cb2184904 make it compile in SBT & Eclipse with 2.9.2-SNAPSHOT
- there is one remaining bug, which makes it impossible to implement
  Function1[T, Boolean] from Java (I wonder if this will ever work,
  given that there is no equivalent type expressible in Java)
- hence create Function1 in Scala code, Java only prepares a Filter SAM
  which does not inherit from anything
- ugly (one more alloc) but the only way I see right now.
2012-02-25 19:34:59 +01:00
Viktor Klang
e14a64be5b Updating misc docs 2012-02-25 17:08:48 +01:00
Viktor Klang
20e88024e1 Making sure that the java and scala extension docs mention thread safety 2012-02-25 15:00:09 +01:00
viktorklang
5a1867d45e Merge pull request #352 from havocp/config-subst-serial-version
add serialVersionUID to ConfigSubstitution
2012-02-25 05:39:00 -08:00
Havoc Pennington
4cb370a127 add serialVersionUID to ConfigSubstitution
This is a cherry pick from the config lib, does not
correspond to any specific commit ID of the lib.
2012-02-25 00:19:29 -05:00
phaller
9244e8399d Add note about mixing in the Stash trait 2012-02-24 17:48:51 +01:00
phaller
e909407827 Remove def unstashAll(handler: Receive) 2012-02-24 17:28:46 +01:00
phaller
31a586c402 Remove Stash extends Actor 2012-02-24 17:18:13 +01:00
phaller
601ef17f54 Fix merge issues 2012-02-24 16:32:00 +01:00
Roland
74a36e5ddb fix Future BoxedUnit stuff 2012-02-24 15:03:36 +01:00
Viktor Klang
29303f28a4 Adding Gatling to the third-party integrations 2012-02-24 14:36:52 +01:00
Viktor Klang
1e7ce2bfc7 #1859 - rewriting dispatcher docs 2012-02-24 14:28:17 +01:00