Finish renaming lsm_btree_merger2

This commit is contained in:
Kresten Krab Thorup 2012-01-20 10:06:43 +01:00
parent 07b6b17534
commit c26e0695c5
3 changed files with 3 additions and 3 deletions

View file

@ -364,7 +364,7 @@ begin_merge(State) ->
file:delete(XFileName),
MergePID = proc_lib:spawn_link(fun() ->
{ok, OutCount} = lsm_btree_merger2:merge(AFileName, BFileName, XFileName,
{ok, OutCount} = lsm_btree_merger:merge(AFileName, BFileName, XFileName,
1 bsl (State#state.level + 1),
State#state.next =:= undefined),
% error_logger:info_msg("merge done ~p,~p -> ~p~n", [AFileName, BFileName, XFileName]),

View file

@ -1,4 +1,4 @@
-module(lsm_btree_merger2).
-module(lsm_btree_merger).
%%
%% Merging two BTrees

View file

@ -31,7 +31,7 @@ merge_test() ->
ok = lsm_btree_writer:close(BT2),
{Time,{ok,Count}} = timer:tc(lsm_btree_merger2, merge, ["test1", "test2", "test3", 10000, true]),
{Time,{ok,Count}} = timer:tc(lsm_btree_merger, merge, ["test1", "test2", "test3", 10000, true]),
error_logger:info_msg("time to merge: ~p/sec (time=~p, count=~p)~n", [1000000/(Time/Count), Time/1000000, Count]),