Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-5415

Batch with timestamp failed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 1.2.4
    • Component/s: None
    • Labels:
    • Severity:
      Low

      Description

      When I create a prepared statement with the following CQL3 using Thrift protocol:

      BEGIN BATCH USING TIMESTAMP <number>
      <some INSERT INTO or UPDATE statements ....>
      APPLY BATCH
      

      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.

        Attachments

        1. 5415.txt
          1 kB
          Aleksey Yeschenko

          Activity

            People

            • Assignee:
              aleksey Aleksey Yeschenko
              Reporter:
              aytereschenko Alexey Tereschenko
              Authors:
              Aleksey Yeschenko
              Reviewers:
              Sylvain Lebresne
              Tester:
              Ryan McGuire
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: