From dev-return-7785-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Mon Dec 21 16:24:43 2009 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 75184 invoked from network); 21 Dec 2009 16:24:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Dec 2009 16:24:42 -0000 Received: (qmail 58214 invoked by uid 500); 21 Dec 2009 16:24:42 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 58117 invoked by uid 500); 21 Dec 2009 16:24: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 57883 invoked by uid 99); 21 Dec 2009 16:24:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Dec 2009 16:24: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, 21 Dec 2009 16:24:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CF1C3234C4A9 for ; Mon, 21 Dec 2009 08:24:18 -0800 (PST) Message-ID: <2086594618.1261412658847.JavaMail.jira@brutus> Date: Mon, 21 Dec 2009 16:24:18 +0000 (UTC) From: "Chris Anderson (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Commented: (COUCHDB-356) batch=ok should take a wait=true option In-Reply-To: <520434546.1243025085675.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-356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793249#action_12793249 ] Chris Anderson commented on COUCHDB-356: ---------------------------------------- This is actually a bit outdated as we have a new batch infra based on Damien's parallel writers patch. Essentially we are always running batch=ok&wait=true now. Only we do the batching at the file-write level, not in an in-memory data structure. I think it's worth reevaluating the batch API for 0.11 > batch=ok should take a wait=true option > --------------------------------------- > > Key: COUCHDB-356 > URL: https://issues.apache.org/jira/browse/COUCHDB-356 > Project: CouchDB > Issue Type: Improvement > Components: HTTP Interface > Reporter: Chris Anderson > Fix For: 0.11 > > > This would hold the connection to the client until the document has been committed, instead of returning immediately with a 202 Accepted -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.