This is an erlang snippet to be run from a riak attach session
After pasting the following into the attach session, to repair all riak_kv partitions, run
RepairProc = RepairAllKv(60).
or, to repair all riak_search partitions, run
RepairProc = RepairAllSearch(60).