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

Unintended update with conditional statement

    XMLWordPrintableJSON

Details

    • Normal

    Description

      After updated to 2.0.6, I have encountered the strange behavior of conditional updates.

      When I executed CQL like UPDATE test SET value = ? WHERE id = ? IF value = ? in concurrent, sometimes cassandra returns true even if value is not satisfied the condition.

      I have attached the program which reproduce this issue. The program works fine in cassandra 2.0.5. But it seems that resets values while execution in 2.0.6.

      Attachments

        1. 6893.txt
          13 kB
          Sylvain Lebresne
        2. ConcurrentCASUpdate.java
          3 kB
          Suguru Namura

        Activity

          People

            slebresne Sylvain Lebresne
            snamura Suguru Namura
            Sylvain Lebresne
            Aleksey Yeschenko
            Michael Shuler Michael Shuler
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: