cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-2963) Add a convenient way to reset a node's schema
Date Mon, 12 Sep 2011 14:18:09 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-2963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102674#comment-13102674
] 

Brandon Williams commented on CASSANDRA-2963:
---------------------------------------------

Thanks for the patch!  I don't think this should be a thrift-level call though, since most
clients don't care which machine they're connected to, and many client libs abstract this
away.  A JMX call with a nodetool command would be more appropriate.

> 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.6
>
>         Attachments: system_reset_schema.txt
>
>
> 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