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

Batch with timestamp failed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.2.4
    • None
    • 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

            aleksey Aleksey Yeschenko
            aytereschenko Alexey Tereschenko
            Aleksey Yeschenko
            Sylvain Lebresne
            Ryan McGuire Ryan McGuire
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: