> On 1 Jun 2018, at 10:07, Guido Medina <gmed...@temetra.com> wrote: > > The last command should have been like the following: > • {ok, Ring} = riak_core_ring_manager:get_my_ring(). > • Partitions = [P || {P, 'r...@node4.domain.com'} <- > riak_core_ring:all_owners(Ring)]. > • [riak_kv_vnode:repair(P) || P <- Partitions]. > My bad, I think I copied the command from the wrong instructions before.
And does that work? From your mail you said that >>>>>>> )3> [riak_search_vnode:repair(P) || P <- Partitions]. >>>>>>> ** exception error: undefined function riak_search_vnode:repair/1 >>>>>>> Does not work. This I would expect, and I was asking, why do you run this? Are you using legacy search? If you run > • [riak_kv_vnode:repair(P) || P <- Partitions]. Does it work? Cheers Russell > > Guido. > > On 01/06/18 09:37, Russell Brown wrote: >> I don’t see a call to `riak_search_vnode:repair` in those docs >> >> Do you still run legacy riak search (i.e. not yokozuna/solr)? >> >> >>> On 1 Jun 2018, at 09:35, Guido Medina <gmed...@temetra.com> >>> wrote: >>> >>> Sorry, not repairing a single partition but all partitions per node: >>> >>> https://docs.basho.com/riak/kv/2.2.3/using/repair-recovery/repairs/#repairing-all-partitions-on-a-node >>> >>> >>> On 01/06/18 09:34, Guido Medina wrote: >>> >>>> Hi Russell, >>>> >>>> I was repairing each node as specified in this guide >>>> https://docs.basho.com/riak/kv/2.2.3/using/repair-recovery/repairs/#repairing-a-single-partition >>>> >>>> >>>> Guido. >>>> >>>> On 01/06/18 09:16, Russell Brown wrote: >>>> >>>>> riak_search has been removed from riak-2.2.5. Looks like some vestige >>>>> survived. >>>>> >>>>> Can you tell me what command you ran, it looks to me from the output >>>>> below that you’re connected to node and typing commands in the console? >>>>> >>>>> Is this some snippet that you attach and run? >>>>> >>>>> Cheers >>>>> >>>>> Russell >>>>> >>>>> >>>>> >>>>>> On 1 Jun 2018, at 09:07, Guido Medina <gmed...@temetra.com> >>>>>> >>>>>> wrote: >>>>>> >>>>>> Hi all, >>>>>> >>>>>> We started the partitions repair a couple of weeks ago, so far so good >>>>>> (3 nodes out of 7 done), then we started getting this error: >>>>>> >>>>>> >>>>>>> (r...@node4.domain.com >>>>>>> >>>>>>> )3> [riak_search_vnode:repair(P) || P <- Partitions]. >>>>>>> ** exception error: undefined function riak_search_vnode:repair/1 >>>>>>> >>>>>>> >>>>>> The first two steps for the node repair executed fine: >>>>>> >>>>>> >>>>>>> {ok, Ring} = riak_core_ring_manager:get_my_ring(). >>>>>>> Partitions = [P || {P, ' >>>>>>> >>>>>>> r...@node4.domain.com >>>>>>> >>>>>>> '} <- riak_core_ring:all_owners(Ring)]. >>>>>>> >>>>>>> >>>>>> We are running on 2.2.5 >>>>>> Guido. >>>>>> _______________________________________________ >>>>>> riak-users mailing list >>>>>> >>>>>> >>>>>> riak-users@lists.basho.com >>>>>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >>> _______________________________________________ >>> riak-users mailing list >>> >>> riak-users@lists.basho.com >>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >> > _______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com