You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by manish khandelwal <ma...@gmail.com> on 2020/09/05 03:54:34 UTC
Rollback Cassandra after 1 node upgrade
Hi
We have been forced into rolling back our Cassandra after 1 node upgrade.
The node was upgraded 10 days ago. We have the backup of the old data.
Strategy one which we are thinking :
1. Rollback to old binaries and configuration.
2. Restore the old data from backup.
3. Run Repair.
Another Strategy is to bootstrap the node as new after changing the
binaries.
Which of the strategies is best?
Regards
Manish
Re: Rollback Cassandra after 1 node upgrade
Posted by manish khandelwal <ma...@gmail.com>.
Thanks Alex for the reply.
On Sat, Sep 5, 2020 at 3:09 PM Oleksandr Shulgin <
oleksandr.shulgin@zalando.de> wrote:
> On Sat, Sep 5, 2020 at 5:55 AM manish khandelwal <
> manishkhandelwal03@gmail.com> wrote:
>
>> Hi
>>
>> We have been forced into rolling back our Cassandra after 1 node upgrade.
>> The node was upgraded 10 days ago. We have the backup of the old data.
>>
>> Strategy one which we are thinking :
>> 1. Rollback to old binaries and configuration.
>> 2. Restore the old data from backup.
>> 3. Run Repair.
>>
>> Another Strategy is to bootstrap the node as new after changing the
>> binaries.
>>
>
> The most straightforward way seems to just replace that node by restarting
> it with the old binaries, -Dcassandra.replace_address=xxx and a clean data
> directory. Of course, unless that's a seed node—extra steps would be
> needed in such a case.
>
> Regards,
> --
> Alex
>
>
Re: Rollback Cassandra after 1 node upgrade
Posted by Oleksandr Shulgin <ol...@zalando.de>.
On Sat, Sep 5, 2020 at 5:55 AM manish khandelwal <
manishkhandelwal03@gmail.com> wrote:
> Hi
>
> We have been forced into rolling back our Cassandra after 1 node upgrade.
> The node was upgraded 10 days ago. We have the backup of the old data.
>
> Strategy one which we are thinking :
> 1. Rollback to old binaries and configuration.
> 2. Restore the old data from backup.
> 3. Run Repair.
>
> Another Strategy is to bootstrap the node as new after changing the
> binaries.
>
The most straightforward way seems to just replace that node by restarting
it with the old binaries, -Dcassandra.replace_address=xxx and a clean data
directory. Of course, unless that's a seed node—extra steps would be
needed in such a case.
Regards,
--
Alex
Re: Rollback Cassandra after 1 node upgrade
Posted by manish khandelwal <ma...@gmail.com>.
Around 1TB
On Sat, Sep 5, 2020 at 9:45 AM Aakash Pandhi <pa...@yahoo.com.invalid>
wrote:
> How much data to restore and repair on that node?
>
> Sincerely,
>
> Aakash Pandhi
>
>
> On Friday, September 4, 2020, 11:08:56 PM CDT, manish khandelwal <
> manishkhandelwal03@gmail.com> wrote:
>
>
> 3.11.2 to 2.1.16
>
> On Sat, Sep 5, 2020 at 9:27 AM Surbhi Gupta <su...@gmail.com>
> wrote:
>
> Hi Manish,
>
> Please provide both versions.
>
> Thanks
> Surbhi
>
> On Fri, Sep 4, 2020 at 8:55 PM manish khandelwal <
> manishkhandelwal03@gmail.com> wrote:
>
> Hi
>
> We have been forced into rolling back our Cassandra after 1 node upgrade.
> The node was upgraded 10 days ago. We have the backup of the old data.
>
> Strategy one which we are thinking :
> 1. Rollback to old binaries and configuration.
> 2. Restore the old data from backup.
> 3. Run Repair.
>
> Another Strategy is to bootstrap the node as new after changing the
> binaries.
>
> Which of the strategies is best?
>
> Regards
> Manish
>
>
>
>
Re: Rollback Cassandra after 1 node upgrade
Posted by Aakash Pandhi <pa...@yahoo.com.INVALID>.
How much data to restore and repair on that node?
Sincerely,
Aakash Pandhi
On Friday, September 4, 2020, 11:08:56 PM CDT, manish khandelwal <ma...@gmail.com> wrote:
3.11.2 to 2.1.16
On Sat, Sep 5, 2020 at 9:27 AM Surbhi Gupta <su...@gmail.com> wrote:
Hi Manish,
Please provide both versions.
Thanks Surbhi
On Fri, Sep 4, 2020 at 8:55 PM manish khandelwal <ma...@gmail.com> wrote:
Hi
We have been forced into rolling back our Cassandra after 1 node upgrade. The node was upgraded 10 days ago. We have the backup of the old data.
Strategy one which we are thinking : 1. Rollback to old binaries and configuration.2. Restore the old data from backup.3. Run Repair.
Another Strategy is to bootstrap the node as new after changing the binaries.
Which of the strategies is best?
RegardsManish
Re: Rollback Cassandra after 1 node upgrade
Posted by manish khandelwal <ma...@gmail.com>.
3.11.2 to 2.1.16
On Sat, Sep 5, 2020 at 9:27 AM Surbhi Gupta <su...@gmail.com>
wrote:
> Hi Manish,
>
> Please provide both versions.
>
> Thanks
> Surbhi
>
> On Fri, Sep 4, 2020 at 8:55 PM manish khandelwal <
> manishkhandelwal03@gmail.com> wrote:
>
>> Hi
>>
>> We have been forced into rolling back our Cassandra after 1 node upgrade.
>> The node was upgraded 10 days ago. We have the backup of the old data.
>>
>> Strategy one which we are thinking :
>> 1. Rollback to old binaries and configuration.
>> 2. Restore the old data from backup.
>> 3. Run Repair.
>>
>> Another Strategy is to bootstrap the node as new after changing the
>> binaries.
>>
>> Which of the strategies is best?
>>
>> Regards
>> Manish
>>
>>
>>
>
Re: Rollback Cassandra after 1 node upgrade
Posted by Surbhi Gupta <su...@gmail.com>.
Hi Manish,
Please provide both versions.
Thanks
Surbhi
On Fri, Sep 4, 2020 at 8:55 PM manish khandelwal <
manishkhandelwal03@gmail.com> wrote:
> Hi
>
> We have been forced into rolling back our Cassandra after 1 node upgrade.
> The node was upgraded 10 days ago. We have the backup of the old data.
>
> Strategy one which we are thinking :
> 1. Rollback to old binaries and configuration.
> 2. Restore the old data from backup.
> 3. Run Repair.
>
> Another Strategy is to bootstrap the node as new after changing the
> binaries.
>
> Which of the strategies is best?
>
> Regards
> Manish
>
>
>