Re: cluster rolling restart
Hi, I would say that i agree with Jon, Jeff and Alain at the same time ;-) Basically you should be very comfortable to do it for conf, cassandra version or Os update but not because if you not do it your cluster starts suffering from performance issues or something like that. If so, you should investigate the issues but it's not normal. Cheers, Jérémy Le mer. 16 oct. 2019 à 17:34, Jon Haddad a écrit : > I agree with Jeff here. Ideally you should be so comfortable with rolling > restarts that they become second nature. Cassandra is designed to handle > them and you should not be afraid to do them regularly. > > On Wed, Oct 16, 2019, 8:06 AM Jeff Jirsa wrote: > >> >> Personally I encourage you to rolling restart from time to time, use it >> as an opportunity to upgrade kernels and JDKs and cassandra itself and just >> generally make sure things are healthy and working how you expect >> >> If you see latencies jump or timeouts when you’re bouncing, that’s a >> warning and you know you need to address it - doing this in advance gives >> you a chance to do it while the bounce is optional and can be paused. If >> you wait for a switch to fail or AWS AZ to crash, you may have problems >> lurking you don’t know about until it’s too late. >> >> - Jeff >> >> > On Oct 16, 2019, at 12:56 AM, Marco Gasparini < >> marco.gaspar...@competitoor.com> wrote: >> > >> > >> > hi all, >> > >> > I was wondering if it is recommended to perform a rolling restart of >> the cluster once in a while. >> > Is it a good practice or necessary? how often? >> > >> > Thanks >> > Marco >> >> - >> To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org >> For additional commands, e-mail: user-h...@cassandra.apache.org >> >> -- Jérémy
Re: cluster rolling restart
I agree with Jeff here. Ideally you should be so comfortable with rolling restarts that they become second nature. Cassandra is designed to handle them and you should not be afraid to do them regularly. On Wed, Oct 16, 2019, 8:06 AM Jeff Jirsa wrote: > > Personally I encourage you to rolling restart from time to time, use it as > an opportunity to upgrade kernels and JDKs and cassandra itself and just > generally make sure things are healthy and working how you expect > > If you see latencies jump or timeouts when you’re bouncing, that’s a > warning and you know you need to address it - doing this in advance gives > you a chance to do it while the bounce is optional and can be paused. If > you wait for a switch to fail or AWS AZ to crash, you may have problems > lurking you don’t know about until it’s too late. > > - Jeff > > > On Oct 16, 2019, at 12:56 AM, Marco Gasparini < > marco.gaspar...@competitoor.com> wrote: > > > > > > hi all, > > > > I was wondering if it is recommended to perform a rolling restart of the > cluster once in a while. > > Is it a good practice or necessary? how often? > > > > Thanks > > Marco > > - > To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org > For additional commands, e-mail: user-h...@cassandra.apache.org > >
Re: cluster rolling restart
Personally I encourage you to rolling restart from time to time, use it as an opportunity to upgrade kernels and JDKs and cassandra itself and just generally make sure things are healthy and working how you expect If you see latencies jump or timeouts when you’re bouncing, that’s a warning and you know you need to address it - doing this in advance gives you a chance to do it while the bounce is optional and can be paused. If you wait for a switch to fail or AWS AZ to crash, you may have problems lurking you don’t know about until it’s too late. - Jeff > On Oct 16, 2019, at 12:56 AM, Marco Gasparini > wrote: > > > hi all, > > I was wondering if it is recommended to perform a rolling restart of the > cluster once in a while. > Is it a good practice or necessary? how often? > > Thanks > Marco - To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org For additional commands, e-mail: user-h...@cassandra.apache.org
Re: cluster rolling restart
Great! Thank you very much Alain! Il giorno mer 16 ott 2019 alle ore 10:56 Alain RODRIGUEZ ha scritto: > Hello Marco, > > No this should not be a 'normal' / 'routine' thing in a Cassandra cluster. > I can imagine it being helpful in some cases or versions of Cassandra if > they are memory issues/leaks or something like that, going wrong, but > 'normally', you should not have to do that. Even more, when doing so, > you'll have to 'warm up' C* again to get to full speed, such as loading the > page/key caches again and some other stuff like starting over compactions > that were interrupted might even slow down the cluster somewhat. > > Let's just say it should not harm (much), it might even be useful in some > corner cases, but restarting the cluster regularly, for no reasons, is > definitely not part of 'best practices' around Cassandra imho. > > C*heers, > --- > Alain Rodriguez - al...@thelastpickle.com > France / Spain > > The Last Pickle - Apache Cassandra Consulting > http://www.thelastpickle.com > > Le mer. 16 oct. 2019 à 09:56, Marco Gasparini < > marco.gaspar...@competitoor.com> a écrit : > >> hi all, >> >> I was wondering if it is recommended to perform a rolling restart of the >> cluster once in a while. >> Is it a good practice or necessary? how often? >> >> Thanks >> Marco >> >
Re: cluster rolling restart
Hello Marco, No this should not be a 'normal' / 'routine' thing in a Cassandra cluster. I can imagine it being helpful in some cases or versions of Cassandra if they are memory issues/leaks or something like that, going wrong, but 'normally', you should not have to do that. Even more, when doing so, you'll have to 'warm up' C* again to get to full speed, such as loading the page/key caches again and some other stuff like starting over compactions that were interrupted might even slow down the cluster somewhat. Let's just say it should not harm (much), it might even be useful in some corner cases, but restarting the cluster regularly, for no reasons, is definitely not part of 'best practices' around Cassandra imho. C*heers, --- Alain Rodriguez - al...@thelastpickle.com France / Spain The Last Pickle - Apache Cassandra Consulting http://www.thelastpickle.com Le mer. 16 oct. 2019 à 09:56, Marco Gasparini < marco.gaspar...@competitoor.com> a écrit : > hi all, > > I was wondering if it is recommended to perform a rolling restart of the > cluster once in a while. > Is it a good practice or necessary? how often? > > Thanks > Marco >
cluster rolling restart
hi all, I was wondering if it is recommended to perform a rolling restart of the cluster once in a while. Is it a good practice or necessary? how often? Thanks Marco