Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EDC2018920 for ; Fri, 13 Nov 2015 15:15:11 +0000 (UTC) Received: (qmail 83013 invoked by uid 500); 13 Nov 2015 15:15:11 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 82941 invoked by uid 500); 13 Nov 2015 15:15:11 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 82647 invoked by uid 99); 13 Nov 2015 15:15:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Nov 2015 15:15:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 4D3B62C1F7E for ; Fri, 13 Nov 2015 15:15:11 +0000 (UTC) Date: Fri, 13 Nov 2015 15:15:11 +0000 (UTC) From: "Aleksey Yeschenko (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-10694) Deletion info is dropped on updated rows when notifying secondary index MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-10694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aleksey Yeschenko updated CASSANDRA-10694: ------------------------------------------ Component/s: Local Write-Read Paths > 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: Local Write-Read Paths > 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)