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

Null in a cell caused by expired TTL does not work with IF clause (in CQL3)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.0.6
    • Legacy/Testing
    • None
    • One cluster with two nodes on a Linux and a Windows system. cqlsh 4.1.0 | Cassandra 2.0.4 | CQL spec 3.1.1 | Thrift protocol 19.39.0. CQL3 Column Family

    • Low

    Description

      IF onecell=null clause does not work if the onecell has got its null value from an expired TTL. If onecell is updated with null value (UPDATE) then IF onecell=null works fine.
      This bug is not present when you create a table with COMPACT STORAGE directive.

      Attachments

        1. 0001-Fix-for-expiring-columns-used-in-cas-conditions.patch
          2 kB
          Paul Kendall
        2. 6623.txt
          21 kB
          Sylvain Lebresne

        Issue Links

          Activity

            People

              slebresne Sylvain Lebresne
              scs95 Csaba Seres
              Sylvain Lebresne
              Aleksey Yeschenko
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: