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 24D60106CC for ; Tue, 3 Sep 2013 23:45:54 +0000 (UTC) Received: (qmail 90812 invoked by uid 500); 3 Sep 2013 23:45:52 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 90764 invoked by uid 500); 3 Sep 2013 23:45:52 -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 90625 invoked by uid 99); 3 Sep 2013 23:45:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Sep 2013 23:45:52 +0000 Date: Tue, 3 Sep 2013 23:45:52 +0000 (UTC) From: "Alexander Shorin (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (COUCHDB-1881) Replication fails if CouchDB respond with HTTP 404 on attempt to GET the doc MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Alexander Shorin created COUCHDB-1881: ----------------------------------------- Summary: Replication fails if CouchDB respond with HTTP 404 on attempt to GET the doc Key: COUCHDB-1881 URL: https://issues.apache.org/jira/browse/COUCHDB-1881 Project: CouchDB Issue Type: Bug Components: HTTP Interface, Replication Reporter: Alexander Shorin Steps to reproduce: 1. Setup public_fields feature to share field `boo` 2. Create two users `foo` and `bar` and add `boo` field to user `foo` 3. Try to replicate docs of `foo` and `bar` to some target Command: {code} curl -X POST http://localhost:5984/_replicate -H "Content-Type: application/json" -d '{"source":"_users","target":"test","doc_ids":["org.couchdb.user%3Afoo","org.couchdb.user%3Abar"]}' {code} Response: {code} {"error":"{worker_died,<0.378.0>, {{nocatch,not_found}, [{couch_users_db,after_doc_read,2, [{file,"couch_users_db.erl"},{line,107}]}, {couch_db,'-open_doc_revs_int/3-fun-0-',3, [{file,"couch_db.erl"},{line,1178}]}, {lists,map,2,[{file,"lists.erl"},{line,1224}]}, {couch_db,'-open_doc_revs_int/3-fun-1-',4, [{file,"couch_db.erl"},{line,1170}]}, {lists,zipwith,3,[{file,"lists.erl"},{line,436}]}, {couch_db,open_doc_revs,4,[{file,"couch_db.erl"},{line,186}]}, {couch_replicator_api_wrap,open_doc_revs,6, [{file,"src/couch_replicator_api_wrap.erl"},{line,185}]}, {couch_replicator_worker,fetch_doc,4, [{file,"src/couch_replicator_worker.erl"},{line,298}]}]}}"} {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira