Commits

Anonymous committed e0da766

Remove debug messages.

Comments (0)

Files changed (1)

src/riak_util.erl

 try_cast(Cmd, Msg, Targets) -> try_cast(Cmd, Msg, Targets, [], []).
 try_cast(_Cmd, _Msg, [], Sent, Pangs) -> {Sent, Pangs};
 try_cast(Cmd, Msg, [{Index,Node}|Targets], Sent, Pangs) ->
-    io:format("Try Cast!~n"),
     case lists:member(Node, [node()|nodes()]) orelse net_adm:ping(Node) == pong of
         false -> try_cast(Cmd, Msg, Targets, Sent, [{Index,Node}|Pangs]);
         true ->
 fallback(_Cmd, _Msg, [], _Fallbacks, Sent) -> Sent;
 fallback(_Cmd, _Msg, _Pangs, [], Sent) -> Sent;
 fallback(Cmd, Msg, [{Index,Node}|Pangs], [{_,FN}|Fallbacks], Sent) ->
-    io:format("Fallback!~n"),
     case lists:member(Node, [node()|nodes()]) orelse net_adm:ping(Node) == pong of
         false -> fallback(Cmd, Msg, [{Index,Node}|Pangs], Fallbacks, Sent);
         true ->