Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1154

Revisions returned by GET, but not include_docs

Details

    • Dont Know

    Description

      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});
      });
      }
      }

      Attachments

        Issue Links

          Activity

            People

              rnewson Robert Newson
              jameshowe James Howe
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Slack

                  Issue deployment