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 A0975200CA6 for ; Tue, 9 May 2017 02:53:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9F4E4160BA5; Tue, 9 May 2017 00:53:09 +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 F2D31160BBF for ; Tue, 9 May 2017 02:53:08 +0200 (CEST) Received: (qmail 81844 invoked by uid 500); 9 May 2017 00:53:08 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 81766 invoked by uid 99); 9 May 2017 00:53:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 May 2017 00:53:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 5FB96188A81 for ; Tue, 9 May 2017 00:53:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id FKKcieMsZVhG for ; Tue, 9 May 2017 00:53:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 6F6CE5FC85 for ; Tue, 9 May 2017 00:53:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id BC5E8E0BE1 for ; Tue, 9 May 2017 00:53:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2596221DFA for ; Tue, 9 May 2017 00:53:04 +0000 (UTC) Date: Tue, 9 May 2017 00:53:04 +0000 (UTC) From: "Anthony Grasso (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CASSANDRA-10968) When taking snapshot, manifest.json contains incorrect or no files when column family has secondary indexes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 09 May 2017 00:53:09 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-10968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16000186#comment-16000186 ] Anthony Grasso edited comment on CASSANDRA-10968 at 5/9/17 12:52 AM: --------------------------------------------------------------------- Nice find [~Gerrrr]! I have reviewed code changes and performed the following for all versions of the patch available (2.1, 2.2, 3.11). - Tested as per the example given by [~Gerrrr]. - Ran unit test created in isolation using the following command. {noformat} ant testsome -Dtest.name=org.apache.cassandra.db.ColumnFamilyStoreTest -Dtest.methods=testSnapshotWithoutFlushWithSecondaryIndexes {noformat} - Ran unit tests for {{ColumnFamilyStoreTest}} using the following command. {noformat} ant test -Dtest.name=ColumnFamilyStoreTest {noformat} I have left a comment on the commits ([2.1.12 | https://github.com/Gerrrr/cassandra/commit/ef7ffcd757a4523387a8a078ea75f9c154715b01], [2.2.4 | https://github.com/Gerrrr/cassandra/commit/83e02225859d4e4b49e0c4d8cc8f0917952981aa], [3.11 | https://github.com/Gerrrr/cassandra/commit/735ba7b59e06ae06f8287daa0fd0bb04de22cbc0]) in relation to the new unit test. We will need make a fix to it before we commit this patch. was (Author: anthony grasso): Nice find [~Gerrrr]! I have reviewed code changes and performed the following for all versions of the patch available (2.1, 2.2, 3.11). - Tested as per the example given by [~Gerrrr]. - Ran unit test created in isolation using the following command. {noformat} ant testsome -Dtest.name=org.apache.cassandra.db.ColumnFamilyStoreTest -Dtest.methods=testSnapshotWithoutFlushWithSecondaryIndexes {noformat} - Ran unit tests for {{ColumnFamilyStoreTest}} using the following command. {noformat} ant test -Dtest.name=ColumnFamilyStoreTest {noformat} I have left a comment on the PR in relation to the new unit test. We will need make a fix to it before we commit this patch. > When taking snapshot, manifest.json contains incorrect or no files when column family has secondary indexes > ----------------------------------------------------------------------------------------------------------- > > Key: CASSANDRA-10968 > URL: https://issues.apache.org/jira/browse/CASSANDRA-10968 > Project: Cassandra > Issue Type: Bug > Reporter: Fred A > Assignee: Aleksandr Sorokoumov > Labels: lhf > Fix For: 2.1.12, 2.2.4, 3.11.0 > > > xNoticed indeterminate behaviour when taking snapshot on column families that has secondary indexes setup. The created manifest.json created when doing snapshot, sometimes contains no file names at all and sometimes some file names. > I don't know if this post is related but that was the only thing I could find: > http://www.mail-archive.com/user%40cassandra.apache.org/msg42019.html -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org For additional commands, e-mail: commits-help@cassandra.apache.org