Skip to content

Commit

Permalink
storage: Fix deleted objects can be remained in case compare_between_…
Browse files Browse the repository at this point in the history
…metadatas return the error tuple
  • Loading branch information
mocchira committed Aug 8, 2017
1 parent 2257823 commit 0414f62
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/leo_storage/src/leo_storage_mq.erl
Original file line number Diff line number Diff line change
Expand Up @@ -463,8 +463,7 @@ handle_call({consume, MQId, MessageBin}) ->
true ->
%% Not handle the returun value of 'remove_objects_under_dir/1'
%% because 'replcation-failurre' which is fixed by 'leo_async_deletion_queue'
remove_objects_under_dir(MessageBin),
ok;
remove_objects_under_dir(MessageBin);
false ->
ok
end;
Expand Down

0 comments on commit 0414f62

Please sign in to comment.