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-7067) Refuse CAS batch that have a 'USING TIMESTAMP'
Date Tue, 06 May 2014 19:59:26 GMT

    [ 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)

Mime
View raw message