You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Pavel Yaskevich (JIRA)" <ji...@apache.org> on 2012/09/12 21:19:07 UTC

[jira] [Commented] (CASSANDRA-4659) Fix consistency ALL parsing in CQL3

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

Pavel Yaskevich commented on CASSANDRA-4659:
--------------------------------------------

+1, it was a left behind, grant/revoke commands actually using {full, no}_access.
                
> Fix consistency ALL parsing in CQL3
> -----------------------------------
>
>                 Key: CASSANDRA-4659
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4659
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.2.0 beta 1
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>            Priority: Trivial
>             Fix For: 1.2.0 beta 1
>
>         Attachments: 4659.txt
>
>
> CASSANDRA-4490 made some change to the parsing of ALL for consistency levels (introducing a specific token K_ALL). It's unclear why since that new token is not used (that is, except for the consistency level), probably some left over of a previous version of the patch.
> In any case, this doesn't work. K_ALL and K_LEVEL being both tokens, the string 'ALL' will always generate K_ALL and never K_LEVEL and thus 'USING CONSISTENCY ALL' doesn't parse anymore.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira