From c771c62520d4370de852936096e3bfe4f243d076 Mon Sep 17 00:00:00 2001 From: Ian Plosker Date: Tue, 6 Dec 2011 12:57:38 -0500 Subject: [PATCH] Fixed errors in the Multi backend docs. --- .../Riak/Operations/Storage-Backends/Multi.md | 51 ++++++++++--------- 1 file changed, 27 insertions(+), 24 deletions(-) diff --git a/pages/Riak/Operations/Storage-Backends/Multi.md b/pages/Riak/Operations/Storage-Backends/Multi.md index 3534659..acf0419 100644 --- a/pages/Riak/Operations/Storage-Backends/Multi.md +++ b/pages/Riak/Operations/Storage-Backends/Multi.md @@ -31,35 +31,38 @@ within the `riak_kv` section of the `app.config`. ]} ``` -Then later anywhere in the `app.config` (but you'll likely want this in the +Then later anywhere in the `riak_kv` section (but you'll likely want this in the section with other backend-related information) add a section to configure the multiple backends. ```erlang %% Use bitcask by default -{multi_backend_default, <<"bitcask">>}, -{multi_backend, [ - %% Here's where you set the individual multiplexed backends - {<<"bitcask_mult">>, riak_kv_bitcask_backend, [ - %% bitcask configuration - {config1, ConfigValue1}, - {config2, ConfigValue2} - ]}, - {<<"eleveldb_mult">>, riak_kv_eleveldb_backend, [ - %% eleveldb configuration - {config1, ConfigValue1}, - {config2, ConfigValue2} - ]}, - {<<"second_eleveldb_mult">>, riak_kv_eleveldb_backend, [ - %% eleveldb with a different configuration - {config1, ConfigValue1}, - {config2, ConfigValue2} - ]}, - {<<"memory_mult">>, riak_kv_memory_backend, [ - %% memory configuration - {config1, ConfigValue1}, - {config2, ConfigValue2} - ]} +{riak_kv, [ + ... + {multi_backend_default, <<"bitcask_mult">>}, + {multi_backend, [ + %% Here's where you set the individual multiplexed backends + {<<"bitcask_mult">>, riak_kv_bitcask_backend, [ + %% bitcask configuration + {config1, ConfigValue1}, + {config2, ConfigValue2} + ]}, + {<<"eleveldb_mult">>, riak_kv_eleveldb_backend, [ + %% eleveldb configuration + {config1, ConfigValue1}, + {config2, ConfigValue2} + ]}, + {<<"second_eleveldb_mult">>, riak_kv_eleveldb_backend, [ + %% eleveldb with a different configuration + {config1, ConfigValue1}, + {config2, ConfigValue2} + ]}, + {<<"memory_mult">>, riak_kv_memory_backend, [ + %% memory configuration + {config1, ConfigValue1}, + {config2, ConfigValue2} + ]} + ]}, ]}, ```