Re: Rebuilding AAE hashes - small question

2014-04-11 Thread Timo Gatsonides
Date: Thu, 10 Apr 2014 14:42:23 +0100 From: Guido Medina guido.med...@temetra.com To: Engel Sanchez en...@basho.com, Luke Bakken lbak...@basho.com Cc: riak-users riak-users@lists.basho.com Subject: Re: Rebuilding AAE hashes - small question Message-ID: 53469fbf.1000...@temetra.com Content

Re: Rebuilding AAE hashes - small question

2014-04-10 Thread Engel Sanchez
Hey there. There are a couple of things to keep in mind when deleting invalid AAE trees from the 1.4.3-1.4.7 series after upgrading to 1.4.8: * If AAE is disabled, you don't have to stop the node to delete the data in the anti_entropy directories * If AAE is enabled, deleting the AAE data in a

Re: Rebuilding AAE hashes - small question

2014-04-10 Thread Guido Medina
Thanks Engel, That approach looks very accurate, I would only suggest to have a riak-admin cluster stop-aae and similar for start, for the dummies ;-) Guido. On 10/04/14 14:22, Engel Sanchez wrote: Hey there. There are a couple of things to keep in mind when deleting invalid AAE trees from

Rebuilding AAE hashes - small question

2014-04-09 Thread Guido Medina
Hi, If nodes are already upgraded to 1.4.8 (and they went all the way from 1.4.0 to 1.4.8 including AAE buggy versions) Will the following command (as root) on Ubuntu Servers 12.04: riak stop; rm -Rf /var/lib/riak/anti_entropy/*; riak start executed on each node be enough to rebuild AAE

Re: Rebuilding AAE hashes - small question

2014-04-09 Thread Luke Bakken
Hi Guido, That is the correct process. Be sure to use the rolling restart procedure when restarting nodes (i.e. wait for handoff to finish before moving on). -- Luke Bakken CSE lbak...@basho.com On Wed, Apr 9, 2014 at 6:34 AM, Guido Medina guido.med...@temetra.comwrote: Hi, If nodes are

Re: Rebuilding AAE hashes - small question

2014-04-09 Thread Guido Medina
What do you mean by wait for handoff to finish? Are you referring to wait for the service to be fully started? i.e. riak-admin wait-for-service riak_kv riak@node Or do you mean to check for riak-admin transfers on the started node and wait until those handoffs/transfers are gone? Guido.

Re: Rebuilding AAE hashes - small question

2014-04-09 Thread Luke Bakken
Hi Guido, I specifically meant riak-admin transfers however using riak-admin wait-for-service riak_kv riak@node is a good first step before waiting for transfers. Thanks! -- Luke Bakken CSE lbak...@basho.com On Wed, Apr 9, 2014 at 7:54 AM, Guido Medina guido.med...@temetra.comwrote: What do