Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 19058 invoked from network); 1 Oct 2010 16:06:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Oct 2010 16:06:58 -0000 Received: (qmail 23782 invoked by uid 500); 1 Oct 2010 16:06:58 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 23640 invoked by uid 500); 1 Oct 2010 16:06:56 -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 23632 invoked by uid 99); 1 Oct 2010 16:06:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Oct 2010 16:06:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Oct 2010 16:06:55 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o91G6YYB023314 for ; Fri, 1 Oct 2010 16:06:34 GMT Message-ID: <3879669.499081285949194467.JavaMail.jira@thor> Date: Fri, 1 Oct 2010 12:06:34 -0400 (EDT) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Updated: (CASSANDRA-1541) KEYS indexes recreated after first restart In-Reply-To: <15783823.376991285294233160.JavaMail.jira@thor> 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-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-1541: -------------------------------------- Attachment: 1541.txt table.open is called before commitlog replay. patch adds flush to INDEX_CF in setIndexBuilt so the flag is visible before log replay next restart. > KEYS indexes recreated after first restart > ------------------------------------------ > > Key: CASSANDRA-1541 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1541 > Project: Cassandra > Issue Type: Bug > Affects Versions: 0.7 beta 2 > Reporter: Stu Hood > Assignee: Jonathan Ellis > Fix For: 0.7.0 > > Attachments: 1541.txt > > > I made sure I waited at least {{commitlog_sync_period_in_ms}}, but the {{SystemTable.isIndexBuilt}} flag doesn't appear to be sticking after a call to system_add_column_family (via CASSANDRA-1531). During the first restart after creation, the index is recreated, logging: "Creating index" and "Index _ complete" again. The second restart works as it should. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.