Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A864A9B95 for ; Tue, 20 Mar 2012 13:07:04 +0000 (UTC) Received: (qmail 93682 invoked by uid 500); 20 Mar 2012 13:07:03 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 93645 invoked by uid 500); 20 Mar 2012 13:07:03 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 93637 invoked by uid 99); 20 Mar 2012 13:07:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Mar 2012 13:07:02 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.212.52] (HELO mail-vb0-f52.google.com) (209.85.212.52) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Mar 2012 13:06:58 +0000 Received: by vbzb23 with SMTP id b23so4121vbz.11 for ; Tue, 20 Mar 2012 06:06:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=hyftO4dPZtumMjf86uOfmv+hSglIs2LzKn+BV/wavho=; b=DhMlFjwUdQZNWvHTKfdAPRarQEZj9/71srzVAUAieskodNt0JkO2irwuAcu2FPf2BE /ooPUa9cn4Dy8y43wi3oRPKHPkzSk2kVh0UrOgcrM8gULQxZA4wWPjirDsdtU5S10VHC TjVCexlxMsGS42F3gOdq5sDWYGfej8eCio8Lq+DA7FeeieFotvZVT/+wOz3c0P947U82 gCmf+MluBCv6Wq8ZHIcl3e/dKXzY7U2l/5XzRL6gDCnGAJI0+TvEdKw5z/zmo3EvFrjK fCe3KRtbI78lAdAPylT0E6+vvQetEjxGK6u3rHshn79Q2aAoVhxRNCj6ZC4nMNQ9z20f MURA== MIME-Version: 1.0 Received: by 10.220.155.196 with SMTP id t4mr6476481vcw.52.1332248796718; Tue, 20 Mar 2012 06:06:36 -0700 (PDT) Received: by 10.52.23.43 with HTTP; Tue, 20 Mar 2012 06:06:36 -0700 (PDT) X-Originating-IP: [156.33.195.149] In-Reply-To: <0D590A87-0540-4143-9F60-F95D18D458F3@thenoi.se> References: <0D590A87-0540-4143-9F60-F95D18D458F3@thenoi.se> Date: Tue, 20 Mar 2012 06:06:36 -0700 Message-ID: Subject: Re: CouchDB, linux & clean shutdowns From: Matthew Woodward To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=f46d043c7dbe47e7f904bbac5865 X-Gm-Message-State: ALoCoQlCTrYxQkhgTjvBw8E8g7MSz52yACbSu6unfjRgv8Hw35VZodzzscfxmKRCL1a5Wtuz1AlX X-Virus-Checked: Checked by ClamAV on apache.org --f46d043c7dbe47e7f904bbac5865 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Mar 20, 2012 at 5:59 AM, Martin Hewitt wrote: > Is this a CouchDB "thing" or is the init.d script shutting down CouchDB in > a non-clean fashion that's causing a cautionary rebuild when CouchDB comes > back up? > I believe given the way writes in CouchDB work that shutting it down gracefully or even doing a kill -9 would have no impact as far as this goes. Is this always the behavior for you when you do a restart? Is this a single server or are you doing any replication? > Obviously, we hope not to have to restart frequently, but the rebuild > process takes a while on our larger databases, so it's quite a barrier to > our availability to have these views being recreated from scratch. > If you add stale=ok to your query does anything come up or is it as if the view doesn't exist at all after you do a restart? > > It may be that I need to upgrade my CouchDB install, but if there's any > light that can be shed on this without that being necessary, that would be > good. > What version are you running? -- Matthew Woodward matt@mattwoodward.com http://blog.mattwoodward.com identi.ca / Twitter: @mpwoodward Please do not send me proprietary file formats such as Word, PowerPoint, etc. as attachments. http://www.gnu.org/philosophy/no-word-attachments.html --f46d043c7dbe47e7f904bbac5865--