cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-2990) We should refuse query for counters at CL.ANY
Date Tue, 09 Aug 2011 19:16:27 GMT

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

Sylvain Lebresne commented on CASSANDRA-2990:
---------------------------------------------

bq. Why can't we hint the first replica?

Well, actually I think we could. Or at least if we cannot I forgot why. We would need to be
sure we never replay an hint twice though, which I'm not sure is a guarantee right now. Also,
we can only make this if what we store as a hint is the serialized mutation (in this case,
the serialized CounterMutation): we can't apply the CounterMutation on a non-replica (partly
because that would potentially increase the counter context too much, partly because counter
remove suck, which would probably be a problem at some point).

So it should be doable, but it's a bit of work.

> We should refuse query for counters at CL.ANY
> ---------------------------------------------
>
>                 Key: CASSANDRA-2990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2990
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>            Priority: Trivial
>              Labels: counters
>             Fix For: 0.8.4
>
>         Attachments: 2990.patch
>
>
> We currently do not reject writes for counters at CL.ANY, even though this is not supported
(and rightly so).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message