cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Thompson (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-7746) fix upgrade_through_versions local mode for rolling upgrades
Date Wed, 13 Aug 2014 21:04:14 GMT


Philip Thompson commented on CASSANDRA-7746:

There was an old ccm issue about avoiding this exact scenario of changing the checkout while
the nodes are running. It definitely should be avoided. Can't we leverage ccm's existing ability
to checkout tags from git and store them in the ~/.ccm folder?

> fix upgrade_through_versions local mode for rolling upgrades
> ------------------------------------------------------------
>                 Key: CASSANDRA-7746
>                 URL:
>             Project: Cassandra
>          Issue Type: Test
>            Reporter: Russ Hatch
>            Priority: Minor
> Upgrade tests now have a local mode for easier debugging with local code modifications
(instead of fetching remote versions). This works by locally changing branches and building
cassandra as needed.
> There's a potential problem for rolling upgrades because the code will be updated while
some of the nodes are still using the last version. I'm not certain if this really affects
much in practice but should be relatively straightforward to fix.
> Instead of switching branches, the tests will need to check out the target branch/tag
to another location on the filesystem. When upgrading, another version will be checked out
to another location on the filesystem, etc. To keep this (hopefully) platform agnostic we
should be able to use the python tempfile module, and git can probably be used to check out
a single branch as described here:

This message was sent by Atlassian JIRA

View raw message