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

fixes for riak_ee #159 #506

Merged
merged 3 commits into from
Jan 15, 2014
Merged
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
9 changes: 2 additions & 7 deletions src/riak_repl_console.erl
Original file line number Diff line number Diff line change
Expand Up @@ -409,12 +409,7 @@ realtime([Cmd, Remote]) ->
riak_repl2_rt:start(Remote);
"stop" ->
?LOG_USER_CMD("Stop Realtime Replication to cluster ~p", [Remote]),
riak_repl2_rt:stop(Remote);
% easier to put this clause here and update 1 file
% than update riak_core's riak-repl bin script and make yet anothor
% place to change/potentially break stuff.
"cascades" ->
riak_repl_console:realtime_cascades(Remote)
riak_repl2_rt:stop(Remote)
end,
ok;
realtime([Cmd]) ->
Expand Down Expand Up @@ -519,7 +514,7 @@ realtime_cascades(["never"]) ->
riak_repl_ring:rt_cascades_trans/2, never);
realtime_cascades([]) ->
Cascades = app_helper:get_env(riak_repl, realtime_cascades, always),
io:format("reatime_cascades: ~p~n", [Cascades]);
io:format("realtime_cascades: ~p~n", [Cascades]);
realtime_cascades(_Wut) ->
io:format("realtime_cascades either \"always\" or \"never\"~n").

Expand Down