Permalink
Browse files

Fix merge logging bug introduced by bs-merge-expiration-change branch

  • Loading branch information...
1 parent 07b24e8 commit 0483650456d7e3b267142b1732e14fb716ddb987 @slfritchie slfritchie committed May 30, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/bitcask_merge_worker.erl
@@ -132,14 +132,14 @@ do_merge(Args) ->
Start = os:timestamp(),
Result = (catch apply(bitcask, merge, Args)),
ElapsedSecs = timer:now_diff(os:timestamp(), Start) / 1000000,
- [_,_,{Pargs,_}] = Args,
+ [_,_,Args3] = Args,
case Result of
ok ->
error_logger:info_msg("Merged ~p in ~p seconds.\n",
- [Pargs, ElapsedSecs]);
+ [Args3, ElapsedSecs]);
{Error, Reason} when Error == error; Error == 'EXIT' ->
error_logger:error_msg("Failed to merge ~p: ~p\n",
- [Pargs, Reason])
+ [Args3, Reason])
end;
false ->
ok

0 comments on commit 0483650

Please sign in to comment.