You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Nicolas Lalevée (JIRA)" <ji...@apache.org> on 2014/04/01 13:44:21 UTC

[jira] [Created] (CASSANDRA-6967) upgradesstables won't upgrade the system-Versions-hf files

Nicolas Lalevée created CASSANDRA-6967:
------------------------------------------

             Summary: upgradesstables won't upgrade the system-Versions-hf files
                 Key: CASSANDRA-6967
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6967
             Project: Cassandra
          Issue Type: Bug
            Reporter: Nicolas Lalevée


In order to properly upgrade our test cluster from 1.2.11 to 2.0.6, we had to perform some upgradesstables, Cassandra 2.0.6 was not starting due to some file in version 'hf'.

To prepare the upgrade on prod, I have looked up for some 'hf' files, and I have found some on all nodes, all being /var/lib/cassandra/data/system/Versions/system-Versions-hf-*

And I have tried many upgradesstables command, there are still lying there.
{noformat}
# nodetool upgradesstables system Versions
Exception in thread "main" java.lang.IllegalArgumentException: Unknown table/cf pair (system.Versions)
# nodetool upgradesstables system
# nodetool upgradesstables
# nodetool upgradesstables -a system
# ls /var/lib/cassandra/data/system/Versions/*-hf-* | wc -l
15
{noformat}

I did not try "nodetool upgradesstables -a" since we have a lot of data.




--
This message was sent by Atlassian JIRA
(v6.2#6252)