You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Tyler Hobbs (JIRA)" <ji...@apache.org> on 2015/11/12 18:52:10 UTC

[jira] [Created] (CASSANDRA-10694) Deletion info is dropped on updated rows when notifying secondary index

Tyler Hobbs created CASSANDRA-10694:
---------------------------------------

             Summary: Deletion info is dropped on updated rows when notifying secondary index
                 Key: CASSANDRA-10694
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10694
             Project: Cassandra
          Issue Type: Bug
          Components: index
            Reporter: Tyler Hobbs
            Assignee: Tyler Hobbs
             Fix For: 3.0.1, 3.1
         Attachments: index-deletion.patch

In {{SecondaryIndexManager.onUpdated()}}, we fail to copy the {{DeletionInfo}} from the existing and new rows before notifying the index of the update.  This leads the index to believe a new, live row has been inserted instead of a single-row deletion.  It looks like this has been a problem since 3.0.0-beta1.

I've attached a simple patch that fixes the issue.  I'm working on a full patch with tests, etc.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)