Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 44560 invoked from network); 17 May 2010 23:59:23 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 May 2010 23:59:23 -0000 Received: (qmail 36356 invoked by uid 500); 17 May 2010 23:59:21 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 36287 invoked by uid 500); 17 May 2010 23:59:21 -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 36235 invoked by uid 99); 17 May 2010 23:59:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 May 2010 23:59:21 +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; Mon, 17 May 2010 23:59:19 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4HNwvhI029771 for ; Mon, 17 May 2010 23:58:57 GMT Message-ID: <5723146.95221274140737624.JavaMail.jira@thor> Date: Mon, 17 May 2010 19:58:57 -0400 (EDT) From: "Randall Leeds (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Closed: (COUCHDB-763) duplicate and or missing revisions in changes feed In-Reply-To: <14396305.94101274138682017.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-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Randall Leeds closed COUCHDB-763. --------------------------------- Fix Version/s: 0.12 Resolution: Fixed I'm gonna mark this as closed then and hope it doesn't come up again once we've migrated. Out of curiosity, I'd love to know what commit fixed this or what the issue was. > duplicate and or missing revisions in changes feed > -------------------------------------------------- > > Key: COUCHDB-763 > URL: https://issues.apache.org/jira/browse/COUCHDB-763 > Project: CouchDB > Issue Type: Bug > Components: Database Core > Affects Versions: 0.10.1 > Reporter: Randall Leeds > Priority: Critical > Fix For: 0.12 > > > I have no idea if this is unique to 0.10.1 or if it shows up on 0.11/trunk since I have no clue how to repro. > If we can identify why this happens we should work to be very sure it's fixed. > I see something like the following in my changes feed (taken from consecutive lines of an actually changes feed): > {"seq":36527,"id":"anonymized_docid","changes":[{"rev":"2186-967dbcd9d960b77955fcf6048fb219cc"}]}, > {"seq":36530,"id":"anonymized_docid","changes":[{"rev":"2188-ae8481b29fd3a42d5190aba7c13a522b"}]}, > I was under the impression that _changes only showed the newest revision for any document. > Furthermore, the first of these two is actually missing. Querying the document with ?revs_info=true shows it as such and this is confirmed by trying to query for ?rev=2186-967dbcd9d960b77955fcf6048fb219cc > 1) Missing revisions should never show up in changes > 2) Changes shouldn't list a document twice > 3) This makes replication impossible since the reader tries to open missing revisions. > Mostly for number (3) I'm marking this as critical. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.