Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E1FF0200BF5 for ; Sat, 7 Jan 2017 19:27:55 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D5A18160B3C; Sat, 7 Jan 2017 18:27:55 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F21EC160B27 for ; Sat, 7 Jan 2017 19:27:54 +0100 (CET) Received: (qmail 2720 invoked by uid 500); 7 Jan 2017 18:27:53 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 2709 invoked by uid 99); 7 Jan 2017 18:27:53 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Jan 2017 18:27:53 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 3A01F1A0445 for ; Sat, 7 Jan 2017 18:27:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.551 X-Spam-Level: ** X-Spam-Status: No, score=2.551 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1, KAM_LOTSOFHASH=0.25, RCVD_IN_DNSWL_LOW=-0.7, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id La0tWNC7pXwg for ; Sat, 7 Jan 2017 18:27:50 +0000 (UTC) Received: from monoceres.uberspace.de (monoceres.uberspace.de [95.143.172.184]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 9F0E45F367 for ; Sat, 7 Jan 2017 18:27:49 +0000 (UTC) Received: (qmail 696 invoked from network); 7 Jan 2017 18:27:48 -0000 Received: from localhost (HELO ?10.0.0.14?) (127.0.0.1) by monoceres.uberspace.de with SMTP; 7 Jan 2017 18:27:48 -0000 From: Jan Lehnardt Content-Type: multipart/alternative; boundary="Apple-Mail=_AB60E0B3-4C21-4154-9356-48F47D313F73" Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Re: Error in Syncing from CouchDB1.6 to CouchDB2.0 Date: Sat, 7 Jan 2017 19:27:44 +0100 References: To: user@couchdb.apache.org In-Reply-To: Message-Id: <8CA6E07B-3236-4DB2-AC56-CB1CF06CF44D@apache.org> X-Mailer: Apple Mail (2.3259) archived-at: Sat, 07 Jan 2017 18:27:56 -0000 --Apple-Mail=_AB60E0B3-4C21-4154-9356-48F47D313F73 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi Vishesh, this looks not right. Can you by chance share the affected database? It = looks like it has to do with attachments. Can you share some = informations about the type of docs and attachments you have? Best Jan -- > On 1 Jan 2017, at 14:36, Vishesh Mittal wrote: >=20 > I am syncing all my databases from CouchDB 1.6 server to a CouchDB 2.0 = server. >=20 > Most of the databases sync correctly. However, some of them are not = syncing. The log file shows the following error. Any clue? >=20 > Thank you so much >=20 >=20 >=20 > [error] 2017-01-01T13:27:46.123435Z couchdb@localhost emulator = -------- Error in process <0.24284.71> on node couchdb@localhost with = exit value: > = {{nocatch,{mp_parser_died,noproc}},[{couch_att,'-foldl/4-fun-0-',3,[{file,= "src/couch_att.erl"},{line,591}]},{couch_att,fold_streamed_data,4,[{file,"= src/couch_att.erl"},{line,642}]},{couch_att,foldl,4,[{file,"src/couch_att.= erl"},{line,595}]},{couch_httpd_multipart,atts_to_mp,4,[{file,"src/couch_h= ttpd_multipart.erl"},{line,208}]}]} >=20 > [error] 2017-01-01T13:27:46.126624Z couchdb@localhost <0.22292.71> = -------- Replicator, request PUT to = "https://dbuser:*****@domainname.com/sampledb/332743f619a73eac3aa6b0137e13= 1a42?new_edits=3Dfalse = " failed due to error {error, > {'EXIT', > {{{nocatch,{mp_parser_died,noproc}}, > [{couch_att,'-foldl/4-fun-0-',3, > [{file,"src/couch_att.erl"},{line,591}]}, > {couch_att,fold_streamed_data,4, > [{file,"src/couch_att.erl"},{line,642}]}, > = {couch_att,foldl,4,[{file,"src/couch_att.erl"},{line,595}]}, > {couch_httpd_multipart,atts_to_mp,4, > [{file,"src/couch_httpd_multipart.erl"},{line,208}]}]}, > {gen_server,call, > [<0.21293.71>, > {send_req, > {{url, > = "https://dbuser:dbpassword@domainname.com/sampledb/332743f619a73eac3aa6b01= 37e131a42?new_edits=3Dfalse = ", > "domainname.com = ",443,"dbuser", > "dbpassword", > = "/sampledb/332743f619a73eac3aa6b0137e131a42?new_edits=3Dfalse", > https,hostname}, > [{"Accept","application/json"}, > {"Content-Length",4189603}, > {"Content-Type", > "multipart/related; = boundary=3D\"53ca4a19006ae47a8ae90ca4c20b53c3\""}, > {"User-Agent","CouchDB-Replicator/2.0.0"}], > put, > {#Fun, > = {<<"{\"_id\":\"332743f619a73eac3aa6b0137e131a42\",\"_rev\":\"3-4a83572c4e5= 010c254b8e14ed0647b7e\",\"type\":\"file\",\"folder_id\":\"b2f789dd56c44f22= 604e1fd3a7e6832f\",\"last_edited\":1433264101,\"priority\":2,\"original_fi= lename\":\"00117/5.jpg\",\"_deleted\":true,\"_revisions\":{\"start\":3,\"i= ds\":[\"4a83572c4e5010c254b8e14ed0647b7e\",\"dd0d5b019730b478ced047b875b76= d61\",\"4cdf532cd8ad2101e4dd65b68b552ae8\"]},\"_attachments\":{\"pic.jpg\"= :{\"content_type\":\"image/jpeg\",\"revpos\":2,\"digest\":\"md5-skV4l0YZjq= xi9E+8zfwOKw=3D=3D\",\"length\":4188814,\"follows\":true}}}">>, > = [{att,<<"pic.jpg">>,<<"image/jpeg">>,4188814,4188814, > = <<178,69,120,151,70,25,142,172,98,244,79,188,205,252, > 14,43>>, > 2, > = {follows,<0.21235.71>,#Ref<0.0.7340036.89524>}, > identity}], > <<"53ca4a19006ae47a8ae90ca4c20b53c3">>,4189603}}, > [{response_format,binary}, > {inactivity_timeout,30000}, > {is_ssl,true}, > = {socket_options,[{keepalive,true},{nodelay,false}]}, > {ssl_options,[{depth,3},{verify,0}]}], > infinity}}, > infinity]}}}} > [error] 2017-01-01T13:27:46.127162Z couchdb@localhost <0.19216.71> = -------- Replicator, request PUT to = "https://dbuser:*****@domainname.com/sampledb/17a11816fa87774384e690a6c1cc= 70ff?new_edits=3Dfalse = " failed due to error {error, > {'EXIT', > {{{nocatch,{mp_parser_died,noproc}}, > [{couch_att,'-foldl/4-fun-0-',3, > [{file,"src/couch_att.erl"},{line,591}]}, > {couch_att,fold_streamed_data,4, > [{file,"src/couch_att.erl"},{line,642}]}, > = {couch_att,foldl,4,[{file,"src/couch_att.erl"},{line,595}]}, > {couch_httpd_multipart,atts_to_mp,4, > [{file,"src/couch_httpd_multipart.erl"},{line,208}]}]}, > {gen_server,call, > [<0.22144.71>, > {send_req, > {{url, > = "https://dbuser:dbpassword@domainname.com/sampledb/17a11816fa87774384e690a= 6c1cc70ff?new_edits=3Dfalse = ", > "domainname.com = ",443,"dbuser", > "dbpassword", > = "/sampledb/17a11816fa87774384e690a6c1cc70ff?new_edits=3Dfalse", > https,hostname}, > [{"Accept","application/json"}, > {"Content-Length",4190105}, > {"Content-Type", > "multipart/related; = boundary=3D\"c43b2dad07b5138dc9b30ada15e9ca5e\""}, > {"User-Agent","CouchDB-Replicator/2.0.0"}], > put, > {#Fun, > = {<<"{\"_id\":\"17a11816fa87774384e690a6c1cc70ff\",\"_rev\":\"3-16c5227fc08= 878733b41d80a0080afba\",\"type\":\"file\",\"folder_id\":\"c00e9ba24734ea5b= 9298e7eb59de6d53\",\"last_edited\":1433264101,\"priority\":1,\"original_fi= lename\":\"00150/2.jpg\",\"_deleted\":true,\"_revisions\":{\"start\":3,\"i= ds\":[\"16c5227fc08878733b41d80a0080afba\",\"bc6ba1602ea0e6118fc565a384acd= 4f7\",\"ff1e6b23f9cd9072ad9e2f6bbe9b7bf5\"]},\"_attachments\":{\"pic.jpg\"= :{\"content_type\":\"image/jpeg\",\"revpos\":2,\"digest\":\"md5-sPkZwLKmcT= gYI5e0Ap01VQ=3D=3D\",\"length\":4189312,\"follows\":true}}}">>, > = [{att,<<"pic.jpg">>,<<"image/jpeg">>,4189312,4189312, > = <<176,249,25,192,178,166,113,56,24,35,151,180,2,157, > 53,85>>, > 2, > = {follows,<0.21439.71>,#Ref<0.0.7602179.21775>}, > identity}], > <<"c43b2dad07b5138dc9b30ada15e9ca5e">>,4190105}}, > [{response_format,binary}, > {inactivity_timeout,30000}, > {is_ssl,true}, > = {socket_options,[{keepalive,true},{nodelay,false}]}, > {ssl_options,[{depth,3},{verify,0}]}], > infinity}}, > infinity]}}}} >=20 --=20 Professional Support for Apache CouchDB: https://neighbourhood.ie/couchdb-support/ --Apple-Mail=_AB60E0B3-4C21-4154-9356-48F47D313F73--