Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0F5DA200BE4 for ; Wed, 21 Dec 2016 17:03:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 0DFDE160B18; Wed, 21 Dec 2016 16:03:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7F1B0160B26 for ; Wed, 21 Dec 2016 17:02:59 +0100 (CET) Received: (qmail 58416 invoked by uid 500); 21 Dec 2016 16:02:58 -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 58335 invoked by uid 99); 21 Dec 2016 16:02:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Dec 2016 16:02:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 665C92C1F56 for ; Wed, 21 Dec 2016 16:02:58 +0000 (UTC) Date: Wed, 21 Dec 2016 16:02:58 +0000 (UTC) From: "Sylvain Lebresne (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CASSANDRA-13069) Local batchlog for MV may not be correctly written on node movements MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 21 Dec 2016 16:03:00 -0000 Sylvain Lebresne created CASSANDRA-13069: -------------------------------------------- Summary: Local batchlog for MV may not be correctly written on node movements Key: CASSANDRA-13069 URL: https://issues.apache.org/jira/browse/CASSANDRA-13069 Project: Cassandra Issue Type: Bug Reporter: Sylvain Lebresne Assignee: Paulo Motta Unless I'm really reading this wrong, I think the code [here|https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/service/StorageProxy.java#L829-L843], which comes from CASSANDRA-10674, isn't working properly. More precisely, I believe we can have both paired and unpaired mutations, so that both {{if}} can be taken, but if that's the case, the 2nd write to the batchlog will basically overwrite (remove) the batchlog write of the 1st {{if}} and I don't think that's the intention. In practice, this means "paired" mutation won't be in the batchlog, which mean they won't be replayed at all if they fail. -- This message was sent by Atlassian JIRA (v6.3.4#6332)