First and foremost, read NEWS.txt from your current version to the version you wish to upgrade to. There are too may details that you many need to be aware of. For instance, in the 2.0.0 Upgrading notes:

https://github.com/apache/cassandra/blob/cassandra-3.11/NEWS.txt#L1169-L1178

I assume you meant 1.2.5, so you're first step is to upgrade to at least 1.2.9 (I would suggest using latest 1.2.x, which is 1.2.19). Then you can to to 2.0.x and up.

Practicing on a scratch cluster is valuable experience. Reading the upgrade notes in NEWS.txt is a must.

--
Kind regards,
Michael

On 6/17/19 3:34 AM, Anurag Sharma wrote:
Thanks Alex,

I came across some interesting and efficient ways of upgrading from 1.x to 3.x as described in the blog here <https://medium.com/@roeezilkha/database-migration-at-scale-ae85c14c3621> and others. Was curious if someone has open-sourced their custom utility.  :D

Regards
Anurag

On Mon, Jun 17, 2019 at 1:27 PM Oleksandr Shulgin <oleksandr.shul...@zalando.de <mailto:oleksandr.shul...@zalando.de>> wrote:

    On Mon, Jun 17, 2019 at 9:30 AM Anurag Sharma
    <anurag.rp.sha...@gmail.com <mailto:anurag.rp.sha...@gmail.com>> wrote:


        We are upgrading Cassandra from 1.25 to 3.X. Just curious if
        there is any recommended open source utility for the same.


    Hi,

    The "recommended  open source utility" is the Apache Cassandra
    itself. ;-)

    Given the huge difference between the major versions, though, you
    will need a decent amount of planning and preparation to
    successfully complete such a migration.  Most likely you will want
    to do it in small steps, first upgrading to the latest minor version
    in the 1.x series, then making a jump to 2.x, then to 3.0, and only
    then to 3.x if you really mean to.  On each upgrade step, be sure to
    examine the release notes carefully to understand if there is any
    impact for your cluster and/or client applications.  Do have a test
    system with preferably identical setup and configuration and execute
    the upgrade steps there first to verify your expectations.

    Good luck!
    --
    Alex



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
For additional commands, e-mail: user-h...@cassandra.apache.org

Reply via email to