CouchDB
  1. CouchDB
  2. COUCHDB-1154

Revisions returned by GET, but not include_docs

    Details

    • Skill Level:
      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});
      });
      }
      }

        Issue Links

          Activity

          James Howe created issue -
          James Howe made changes -
          Field Original Value New Value
          Link This issue is related to COUCHDB-1045 [ COUCHDB-1045 ]
          Hide
          James Howe added a comment - - edited

          COUCHDB-1045 - Same symptoms of an underlying cause?

          Show
          James Howe added a comment - - edited COUCHDB-1045 - Same symptoms of an underlying cause?
          Robert Newson made changes -
          Link This issue relates to COUCHDB-1163 [ COUCHDB-1163 ]
          Hide
          Robert Newson added a comment -

          Blocker for 1.0.3 and 1.1.0.

          Show
          Robert Newson added a comment - Blocker for 1.0.3 and 1.1.0.
          Robert Newson made changes -
          Fix Version/s 1.0.3 [ 12316107 ]
          Fix Version/s 1.1 [ 12314933 ]
          Priority Major [ 3 ] Blocker [ 1 ]
          Robert Newson made changes -
          Assignee Robert Newson [ rnewson ]
          Hide
          Robert Newson added a comment -

          Fixed by COUCHDB-1163.

          Show
          Robert Newson added a comment - Fixed by COUCHDB-1163 .
          Robert Newson made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Robert Newson made changes -
          Fix Version/s 1.2 [ 12315198 ]

            People

            • Assignee:
              Robert Newson
              Reporter:
              James Howe
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development