gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GORA-80) Implement functionality to define consistency used for Cassandra read and write operations.
Date Mon, 16 Jan 2012 13:06:39 GMT

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

Lewis John McGibbney updated GORA-80:
-------------------------------------

    Attachment: GORA-80.patch

This is actually a really swav way to use Hector for defining consistency, I really like it.
The patch is not perfect and there is one issue where we need to decide on what the consistency
level should be in Gora by default, then register it as a field. At a more abstract level,
Hector sets the default to QUORUM, this waits for a quorum of replicas (no matter which datacenter).
 

The affected code is 

{code}
clmap.put("ColumnFamily", HConsistencyLevel.ONE);
{code}

Any ideas?
                
> Implement functionality to define consistency used for Cassandra read and write operations.
> -------------------------------------------------------------------------------------------
>
>                 Key: GORA-80
>                 URL: https://issues.apache.org/jira/browse/GORA-80
>             Project: Gora
>          Issue Type: Sub-task
>          Components: storage-cassandra
>    Affects Versions: 0.2-incubating
>            Reporter: Lewis John McGibbney
>             Fix For: 0.2-incubating
>
>         Attachments: GORA-80.patch
>
>
> Gora-Cassandra should define the consistency used for Cassandra read and write operations.
Currently o.a.g.cassandra.store.CassandraClient (Hector) is being used with default values.

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

        

Mime
View raw message