cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée (JIRA) <>
Subject [jira] [Created] (CASSANDRA-6967) upgradesstables won't upgrade the system-Versions-hf files
Date Tue, 01 Apr 2014 11:44:21 GMT
Nicolas Lalevée created CASSANDRA-6967:

             Summary: upgradesstables won't upgrade the system-Versions-hf files
                 Key: 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.
# 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

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

This message was sent by Atlassian JIRA

View raw message