You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yuki Morishita (JIRA)" <ji...@apache.org> on 2010/06/03 04:19:54 UTC

[jira] Created: (CASSANDRA-1152) Read operation with ConsistencyLevel.ALL throws exception

Read operation with ConsistencyLevel.ALL throws exception
---------------------------------------------------------

                 Key: CASSANDRA-1152
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1152
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.6.1
            Reporter: Yuki Morishita


Read operations which use thrift.CassandraServer#readColumnFamily should allow consistency_level == ALL.
Current implementation just throws InvalidRequestException when consistency level is ALL.
Same thing applies to avro implementation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-1152) Read operation with ConsistencyLevel.ALL throws exception

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-1152:
--------------------------------------

        Fix Version/s: 0.6.3
    Affects Version/s:     (was: 0.6.1)

> Read operation with ConsistencyLevel.ALL throws exception
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-1152
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1152
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Yuki Morishita
>             Fix For: 0.6.3
>
>         Attachments: read_column_family_on_all, read_column_family_on_all_inline_with_thrift
>
>
> Read operations which use thrift.CassandraServer#readColumnFamily should allow consistency_level == ALL.
> Current implementation just throws InvalidRequestException when consistency level is ALL.
> Same thing applies to avro implementation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CASSANDRA-1152) Read operation with ConsistencyLevel.ALL throws exception

Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Dusbabek reassigned CASSANDRA-1152:
----------------------------------------

    Assignee: Gary Dusbabek

> Read operation with ConsistencyLevel.ALL throws exception
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-1152
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1152
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Yuki Morishita
>            Assignee: Gary Dusbabek
>             Fix For: 0.6.3
>
>         Attachments: read_column_family_on_all, read_column_family_on_all_inline_with_thrift
>
>
> Read operations which use thrift.CassandraServer#readColumnFamily should allow consistency_level == ALL.
> Current implementation just throws InvalidRequestException when consistency level is ALL.
> Same thing applies to avro implementation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-1152) Read operation with ConsistencyLevel.ALL throws exception

Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875201#action_12875201 ] 

Gary Dusbabek commented on CASSANDRA-1152:
------------------------------------------

Recommitted.  Thanks Dylan!

> Read operation with ConsistencyLevel.ALL throws exception
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-1152
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1152
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Yuki Morishita
>            Assignee: Gary Dusbabek
>             Fix For: 0.6.3, 0.7
>
>         Attachments: read_column_family_on_all, read_column_family_on_all_inline_with_thrift
>
>
> Read operations which use thrift.CassandraServer#readColumnFamily should allow consistency_level == ALL.
> Current implementation just throws InvalidRequestException when consistency level is ALL.
> Same thing applies to avro implementation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-1152) Read operation with ConsistencyLevel.ALL throws exception

Posted by "Dylan Egan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dylan Egan updated CASSANDRA-1152:
----------------------------------

    Attachment: read_column_family_on_all_inline_with_thrift
                read_column_family_on_all

Created two patches to alleviate the ALL problem, but one of the patches brings the Avro interface inline with thrift in not supporting CL.ANY on read operations too.

Im not really following the Avro updates, but I assume the interface should be the same.

> Read operation with ConsistencyLevel.ALL throws exception
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-1152
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1152
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.6.1
>            Reporter: Yuki Morishita
>         Attachments: read_column_family_on_all, read_column_family_on_all_inline_with_thrift
>
>
> Read operations which use thrift.CassandraServer#readColumnFamily should allow consistency_level == ALL.
> Current implementation just throws InvalidRequestException when consistency level is ALL.
> Same thing applies to avro implementation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-1152) Read operation with ConsistencyLevel.ALL throws exception

Posted by "Dylan Egan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875195#action_12875195 ] 

Dylan Egan commented on CASSANDRA-1152:
---------------------------------------

Hi Gary,

Just to help me understand, why would the Avro interface be different to the Thrift one in terms of what is supported at the read level.

Cheers,

Dylan.

> Read operation with ConsistencyLevel.ALL throws exception
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-1152
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1152
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Yuki Morishita
>            Assignee: Gary Dusbabek
>             Fix For: 0.6.3, 0.7
>
>         Attachments: read_column_family_on_all, read_column_family_on_all_inline_with_thrift
>
>
> Read operations which use thrift.CassandraServer#readColumnFamily should allow consistency_level == ALL.
> Current implementation just throws InvalidRequestException when consistency level is ALL.
> Same thing applies to avro implementation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-1152) Read operation with ConsistencyLevel.ALL throws exception

Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875198#action_12875198 ] 

Gary Dusbabek commented on CASSANDRA-1152:
------------------------------------------

My bad.  I intended to remove the CL.ANY block from avro and keep the CL.ALL block out.  CL.ANY isn't in our avro generation file yet.

> Read operation with ConsistencyLevel.ALL throws exception
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-1152
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1152
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Yuki Morishita
>            Assignee: Gary Dusbabek
>             Fix For: 0.6.3, 0.7
>
>         Attachments: read_column_family_on_all, read_column_family_on_all_inline_with_thrift
>
>
> Read operations which use thrift.CassandraServer#readColumnFamily should allow consistency_level == ALL.
> Current implementation just throws InvalidRequestException when consistency level is ALL.
> Same thing applies to avro implementation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.