Skip to content

Commit

Permalink
remove 'legacy' from mapred_system capability
Browse files Browse the repository at this point in the history
Nodes without Luke are unable to provide 'legacy' MapReduce. They can
only provide 'pipe' MapReduce.
  • Loading branch information
beerriot committed Nov 14, 2012
1 parent 28c6bdf commit cb88551
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/riak_kv_app.erl
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,14 @@ start(_Type, _StartArgs) ->
[true, false],
false),

%% mapred_system should remain until no nodes still exist
%% that would propose 'legacy' as the default choice
riak_core_capability:register({riak_kv, mapred_system},
[pipe, legacy],
legacy,
[pipe],
pipe,
{riak_kv,
mapred_system,
[{pipe, pipe}, {legacy, legacy}]}),
[{pipe, pipe}]}),

riak_core_capability:register({riak_kv, mapred_2i_pipe},
[true, false],
Expand Down

0 comments on commit cb88551

Please sign in to comment.