Finish renaming lsm_btree_merger2
This commit is contained in:
parent
07b6b17534
commit
c26e0695c5
3 changed files with 3 additions and 3 deletions
|
@ -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]),
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
-module(lsm_btree_merger2).
|
||||
-module(lsm_btree_merger).
|
||||
|
||||
%%
|
||||
%% Merging two BTrees
|
||||
|
|
|
@ -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]),
|
||||
|
||||
|
|
Loading…
Reference in a new issue