Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 8365 invoked from network); 8 Apr 2010 11:47:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Apr 2010 11:47:58 -0000 Received: (qmail 59115 invoked by uid 500); 8 Apr 2010 11:47:56 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 59048 invoked by uid 500); 8 Apr 2010 11:47:56 -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 58736 invoked by uid 99); 8 Apr 2010 11:47:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Apr 2010 11:47:55 +0000 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=AWL,FS_REPLICA,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [91.215.170.38] (HELO piter38.dns-rus.net) (91.215.170.38) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Apr 2010 11:47:48 +0000 Received: from [217.21.44.4] (helo=[192.168.4.63]) by piter38.dns-rus.net with esmtpa (Exim 4.69) (envelope-from ) id 1NzqCh-00078F-PY for user@couchdb.apache.org; Thu, 08 Apr 2010 15:47:26 +0400 Message-ID: <4BBDC2CC.3050508@creatinizm.com> Date: Thu, 08 Apr 2010 14:49:32 +0300 From: Yauhen Zenko User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: user@couchdb.apache.org Subject: Couchdb replication error (from Windows to Linux - couchdb ver. 0.11.0) Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - piter38.dns-rus.net X-AntiAbuse: Original Domain - couchdb.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - creatinizm.com I have two couchdb servers: the first is on Windows, the second is on Linux. Version 0.11.0 install on both computers. I have the database on Windows server (database size is 12.6MB) and try to replicate it to couchdb installed on Linux. Replication fails with following error, but in target database on Linux I see two records from the source database: [Thu, 08 Apr 2010 11:10:24 GMT] [info] [<0.2419.0>] starting new replication "91b53baa2964c7ca334c8e690dfb4e50" at <0.2484.0> [Thu, 08 Apr 2010 11:10:29 GMT] [info] [<0.2484.0>] recording a checkpoint for test -> http://clabs.eu:5984/topby/ at source update_seq 2 [Thu, 08 Apr 2010 11:24:28 GMT] [error] [<0.2494.0>] couch_rep_httpc request failed after 10 retries: http://clabs.eu:5984/topby/ [Thu, 08 Apr 2010 11:24:28 GMT] [error] [<0.2484.0>] ** Generic server <0.2484.0> terminating ** Last message in was {'EXIT',<0.2494.0>, {http_request_failed, <<"failed to replicate http://clabs.eu:5984/topby/">>}} ** When Server state == {state,<0.2488.0>,<0.2490.0>,<0.2492.0>,<0.2494.0>, {db,<0.676.0>,<0.677.0>,nil, <<"1270723342563000">>,<0.674.0>,<0.678.0>, {db_header,4,79,0, {13206788,{59,0}}, {13207707,59}, {13239894,[]}, 0,nil,nil,1000}, 79, {btree,<0.674.0>, {13206788,{59,0}}, #Fun, #Fun, #Fun, #Fun}, {btree,<0.674.0>, {13207707,59}, #Fun, #Fun, #Fun, #Fun}, {btree,<0.674.0>, {13239894,[]}, #Fun, #Fun, #Fun,nil}, 79,<<"test">>,"../var/lib/couchdb/test.couch", [],[],nil, {user_ctx,null, [<<"_admin">>], <<"{couch_httpd_auth, default_authentication_handler}">>}, nil,1000, [before_header,after_header,on_file_open]}, {http_db,"http://clabs.eu:5984/topby/",[],[], [{"User-Agent","CouchDB/0.11.0"}, {"Accept","application/json"}, {"Accept-Encoding","gzip"}], [],get,nil, [{response_format,binary}, {inactivity_timeout,30000}], 10,500,nil}, false,false, ["91b53baa2964c7ca334c8e690dfb4e50", {[{<<"source">>,<<"test">>}, {<<"target">>, <<"http://clabs.eu:5984/topby">>}]}, {user_ctx,null, [<<"_admin">>], <<"{couch_httpd_auth, default_authentication_handler}">>}], nil,0,[], {doc, <<"_local/91b53baa2964c7ca334c8e690dfb4e50">>, {0,[<<"1">>]}, {[]}, [],false,[]}, {doc, <<"_local/91b53baa2964c7ca334c8e690dfb4e50">>, {0,[<<"1">>]}, {[]}, [],false,[]}, "Thu, 08 Apr 2010 11:10:24 GMT", <<"1270723342563000">>,<<"1270725016601287">>, {[{<<"session_id">>, <<"64b6dc0a8bbee8b125cf61150b7b234c">>}, {<<"source_last_seq">>,2}, {<<"history">>, [{[{<<"session_id">>, <<"64b6dc0a8bbee8b125cf61150b7b234c">>}, {<<"start_time">>, <<"Thu, 08 Apr 2010 11:10:24 GMT">>}, {<<"end_time">>, <<"Thu, 08 Apr 2010 11:10:29 GMT">>}, {<<"start_last_seq">>,0}, {<<"end_last_seq">>,2}, {<<"recorded_seq">>,2}, {<<"missing_checked">>,0}, {<<"missing_found">>,59}, {<<"docs_read">>,59}, {<<"docs_written">>,2}, {<<"doc_write_failures">>,0}]}]}]}, [{<0.2419.0>,#Ref<0.0.0.12568>}], false,2,114735,nil} ** Reason for termination == ** {http_request_failed,<<"failed to replicate http://clabs.eu:5984/topby/">>} [Thu, 08 Apr 2010 11:24:28 GMT] [error] [<0.2484.0>] {error_report,<0.33.0>, {<0.2484.0>,crash_report, [[{initial_call,{couch_rep,init,['Argument__1']}}, {pid,<0.2484.0>}, {registered_name,[]}, {error_info, {exit, {http_request_failed, <<"failed to replicate http://clabs.eu:5984/topby/">>}, [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}}, {ancestors, [couch_rep_sup,couch_primary_services,couch_server_sup,<0.34.0>]}, {messages,[]}, {links,[<0.2492.0>,<0.83.0>]}, {dictionary,[{task_status_update,{{1270,725024,844000},0}}]}, {trap_exit,true}, {status,running}, {heap_size,1597}, {stack_size,24}, {reductions,5476}], []]}} [Thu, 08 Apr 2010 11:24:28 GMT] [error] [<0.2492.0>] ** Generic server <0.2492.0> terminating ** Last message in was {'EXIT',<0.2484.0>, {http_request_failed, <<"failed to replicate http://clabs.eu:5984/topby/">>}} ** When Server state == {state,<0.2484.0>, {db,<0.676.0>,<0.677.0>,nil, <<"1270723342563000">>,<0.674.0>,<0.678.0>, {db_header,4,79,0, {13206788,{59,0}}, {13207707,59}, {13239894,[]}, 0,nil,nil,1000}, 79, {btree,<0.674.0>, {13206788,{59,0}}, #Fun, #Fun, #Fun, #Fun}, {btree,<0.674.0>, {13207707,59}, #Fun, #Fun, #Fun, #Fun}, {btree,<0.674.0>, {13239894,[]}, #Fun, #Fun, #Fun,nil}, 79,<<"test">>,"../var/lib/couchdb/test.couch", [],[],nil, {user_ctx,null, [<<"_admin">>], <<"{couch_httpd_auth, default_authentication_handler}">>}, nil,1000, [before_header,after_header,on_file_open]}, <0.2490.0>,<0.2493.0>,[],0, {[],[]}, nil,true,0,nil,[],"O"} ** Reason for termination == ** {http_request_failed,<<"failed to replicate http://clabs.eu:5984/topby/">>} [Thu, 08 Apr 2010 11:24:28 GMT] [error] [<0.2492.0>] {error_report,<0.33.0>, {<0.2492.0>,crash_report, [[{initial_call,{couch_rep_reader,init,['Argument__1']}}, {pid,<0.2492.0>}, {registered_name,[]}, {error_info, {exit, {http_request_failed, <<"failed to replicate http://clabs.eu:5984/topby/">>}, [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}}, {ancestors, [<0.2484.0>,couch_rep_sup,couch_primary_services,couch_server_sup, <0.34.0>]}, {messages,[]}, {links,[]}, {dictionary,[]}, {trap_exit,true}, {status,running}, {heap_size,46368}, {stack_size,24}, {reductions,8814}], []]}} [Thu, 08 Apr 2010 11:24:28 GMT] [error] [<0.83.0>] {error_report,<0.33.0>, {<0.83.0>,supervisor_report, [{supervisor,{local,couch_rep_sup}}, {errorContext,child_terminated}, {reason, {http_request_failed, <<"failed to replicate http://clabs.eu:5984/topby/">>}}, {offender, [{pid,<0.2484.0>}, {name,"91b53baa2964c7ca334c8e690dfb4e50"}, {mfa, {gen_server,start_link, [couch_rep, ["91b53baa2964c7ca334c8e690dfb4e50", {[{<<"source">>,<<"test">>}, {<<"target">>,<<"http://clabs.eu:5984/topby">>}]}, {user_ctx,null, [<<"_admin">>], <<"{couch_httpd_auth, default_authentication_handler}">>}], []]}}, {restart_type,temporary}, {shutdown,1}, {child_type,worker}]}]}} [Thu, 08 Apr 2010 11:24:28 GMT] [info] [<0.2419.0>] 192.168.4.60 - - 'POST' /_replicate 500 Any ideas? Thank you! Regards, Yauhen Zenko.