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

clustered _users/_changes returns error when include_docs=true

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • HTTP Interface
    • None

    Description

      When requesting changes feed for clustered _users DB with include_docs=true, an error is returned:

      curl -X GET http://localhost:5984/_users/_changes?include_docs=true
      {"error":"error","reason":"{not_found,nil,\n [{couch_users_db,after_doc_read,2,\n [

      {file,\"src/couch_users_db.erl\"}

      ,

      {line,123}

      ]},\n {couch_db,open_doc_int,3,[

      {file,\"src/couch_db.erl\"},{line,1345}]},\n {couch_db,open_doc,3,[{file,"src/couch_db.erl"}

      ,

      {line,189}

      ]},\n {fabric_rpc,doc_member,3,[

      {file,\"src/fabric_rpc.erl\"},{line,354}]},\n {fabric_rpc,changes_enumerator,2,\n [{file,"src/fabric_rpc.erl"}

      ,

      {line,347}

      ]},\n {couch_btree,stream_kv_node2,8,\n [

      {file,\"src/couch_btree.erl\"},{line,783}]},\n {couch_btree,fold,4,[{file,"src/couch_btree.erl"}

      ,

      {line,220}

      ]},\n {couch_db,changes_since,5,\n [

      {file,\"src/couch_db.erl\"}

      ,

      {line,1244}

      ]}]}"}

      Attachments

        Activity

          People

            Unassigned Unassigned
            cjherman CJ Herman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: