1. Justin Sheehy
  2. riak


Rusty Klophaus  committed 2c787d8

Fix code samples and typos in documentation.

  • Participants
  • Parent commits faeea61
  • Branches default

Comments (0)

Files changed (3)

File .hgignore

View file


View file
 riaktest@> %% Create a shopping list for bread at /groceries/mine
-riaktest@> O0 = riak_object:new(groceries, "mine", ["bread"]).
+riaktest@> O0 = riak_object:new(groceries, <<"mine">>, ["bread"]).
 (riaktest@> %% retrieve the list
-(riaktest@> {ok, O1} = C:get(groceries, "mine", 1).
+(riaktest@> {ok, O1} = C:get(groceries, <<"mine">>, 1).
 (riaktest@> %% add milk to the list
 (riaktest@> O2 = riak_object:update_value(O1, ["milk"|V]).

File doc/architecture.txt

View file
 A Riak cluster is generally run on a set of well-connected physical
 hosts.  Each host in the cluster runs one Riak node.  Each Riak node
-runs a set of virutal nodes, or "vnodes", that are each responsible
+runs a set of virtual nodes, or "vnodes", that are each responsible
 for storing a separate portion of the key space.
 Nodes are not clones of each other, nor do they all participate in