You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksey Yeschenko (JIRA)" <ji...@apache.org> on 2014/08/03 18:42:12 UTC

[jira] [Resolved] (CASSANDRA-7679) Batch DDL

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

Aleksey Yeschenko resolved CASSANDRA-7679.
------------------------------------------

    Resolution: Not a Problem

The right solution is to further improve on CASSANDRA-7444, and make schema merging as granular as possible, to make it do zero extra work - which is what we are going to do for 3.0.

> Batch DDL
> ---------
>
>                 Key: CASSANDRA-7679
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7679
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Robert Stupp
>
> Just an idea: To improve speed of DDL in clusters with lots of Keyspaces/Tables/Columns it might help to collect a bunch of schema changes and propagate them as a single bunch of changes.
> Such a DDL batch would
> # execute DDLs locally and collect all mutations
> # broadcast all mutations at once
> # schema agreement
> # return list<SchemaChange> via native protocol to the client
> So {{DefsTables.mergeSchemaInternal}} (which seems to be the expensive part) would only execute once per DDL batch on each node.
> DDL batches would not be atomic.



--
This message was sent by Atlassian JIRA
(v6.2#6252)