Anonymous avatar Anonymous committed 2c787d8

Fix code samples and typos in documentation.

Comments (0)

Files changed (3)

 (^|/)erl_crash.dump$
 .*~$
 log/.*.log$
+log/.*.log.*$
 .*\.orig$
 priv/log/.*
+priv/weblogs/.*
 ^priv/store
 ^priv/ringstate/*
 ^client_lib/java/build/*
                  "20090722191020-riaktest@127.0.0.1-riakdemo@127.0.0.1-266664"}}
 
 riaktest@127.0.0.1)2> %% Create a shopping list for bread at /groceries/mine
-riaktest@127.0.0.1)2> O0 = riak_object:new(groceries, "mine", ["bread"]).
-{r_object,groceries,"mine",
+riaktest@127.0.0.1)2> O0 = riak_object:new(groceries, <<"mine">>, ["bread"]).
+{r_object,groceries,<<"mine">>,
           [{r_content,{dict,0,16,16,8,80,48,
                             {[],[],[],[],[],[],[],[],[],[],[],[],[],[],...},
                             {{[],[],[],[],[],[],[],[],[],[],[],[],...}}},
 ok
 
 (riaktest@127.0.0.1)4> %% retrieve the list
-(riaktest@127.0.0.1)4> {ok, O1} = C:get(groceries, "mine", 1).
-{ok,{r_object,groceries,"mine",
+(riaktest@127.0.0.1)4> {ok, O1} = C:get(groceries, <<"mine">>, 1).
+{ok,{r_object,groceries,<<"mine">>,
               [{r_content,{dict,2,16,16,8,80,48,
                                 {[],[],[],[],[],[],[],[],[],[],[],[],...},
                                 {{[],[],[],[],[],[],
 
 (riaktest@127.0.0.1)6> %% add milk to the list
 (riaktest@127.0.0.1)6> O2 = riak_object:update_value(O1, ["milk"|V]).
-{r_object,groceries,"mine",
+{r_object,groceries,<<"mine">>,
           [{r_content,{dict,2,16,16,8,80,48,
                             {[],[],[],[],[],[],[],[],[],[],[],[],[],[],...},
                             {{[],[],[],[],[],[],

doc/architecture.txt

 
 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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.