Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 51837 invoked from network); 27 Jul 2010 16:05:41 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Jul 2010 16:05:41 -0000 Received: (qmail 55559 invoked by uid 500); 27 Jul 2010 16:05:40 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 55476 invoked by uid 500); 27 Jul 2010 16:05:40 -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 55462 invoked by uid 99); 27 Jul 2010 16:05:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jul 2010 16:05:39 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jul 2010 16:05:37 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6RG5GOQ004942 for ; Tue, 27 Jul 2010 16:05:16 GMT Message-ID: <15571067.26081280246716065.JavaMail.jira@thor> Date: Tue, 27 Jul 2010 12:05:16 -0400 (EDT) From: "Jason Smith (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Commented: (COUCHDB-837) Adding stale=partial In-Reply-To: <2452653.8651280181143917.JavaMail.jira@thor> 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-837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12892827#action_12892827 ] Jason Smith commented on COUCHDB-837: ------------------------------------- stale=relaxed was tongue in cheek. I'm not a fan either. As long as we are bikeshedding, stale=ok is itself inferior to stale=true. Doubless `ok` is an Erlang-ism that leaked out into the HTTP API. Why is it include_docs=true but not stale=true? (No reply necessary, just airing my grievances.) > Adding stale=partial > -------------------- > > Key: COUCHDB-837 > URL: https://issues.apache.org/jira/browse/COUCHDB-837 > Project: CouchDB > Issue Type: Improvement > Environment: all released and unreleased versions > Reporter: Filipe Manana > Assignee: Filipe Manana > Attachments: stale_partial.patch > > > Inspired by Matthias' latest post, at http://www.paperplanes.de/2010/7/26/10_annoying_things_about_couchdb.html, section "Views are updated on read access", I added a new value to the "stale" option named "partial" (possibly we need to find a better name). > It behaves exactly like "stale=ok" but after replying to the client, it triggers a view update in the background. > Patch attached. > If no one disagrees this isn't a good feature, or suggest a better parameter value name, I'll commit. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.