Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 2676 invoked from network); 1 Feb 2010 21:02:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Feb 2010 21:02:42 -0000 Received: (qmail 34535 invoked by uid 500); 1 Feb 2010 21:02:42 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 34439 invoked by uid 500); 1 Feb 2010 21:02:41 -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 34429 invoked by uid 99); 1 Feb 2010 21:02:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2010 21:02:41 +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; Mon, 01 Feb 2010 21:02:39 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C4084234C1EE for ; Mon, 1 Feb 2010 13:02:18 -0800 (PST) Message-ID: <960219007.5231265058138801.JavaMail.jira@brutus.apache.org> Date: Mon, 1 Feb 2010 21:02:18 +0000 (UTC) From: "Jan Lehnardt (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Resolved: (COUCHDB-449) Turn off delayed commits by default In-Reply-To: <1852531864.1249412294881.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-449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Lehnardt resolved COUCHDB-449. ---------------------------------- Resolution: Fixed I call lazy consensus that we keep delayed_commits on by default. Please reopen if you disagree. > Turn off delayed commits by default > ----------------------------------- > > Key: COUCHDB-449 > URL: https://issues.apache.org/jira/browse/COUCHDB-449 > Project: CouchDB > Issue Type: Bug > Components: Database Core > Affects Versions: 0.9, 0.9.1 > Reporter: Jan Lehnardt > Assignee: Adam Kocoloski > Priority: Blocker > Fix For: 0.11 > > Attachments: delayed_commits_v1.patch, slow.rb > > > Delayed commits make CouchDB significantly faster. They also open a one second window for data loss. In 0.9 and trunk, delayed commits are enabled by default and can be overridden with HTTP headers and an explicit API call to flush the write buffer. I suggest to turn off delayed commits by default and use the same overrides to enable it per request. A per-database option is possible, too. > One concern is developer workflow speed. The setting affects the test suite performance significantly. I'd opt to change couch.js to set the appropriate header to enable delayed commits for tests. > CouchDB should guarantee data safety first and speed second, with sensible overrides. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.