You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Mikhail Stepura (JIRA)" <ji...@apache.org> on 2014/04/22 18:52:18 UTC
[jira] [Updated] (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:all-tabpanel ]
Mikhail Stepura updated CASSANDRA-7067:
---------------------------------------
Description:
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}
was:
Cassandra must refuse BATCHes with {{TIMESTMAP}}, 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}
> 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
> Priority: Minor
> Fix For: 2.0.8, 2.1 beta2
>
>
> 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)