Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
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.