From dev-return-16011-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Tue May 10 10:18:43 2011 Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9A3335C28 for ; Tue, 10 May 2011 10:18:43 +0000 (UTC) Received: (qmail 66388 invoked by uid 500); 10 May 2011 10:18:43 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 66359 invoked by uid 500); 10 May 2011 10:18:43 -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 66351 invoked by uid 99); 10 May 2011 10:18:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 May 2011 10:18:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 May 2011 10:18:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3CC6DC975F for ; Tue, 10 May 2011 10:18:03 +0000 (UTC) Date: Tue, 10 May 2011 10:18:03 +0000 (UTC) From: "James Howe (JIRA)" To: dev@couchdb.apache.org Message-ID: <546974614.34364.1305022683245.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (COUCHDB-1154) Revisions returned by GET, but not include_docs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Revisions returned by GET, but not include_docs ----------------------------------------------- Key: COUCHDB-1154 URL: https://issues.apache.org/jira/browse/COUCHDB-1154 Project: CouchDB Issue Type: Bug Components: Database Core Affects Versions: 1.0.2 Reporter: James Howe We have a cluster of many couches replicating between each other, and are using a view to find conflicts for resolution. However, running the view with include_docs returns doc: null for some id/rev pairs. These revisions can be retrieved using a simple GET, and appear as expected in the open_revs list. map: function(doc) { if (doc._conflicts) { emit(doc._id, {_id: doc._id, _rev: doc._rev}); doc._conflicts.forEach(function(rev) { emit(doc._id, {_id: doc._id, _rev: rev}); }); } } -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira