couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Newson (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COUCHDB-1154) Revisions returned by GET, but not include_docs
Date Tue, 17 May 2011 22:12:47 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-1154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Newson updated COUCHDB-1154:
-----------------------------------

         Priority: Blocker  (was: Major)
    Fix Version/s: 1.1
                   1.0.3

Blocker for 1.0.3 and 1.1.0.

> 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
>            Priority: Blocker
>              Labels: conflict, replication, views
>             Fix For: 1.0.3, 1.1
>
>
> 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

Mime
View raw message