Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 33997 invoked from network); 19 Jun 2009 17:08:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Jun 2009 17:08:19 -0000 Received: (qmail 95442 invoked by uid 500); 19 Jun 2009 17:08:29 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 95372 invoked by uid 500); 19 Jun 2009 17:08:29 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 95361 invoked by uid 99); 19 Jun 2009 17:08:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jun 2009 17:08:29 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jun 2009 17:08:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 60B5F234C044 for ; Fri, 19 Jun 2009 10:08:07 -0700 (PDT) Message-ID: <124765267.1245431287381.JavaMail.jira@brutus> Date: Fri, 19 Jun 2009 10:08:07 -0700 (PDT) From: "Chris Anderson (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Commented: (COUCHDB-218) Name view files by function signature for no-downtime deployments In-Reply-To: <1042337539.1232552639584.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721882#action_12721882 ] Chris Anderson commented on COUCHDB-218: ---------------------------------------- as long as we're in there optimizing this stuff, we should make sure that the ddoc signature is generated the same regardless of the order of the views in the JSON document. this should be just a matter of sorting before taking the signature. it will prevent us from invalidating indexes that are actually valid. > Name view files by function signature for no-downtime deployments > ----------------------------------------------------------------- > > Key: COUCHDB-218 > URL: https://issues.apache.org/jira/browse/COUCHDB-218 > Project: CouchDB > Issue Type: Improvement > Components: JavaScript View Server > Reporter: Robert Newson > Assignee: Chris Anderson > Fix For: 0.10 > > > When a view is altered the .view file is deleted and then recreated. Any query (with update=false) in the interim gets no results even though the results from the old view would have been adequate. > Consider switching the replacement view file in after it's been rebuilt like db compaction does. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.