You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by rajasekhar kommineni <ra...@gmail.com> on 2018/07/16 21:15:08 UTC
Cassandra Repair
Hello All,
I have all cluster nodes in Cloud, and there is very rare chance for nodes going down. I want to prepare repair strategy to my cluster, so need inputs on any calculations to decide when to go for repair.
Also let me know if my statement is correct or not "It’s not only node down time,but the write consistency level is also a factor for regular repairs”.
Thanks,
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@cassandra.apache.org
For additional commands, e-mail: user-help@cassandra.apache.org
Re: Cassandra Repair
Posted by Rahul Singh <ra...@gmail.com>.
I would recommend at least looking at reaper before trying to engineer another way.
On Jul 17, 2018, 12:56 PM -0400, rajasekhar kommineni <ra...@gmail.com>, wrote:
> nodetool tablestats has an attribute for Percent repaired, can we target the tables based the % given.
>
>
>
> > On Jul 17, 2018, at 4:45 AM, Rahul Singh <ra...@gmail.com> wrote:
> >
> > Have you considered looking into reaper project — could save you time in figuring out your own strategy. https://github.com/thelastpickle/cassandra-reaper
> >
> > Otherwise you can always do a round robin of cron jobs per node once a week… Your repair cycle should repair all servers within a window less than your shortest GC grace seconds.
> >
> > So if you have a GC of 10 days, you want to complete your repairs in 9 days…
> >
> >
> >
> > --
> > Rahul Singh
> > rahul.singh@anant.us
> >
> > Anant Corporation
> > On Jul 16, 2018, 5:15 PM -0400, rajasekhar kommineni <ra...@gmail.com>, wrote:
> > > Hello All,
> > >
> > >
> > > I have all cluster nodes in Cloud, and there is very rare chance for nodes going down. I want to prepare repair strategy to my cluster, so need inputs on any calculations to decide when to go for repair.
> > >
> > > Also let me know if my statement is correct or not "It’s not only node down time,but the write consistency level is also a factor for regular repairs”.
> > >
> > >
> > > Thanks,
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@cassandra.apache.org
> > > For additional commands, e-mail: user-help@cassandra.apache.org
> > >
>
Re: Cassandra Repair
Posted by rajasekhar kommineni <ra...@gmail.com>.
nodetool tablestats has an attribute for Percent repaired, can we target the tables based the % given.
> On Jul 17, 2018, at 4:45 AM, Rahul Singh <ra...@gmail.com> wrote:
>
> Have you considered looking into reaper project — could save you time in figuring out your own strategy. https://github.com/thelastpickle/cassandra-reaper <https://github.com/thelastpickle/cassandra-reaper>
>
> Otherwise you can always do a round robin of cron jobs per node once a week… Your repair cycle should repair all servers within a window less than your shortest GC grace seconds.
>
> So if you have a GC of 10 days, you want to complete your repairs in 9 days…
>
>
>
> --
> Rahul Singh
> rahul.singh@anant.us
>
> Anant Corporation
> On Jul 16, 2018, 5:15 PM -0400, rajasekhar kommineni <ra...@gmail.com>, wrote:
>> Hello All,
>>
>>
>> I have all cluster nodes in Cloud, and there is very rare chance for nodes going down. I want to prepare repair strategy to my cluster, so need inputs on any calculations to decide when to go for repair.
>>
>> Also let me know if my statement is correct or not "It’s not only node down time,but the write consistency level is also a factor for regular repairs”.
>>
>>
>> Thanks,
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@cassandra.apache.org
>> For additional commands, e-mail: user-help@cassandra.apache.org
>>
Re: Cassandra Repair
Posted by Rahul Singh <ra...@gmail.com>.
Have you considered looking into reaper project — could save you time in figuring out your own strategy. https://github.com/thelastpickle/cassandra-reaper
Otherwise you can always do a round robin of cron jobs per node once a week… Your repair cycle should repair all servers within a window less than your shortest GC grace seconds.
So if you have a GC of 10 days, you want to complete your repairs in 9 days…
--
Rahul Singh
rahul.singh@anant.us
Anant Corporation
On Jul 16, 2018, 5:15 PM -0400, rajasekhar kommineni <ra...@gmail.com>, wrote:
> Hello All,
>
>
> I have all cluster nodes in Cloud, and there is very rare chance for nodes going down. I want to prepare repair strategy to my cluster, so need inputs on any calculations to decide when to go for repair.
>
> Also let me know if my statement is correct or not "It’s not only node down time,but the write consistency level is also a factor for regular repairs”.
>
>
> Thanks,
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@cassandra.apache.org
> For additional commands, e-mail: user-help@cassandra.apache.org
>