rename temp_riak_kv_backend to lsm_btree_temp_riak_kv_backend
The module temp_riak_kv_backend is already used in another experimental storage backend. Rename it to avoid collisions when trying to use both backends in riak together.
This commit is contained in:
parent
eefada16ac
commit
79872680da
2 changed files with 4 additions and 4 deletions
|
@ -27,7 +27,7 @@
|
||||||
%%% NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE
|
%%% NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE
|
||||||
|
|
||||||
|
|
||||||
-module(temp_riak_kv_backend).
|
-module(lsm_btree_temp_riak_kv_backend).
|
||||||
|
|
||||||
-export([behaviour_info/1]).
|
-export([behaviour_info/1]).
|
||||||
-export([callback_after/3]).
|
-export([callback_after/3]).
|
|
@ -20,7 +20,7 @@
|
||||||
%% ----------------------------------------------------------------------------
|
%% ----------------------------------------------------------------------------
|
||||||
|
|
||||||
-module(riak_kv_lsm_btree_backend).
|
-module(riak_kv_lsm_btree_backend).
|
||||||
-behavior(temp_riak_kv_backend).
|
-behavior(lsm_btree_temp_riak_kv_backend).
|
||||||
-author('Steve Vinoski <steve@basho.com>').
|
-author('Steve Vinoski <steve@basho.com>').
|
||||||
-author('Greg Burd <greg@basho.com>').
|
-author('Greg Burd <greg@basho.com>').
|
||||||
|
|
||||||
|
@ -359,11 +359,11 @@ from_object_key(LKey) ->
|
||||||
simple_test_() ->
|
simple_test_() ->
|
||||||
?assertCmd("rm -rf test/lsm_btree-backend"),
|
?assertCmd("rm -rf test/lsm_btree-backend"),
|
||||||
application:set_env(lsm_btree, data_root, "test/lsm_btree-backend"),
|
application:set_env(lsm_btree, data_root, "test/lsm_btree-backend"),
|
||||||
riak_kv_backend:standard_test(?MODULE, []).
|
lsm_btree_temp_riak_kv_backend:standard_test(?MODULE, []).
|
||||||
|
|
||||||
custom_config_test_() ->
|
custom_config_test_() ->
|
||||||
?assertCmd("rm -rf test/lsm_btree-backend"),
|
?assertCmd("rm -rf test/lsm_btree-backend"),
|
||||||
application:set_env(lsm_btree, data_root, ""),
|
application:set_env(lsm_btree, data_root, ""),
|
||||||
riak_kv_backend:standard_test(?MODULE, [{data_root, "test/lsm_btree-backend"}]).
|
lsm_btree_temp_riak_kv_backend:standard_test(?MODULE, [{data_root, "test/lsm_btree-backend"}]).
|
||||||
|
|
||||||
-endif.
|
-endif.
|
||||||
|
|
Loading…
Reference in a new issue