Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Late vnode replies show up as errors in the logs #20

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/riak_api_pb_server.erl
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ handle_info(StreamMessage, #state{req={Service,ReqId},
[Type, Reason, Trace], State),
{stop, {Type, Reason, Trace}, State}
end;
handle_info({Ref, {ok, _RiakObj}}, State) when is_integer(Ref) ->
lager:info("Received late get response", []),
{noreply, State};
handle_info(Message, State) ->
%% Throw out messages we don't care about, but log them
lager:error("Unrecognized message ~p", [Message]),
Expand Down