Re: Rollback Cassandra after 1 node upgrade

2020-09-05 Thread manish khandelwal
Thanks Alex for the reply.

On Sat, Sep 5, 2020 at 3:09 PM Oleksandr Shulgin <
oleksandr.shul...@zalando.de> wrote:

> On Sat, Sep 5, 2020 at 5:55 AM manish khandelwal <
> manishkhandelwa...@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

2020-09-05 Thread Oleksandr Shulgin
On Sat, Sep 5, 2020 at 5:55 AM manish khandelwal <
manishkhandelwa...@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

2020-09-04 Thread manish khandelwal
Around 1TB

On Sat, Sep 5, 2020 at 9:45 AM Aakash Pandhi 
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 <
> manishkhandelwa...@gmail.com> wrote:
>
>
> 3.11.2 to 2.1.16
>
> On Sat, Sep 5, 2020 at 9:27 AM Surbhi Gupta 
> wrote:
>
> Hi Manish,
>
> Please provide both versions.
>
> Thanks
> Surbhi
>
> On Fri, Sep 4, 2020 at 8:55 PM manish khandelwal <
> manishkhandelwa...@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

2020-09-04 Thread Aakash Pandhi
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 
 wrote:  
 
 3.11.2 to 2.1.16
On Sat, Sep 5, 2020 at 9:27 AM Surbhi Gupta  wrote:

Hi Manish,
Please provide both versions.
Thanks Surbhi
On Fri, Sep 4, 2020 at 8:55 PM manish khandelwal  
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

2020-09-04 Thread manish khandelwal
3.11.2 to 2.1.16

On Sat, Sep 5, 2020 at 9:27 AM Surbhi Gupta 
wrote:

> Hi Manish,
>
> Please provide both versions.
>
> Thanks
> Surbhi
>
> On Fri, Sep 4, 2020 at 8:55 PM manish khandelwal <
> manishkhandelwa...@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

2020-09-04 Thread Surbhi Gupta
Hi Manish,

Please provide both versions.

Thanks
Surbhi

On Fri, Sep 4, 2020 at 8:55 PM manish khandelwal <
manishkhandelwa...@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
>
>
>


Rollback Cassandra after 1 node upgrade

2020-09-04 Thread manish khandelwal
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