cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-7351) Make BEGIN COUNTER BATCH syntax optional
Date Tue, 17 Jun 2014 04:33:02 GMT

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

Aleksey Yeschenko commented on CASSANDRA-7351:
----------------------------------------------

1. Should not allow mixing regular and counter mutations in UNLOGGED batches. Should track
hasCounters in Parsed#prepare() and reject mixed batches
2. Native protocol batches need updating. See BatchMessage.

> Make BEGIN COUNTER BATCH syntax optional
> ----------------------------------------
>
>                 Key: CASSANDRA-7351
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7351
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: T Jake Luciani
>            Assignee: T Jake Luciani
>            Priority: Trivial
>              Labels: cql3
>             Fix For: 2.1.0
>
>         Attachments: 7351-rebase.txt, 7351.txt
>
>
> AFAIK there is no need to supply COUNTER in Batch statements.
> The server should just throw an syntax error if you try to mix counter and non counter
statements in the same batch.
> What value does this keyword add?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message