Re: Partitions repair isn't working anymore?
> On 1 Jun 2018, at 10:07, Guido Medina 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 >>> 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 >> >> 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
Re: Partitions repair isn't working anymore?
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. 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 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 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
Re: Partitions repair isn't working anymore?
What did I copied and pasted, sorry about that, it must be that it is Friday or something...my apologies. 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 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 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
Re: Partitions repair isn't working anymore?
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 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 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
Re: Partitions repair isn't working anymore?
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 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
Re: Partitions repair isn't working anymore?
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 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
RE: Partitions repair isn't working anymore?
From the mail history, I'd guess he's following the standard repair process listed on https://docs.basho.com/riak/kv/2.1.4/using/repair-recovery/repairs/#repairing-all-partitions-on-a-node -Original Message- From: riak-users On Behalf Of Russell Brown Sent: 01 June 2018 17:16 To: Guido Medina Cc: riak-users Subject: Re: Partitions repair isn't working anymore? 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 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
Re: Partitions repair isn't working anymore?
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 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