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 72A57F9C7 for ; Wed, 3 Apr 2013 16:37:37 +0000 (UTC) Received: (qmail 66475 invoked by uid 500); 3 Apr 2013 16:35:58 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 65602 invoked by uid 500); 3 Apr 2013 16:35:52 -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 64476 invoked by uid 99); 3 Apr 2013 16:35:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Apr 2013 16:35:15 +0000 Date: Wed, 3 Apr 2013 16:35:15 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-5410) incremental backups race 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-5410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-5410: -------------------------------------- Attachment: 5410.txt Patch to snapshot synchronously before creating a new View. > incremental backups race > ------------------------ > > Key: CASSANDRA-5410 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5410 > Project: Cassandra > Issue Type: Bug > Components: Core > Affects Versions: 1.0.0 > Reporter: Jonathan Ellis > Priority: Minor > Fix For: 1.2.4 > > Attachments: 5410.txt > > > incremental backups does not mark things referenced or compacting, so it could get compacted away before createLinks runs. Occasionally you can see this happen during ColumnFamilyStoreTest. (Since it runs on the background tasks stage, it does not fail the test.) > {noformat} > [junit] java.lang.RuntimeException: Tried to hard link to file that does not exist build/test/cassandra/data/Keyspace1/Standard1/Keyspace1-Standard1-ja-8-Statistics.db > [junit] at org.apache.cassandra.io.util.FileUtils.createHardLink(FileUtils.java:72) > [junit] at org.apache.cassandra.io.sstable.SSTableReader.createLinks(SSTableReader.java:1066) > [junit] at org.apache.cassandra.db.DataTracker$1.run(DataTracker.java:168) > [junit] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) > [junit] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > [junit] at java.util.concurrent.FutureTask.run(FutureTask.java:138) > [junit] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira