You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Rahul Reddy <ra...@gmail.com> on 2019/07/30 09:17:57 UTC

Assassinate or decommission?

Hello,

While removing old data center any specific reason to use assassinate
instead of decommission ?
https://docs.datastax.com/en/dse/5.1/dse-admin/datastax_enterprise/operations/opsDecomissionDC.html

Re: Assassinate or decommission?

Posted by Oleksandr Shulgin <ol...@zalando.de>.
On Tue, Jul 30, 2019 at 12:11 PM Rhys Campbell
<rh...@googlemail.com.invalid> wrote:

> Are you sure it says to use assassinate as the first resort? Definately
> not the case
>

It does.  I think the reason is that it says that you should run a full
repair first, and before that--stop writing to the DC being
decommissioned.  This ensures that you do not lose any writes that made it
only to the DC to be decommissioned.  This means no need to stream the data
out of the nodes being removed.

--
Alex

Re: Assassinate or decommission?

Posted by Rhys Campbell <rh...@googlemail.com.INVALID>.
Are you sure it says to use assassinate as the first resort? Definately not
the case

Rahul Reddy <ra...@gmail.com> schrieb am Di., 30. Juli 2019, 12:05:

> Thanks Rhys,
>
> I was always using nodetool decommission when I do single node sofar. Not
> sure why datastax doc mention to use first attempt as assassinate.  Have
> you seen any issues like gossip information stayed for longer time using
> decommission for removing DC?
>
> On Tue, Jul 30, 2019, 5:43 AM Rhys Campbell
> <rh...@googlemail.com.invalid> wrote:
>
>> The advice is to only use assassinate when all else fails. Decommission
>> will make sure any data that needs to be streamed elsewhere will be.
>>
>> Generally decommission > removenode > assassinate is the recommended
>> attempt order
>>
>> https://thelastpickle.com/blog/2018/09/18/assassinate.html
>>
>> Rahul Reddy <ra...@gmail.com> schrieb am Di., 30. Juli 2019,
>> 11:18:
>>
>>> Hello,
>>>
>>> While removing old data center any specific reason to use assassinate
>>> instead of decommission ?
>>>
>>> https://docs.datastax.com/en/dse/5.1/dse-admin/datastax_enterprise/operations/opsDecomissionDC.html
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>

Re: Assassinate or decommission?

Posted by Rahul Reddy <ra...@gmail.com>.
Thanks Rhys,

I was always using nodetool decommission when I do single node sofar. Not
sure why datastax doc mention to use first attempt as assassinate.  Have
you seen any issues like gossip information stayed for longer time using
decommission for removing DC?

On Tue, Jul 30, 2019, 5:43 AM Rhys Campbell
<rh...@googlemail.com.invalid> wrote:

> The advice is to only use assassinate when all else fails. Decommission
> will make sure any data that needs to be streamed elsewhere will be.
>
> Generally decommission > removenode > assassinate is the recommended
> attempt order
>
> https://thelastpickle.com/blog/2018/09/18/assassinate.html
>
> Rahul Reddy <ra...@gmail.com> schrieb am Di., 30. Juli 2019,
> 11:18:
>
>> Hello,
>>
>> While removing old data center any specific reason to use assassinate
>> instead of decommission ?
>>
>> https://docs.datastax.com/en/dse/5.1/dse-admin/datastax_enterprise/operations/opsDecomissionDC.html
>>
>>
>>
>>
>>
>>
>>
>>

Re: Assassinate or decommission?

Posted by Rhys Campbell <rh...@googlemail.com.INVALID>.
The advice is to only use assassinate when all else fails. Decommission
will make sure any data that needs to be streamed elsewhere will be.

Generally decommission > removenode > assassinate is the recommended
attempt order

https://thelastpickle.com/blog/2018/09/18/assassinate.html

Rahul Reddy <ra...@gmail.com> schrieb am Di., 30. Juli 2019, 11:18:

> Hello,
>
> While removing old data center any specific reason to use assassinate
> instead of decommission ?
>
> https://docs.datastax.com/en/dse/5.1/dse-admin/datastax_enterprise/operations/opsDecomissionDC.html
>
>
>
>
>
>
>
>