cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Tereschenko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-5415) Batch with timestamp failed
Date Tue, 02 Apr 2013 13:43:15 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-5415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexey Tereschenko updated CASSANDRA-5415:
------------------------------------------

    Description: 
When I create a prepared statement with the following CQL3 using Thrift protocol:
{code}
BEGIN BATCH USING TIMESTAMP <number>
<some INSERT INTO or UPDATE statements ....>
APPLY BATCH
{code}

and execute this statement in a loop, I randomly get the error:
*InvalidRequestException(why:Timestamp must be set either on BATCH or individual statements)*

  was:
When I create a prepared statement with the following CQL3:
{code}
BEGIN BATCH USING TIMESTAMP <number>
<some INSERT INTO or UPDATE statements ....>
APPLY BATCH
{code}

and execute this statement in a loop, I randomly get the error:
*InvalidRequestException(why:Timestamp must be set either on BATCH or individual statements)*

    
> Batch with timestamp failed
> ---------------------------
>
>                 Key: CASSANDRA-5415
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5415
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.3
>            Reporter: Alexey Tereschenko
>
> When I create a prepared statement with the following CQL3 using Thrift protocol:
> {code}
> BEGIN BATCH USING TIMESTAMP <number>
> <some INSERT INTO or UPDATE statements ....>
> APPLY BATCH
> {code}
> and execute this statement in a loop, I randomly get the error:
> *InvalidRequestException(why:Timestamp must be set either on BATCH or individual statements)*

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message