cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Coli (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-5095) change NEWS.txt in 1.2 to make it clear that a repair is required post-upgrade
Date Mon, 31 Dec 2012 17:32:12 GMT
Robert Coli created CASSANDRA-5095:
--------------------------------------

             Summary: change NEWS.txt in 1.2 to make it clear that a repair is required post-upgrade
                 Key: CASSANDRA-5095
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5095
             Project: Cassandra
          Issue Type: Improvement
    Affects Versions: 1.2.0
            Reporter: Robert Coli


In trunk 1.2.x, NEWS.txt says the following :

{noformat}
- The hints schema was changed from 1.1 to 1.2. Cassandra automatically snapshots and then
truncates the hints column family as part of starting up 1.2 for the first time.  Additionally,
upgraded nodes will not store new hints destined for older (pre-1.2) nodes. It is therefore
recommended that you perform a cluster upgrade when all nodes are up.
{noformat}

But this means that :

1) as you do a rolling restart upgrade, your new nodes don't store hints for old nodes as
they restart for the upgrade.
2) the last old node being upgraded will be not have any hints stored for it while it is upgrading.

These two facts mean that you need to run a cluster-wide repair after upgrading in order to
be as consistent as you would expect if hinted handoff were working.

I propose modifying NEWS.txt to read :

{noformat}
- The hints schema was changed from 1.1 to 1.2. Cassandra automatically snapshots and then
truncates the hints column family as part of starting up 1.2 for the first time.  Additionally,
upgraded nodes will not store new hints destined for older (pre-1.2) nodes. It is therefore
recommended that you perform a cluster upgrade when all nodes are up. Because hints *will*
be lost, a cluster-wide repair (with -pr) is required after upgrade of all nodes.
{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message