You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Lewis John McGibbney (Resolved) (JIRA)" <ji...@apache.org> on 2012/01/26 13:39:41 UTC

[jira] [Resolved] (GORA-79) Block keyspace creation until the whole cassandra cluster converges to the new keyspace.

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

Lewis John McGibbney resolved GORA-79.
--------------------------------------

    Resolution: Fixed

Committed revision @ 1236159 in trunk
Thank you Patricio for your input.

                
> Block keyspace creation until the whole cassandra cluster converges to the new keyspace.
> ----------------------------------------------------------------------------------------
>
>                 Key: GORA-79
>                 URL: https://issues.apache.org/jira/browse/GORA-79
>             Project: Gora
>          Issue Type: Sub-task
>          Components: storage-cassandra
>    Affects Versions: 0.2-incubating
>            Reporter: Lewis John McGibbney
>            Assignee: Lewis John McGibbney
>             Fix For: 0.2-incubating
>
>         Attachments: GORA-79.patch
>
>
> Ideally during a keyspace creation you may want to block until the whole cluster converge to the new keyspace. You can achieve this by adding an extra boolean parameter during the method call:
> {code}
> this.cluster.addKeyspace(keyspaceDefinition, true);
> {code}
> Hector will block until all nodes in the cluster agree on the new keyspace.

--
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