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

Jonathan Ellis commented on CASSANDRA-4017:
-------------------------------------------

bq. More precisely, SchemaLoader was not using the migration path, but only 
loading the schema in-memory. Because the patch removes the local special case, 
this was breaking DefsTest. 

Why can't we still call {{Schema.load(KSMetaData)}} directly?
                
> Unify migrations
> ----------------
>
>                 Key: CASSANDRA-4017
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4017
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.1.0
>            Reporter: Jonathan Ellis
>            Assignee: Sylvain Lebresne
>             Fix For: 1.1.0
>
>
> Now that we can send a schema as a RowMutation, there's no need to keep 
> separate add/drop/update migration classes around.  Let's just send the 
> schema to our counterparts and let them figure out what changed.  Currently 
> we have "figure out what changed" code to both generate migrations on the 
> sender, and for application on the target, which adds complexity.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to