Skip to content

Commit 3de80ba

Browse files
author
Mikael Lixenstrand
committed
Ignore notfound errors.
Since riak_kv_vnode could have deleted a expired object.
1 parent 5843aad commit 3de80ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/riak_repl_aae_source.erl

+1-1
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ send_missing(Bucket, Key, State=#state{client=Client, wire_ver=Ver, proto=Proto}
643643
end;
644644
{error, notfound} ->
645645
%% can't find the key!
646-
lager:warning("not_found returned for fullsync client get on Bucket: ~p Key:~p", [Bucket,Key]),
646+
%% Likely because the object expired and riak_kv_vnode deleted it.
647647
0;
648648
{error, timeout} ->
649649
lager:warning("timeout during fullsync client get on Bucket: ~p Key:~p", [Bucket,Key]),

0 commit comments

Comments
 (0)