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

All statements inside the batch have no individual USING TIMESTAMP.

  was:
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)*

    
> 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)*
> All statements inside the batch have no individual USING TIMESTAMP.

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

Reply via email to