Browse files

remove 'legacy' from mapred_system capability

Nodes without Luke are unable to provide 'legacy' MapReduce. They can
only provide 'pipe' MapReduce.
  • Loading branch information...
1 parent 28c6bdf commit cb88551695d35f51fbcedcf4888a70caf55b8bc7 Bryan Fink committed Nov 14, 2012
Showing with 5 additions and 3 deletions.
  1. +5 −3 src/riak_kv_app.erl
View
8 src/riak_kv_app.erl
@@ -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],

0 comments on commit cb88551

Please sign in to comment.