You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksey Yeschenko (JIRA)" <ji...@apache.org> on 2014/05/06 21:59:26 UTC
[jira] [Commented] (CASSANDRA-7067) Refuse CAS batch that have a
'USING TIMESTAMP'
[ https://issues.apache.org/jira/browse/CASSANDRA-7067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13991057#comment-13991057 ]
Aleksey Yeschenko commented on CASSANDRA-7067:
----------------------------------------------
LGTM, +1
Do we have 2.1 dtests for this?
> Refuse CAS batch that have a 'USING TIMESTAMP'
> ----------------------------------------------
>
> Key: CASSANDRA-7067
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7067
> Project: Cassandra
> Issue Type: Sub-task
> Reporter: Mikhail Stepura
> Assignee: Sylvain Lebresne
> Priority: Minor
> Labels: lhf
> Fix For: 2.0.8
>
> Attachments: 7067.txt
>
>
> Cassandra must refuse BATCHes with {{TIMESTAMP}}, if they contain a CAS statement(s). Like this one:
> {code}
> BEGIN BATCH USING TIMESTAMP 1111111111111111
> INSERT INTO users (id, firstname, lastname) VALUES (999, 'Jack', 'Sparrow') IF NOT EXISTS
> APPLY BATCH
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)