Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 7055 invoked from network); 22 Feb 2010 14:24:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Feb 2010 14:24:52 -0000 Received: (qmail 91005 invoked by uid 500); 22 Feb 2010 14:24:51 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 90914 invoked by uid 500); 22 Feb 2010 14:24:50 -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 90894 invoked by uid 99); 22 Feb 2010 14:24:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Feb 2010 14:24:50 +0000 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT 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, 22 Feb 2010 14:24:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5F70F234C4AC for ; Mon, 22 Feb 2010 06:24:28 -0800 (PST) Message-ID: <1477210626.432021266848668389.JavaMail.jira@brutus.apache.org> Date: Mon, 22 Feb 2010 14:24:28 +0000 (UTC) From: "Filipe Manana (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Updated: (COUCHDB-663) _purge URI returns DB update seq instead of purge seq In-Reply-To: <1086534127.432001266848668374.JavaMail.jira@brutus.apache.org> 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-663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filipe Manana updated COUCHDB-663: ---------------------------------- Attachment: couchdb-663-trunk.patch > _purge URI returns DB update seq instead of purge seq > ----------------------------------------------------- > > Key: COUCHDB-663 > URL: https://issues.apache.org/jira/browse/COUCHDB-663 > Project: CouchDB > Issue Type: Bug > Components: Database Core > Environment: trunk / 0.11 > Reporter: Filipe Manana > Fix For: 0.11 > > Attachments: couchdb-663-trunk.patch > > > From the email sent by Markus Jelsma, on the 22 February 2010, to the users list: > " > purge_seq gets incremented for each _purge request. But there is a small > issue: > # curl -X GET http://localhost:5984/idm/ > {"db_name":"idm","doc_count":7,"doc_del_count":0,"update_seq":27,"purge_seq":12,"compact_running":false,"disk_size":110680,"instance_start_time":"1266831271770843","disk_format_version":4} > # curl -X POST http://localhost:5984/idm/_purge -d '{}' > {"purge_seq":28,"purged":{}} > # curl -X GET http://localhost:5984/idm/ > {"db_name":"idm","doc_count":7,"doc_del_count":0,"update_seq":28,"purge_seq":13,"compact_running":false,"disk_size":114776,"instance_start_time":"1266831271770843","disk_format_version":4} > # curl -X POST http://localhost:5984/idm/_purge -d '{}' > {"purge_seq":29,"purged":{}} > Check it out! Purging returns update_seq instead. > " -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.