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

Thrift CAS on static columns doesn't work as expected

    XMLWordPrintableJSON

Details

    • Normal

    Description

      Although the thrift cas call works as expected for dynamic column families, using it on tables with statically defined columns produces unexpected results. The problem, in ThriftCASRequest, is that while the expected partition contains a static row, the current partition has been processed by ThriftResultsMerger during the read, converting the static columns to clusterings. If expected contains only a static row, no further checking is carried out, appliesTo erroneously returns true and the conditional update is performed regardless of the current state of the partition.

      Attachments

        Activity

          People

            samt Sam Tunnicliffe
            samt Sam Tunnicliffe
            Sam Tunnicliffe
            Sylvain Lebresne
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: