cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-2963) Add a convenient way to reset a node's schema
Date Fri, 12 Aug 2011 21:03:27 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-2963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Ellis updated CASSANDRA-2963:
--------------------------------------

      Component/s: Tools
    Fix Version/s: 0.8.5
           Labels: lhf  (was: )

One possibility: truncate the schema and migration CFs.  But just a local truncate (ColumnFamilyStore.truncate)
rather than pushing it out to the cluster.

Schema management is done in SystemTable.java.

> Add a convenient way to reset a node's schema
> ---------------------------------------------
>
>                 Key: CASSANDRA-2963
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2963
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Tools
>            Reporter: Brandon Williams
>            Priority: Minor
>              Labels: lhf
>             Fix For: 0.8.5
>
>
> People often encounter a schema disagreement where just one node is out of sync.  To
get it back in sync, they shutdown the node, move the Schema* and Migration* files out of
the system ks, and then start it back up.  Rather than go through this process, it would be
nice if you could just tell the node to reset its schema.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message