Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 79377 invoked from network); 14 Jun 2010 17:29:36 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Jun 2010 17:29:36 -0000 Received: (qmail 68621 invoked by uid 500); 14 Jun 2010 17:29:35 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 68584 invoked by uid 500); 14 Jun 2010 17:29:34 -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 68576 invoked by uid 99); 14 Jun 2010 17:29:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jun 2010 17:29:34 +0000 X-ASF-Spam-Status: No, hits=-1518.8 required=10.0 tests=ALL_TRUSTED,AWL 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; Mon, 14 Jun 2010 17:29:34 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5EHTDnw028369 for ; Mon, 14 Jun 2010 17:29:14 GMT Message-ID: <2691692.81391276536553950.JavaMail.jira@thor> Date: Mon, 14 Jun 2010 13:29:13 -0400 (EDT) From: "Chris Anderson (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Commented: (COUCHDB-791) Changes not written if server shutdown during delayed_commits period In-Reply-To: <19076530.21681276177333672.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/COUCHDB-791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12878645#action_12878645 ] Chris Anderson commented on COUCHDB-791: ---------------------------------------- but wouldn't option 1 do the trick? assuming there isn't a crash just after `couchdb -d` is invoked. > Changes not written if server shutdown during delayed_commits period > -------------------------------------------------------------------- > > Key: COUCHDB-791 > URL: https://issues.apache.org/jira/browse/COUCHDB-791 > Project: CouchDB > Issue Type: Bug > Affects Versions: 0.11.1 > Environment: Linux (Ubuntu 10.04) > Reporter: Matt Goodall > > If the couchdb server is shutdown (couchdb -d, Ctrl+C at the console, etc) during the delayed commits period then buffered updates are lost. > Simple script to demonstrate the problem is: > db=http://localhost:5984/scratch > curl $db -X DELETE > curl $db -X PUT > curl $db -X POST -d '{}' > /path/to/couchdb/bin/couchdb -d > When couchdb is started again the database is empty. > Affects 0.11.x and trunk branches. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.