cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <>
Subject [jira] [Resolved] (CASSANDRA-7351) Make BEGIN COUNTER BATCH syntax optional
Date Fri, 20 Jun 2014 22:28:26 GMT


Aleksey Yeschenko resolved CASSANDRA-7351.

    Resolution: Fixed

Committed, thanks.

Took the liberty to add two comments, and move the top-level batch validate() call from validate(state)
to QueryProcessor.processBatch() (so that we don't validate twice unnecessarily for non-protocol
batches). Feel free to ninja it back if you mind.

Otherwise committed verbatim.

> Make BEGIN COUNTER BATCH syntax optional
> ----------------------------------------
>                 Key: CASSANDRA-7351
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: T Jake Luciani
>            Assignee: T Jake Luciani
>            Priority: Trivial
>              Labels: cql3
>             Fix For: 2.1 rc2
>         Attachments: 7351-rebase.txt, 7351.txt, 7351v2.txt, 7351v3.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

View raw message