cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Patterson (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-4698) Keyspace disappears when upgrading node from cassandra-1.1.1 to cassandra-1.1.5
Date Wed, 26 Sep 2012 18:07:07 GMT


Tyler Patterson commented on CASSANDRA-4698:

[~xedin] I ran this test:

I set up a 1-node 1.1.1 cluster with that broken keyspace mentioned at the beginning of this
test, then I bootstrapped another 1.1.1 node and verified that the keyspace was visible to
the second node. The timestamps were 16 digits long on both nodes. 

Then I took down node 2, upgraded it to 1.1.5, and started it back up. The keyspace was not
visible. In cassandra-cli I did was not able to see the timestamps on node 2, here is what
the output looked like:
[default@system] list schema_columns;
Using default limit of 100
Using default column limit of 100
RowKey: performance_tests

1 Row Returned.
Elapsed time: 2 msec(s).
I got the same results for list schema_keyspaces and list schema_columnfamilies.

On node1 (which was still on 1.1.1) the timestamps were still 16-digits long. I don't know
how to get the now-incorrect remote schema (on node2) to overwrite the local correct schema
(on node1).
> Keyspace disappears when upgrading node from cassandra-1.1.1 to cassandra-1.1.5
> -------------------------------------------------------------------------------
>                 Key: CASSANDRA-4698
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.5
>         Environment: ubuntu. JNA not installed.
>            Reporter: Tyler Patterson
>            Assignee: Pavel Yaskevich
>             Fix For: 1.1.6
>         Attachments: CASSANDRA-4698.patch, start_1.1.1_system.log, start_1.1.5_system.log
> Here is how I got the problem to happen:
> 1. Get this zipped data directory (about 33Mb):
>   scp cass@ ./ (password cass)
> 2. Unzip it in /var/lib/
> 3. clone the cassandra git repo
> 4. git checkout cassandra-1.1.1; ant jar;
> 5. bin/cassandra 
> 6. Run cqlsh -3, then DESC COLUMNFAMILIES; Note the presence of Keyspace performance_tests
> 7. pkill -f cassandra; git checkout cassandra-1.1.5; ant realclean; ant jar;
> 8. bin/cassandra
> 9. Run cqlsh -3, then DESC COLUMNFAMILIES; Note that there is no performance_tests keyspace

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:

View raw message