[
https://issues.apache.org/jira/browse/COUCHDB-506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757822#action_12757822
]
Benoit Chesneau commented on COUCHDB-506:
-----------------------------------------
I've an error too when I delete a database on source :
** Last message in was {tcp,#Port<0.3307>,
<<"HTTP/1.1 500 Internal Server Error\r\nServer:
CouchDB/0.10.0a (Erlang OTP/R12B)\r\nDate: Mon, 21 Sep 2009 05:00:14
GMT\r\nContent-Type: application/json\r\nContent-Length: 55\r\nCache-Control:
must-revalidate\r\n\r\n">>}
** When Server state == {state,"192.168.1.4",5984,false,undefined,
[{ssl_imp,new}],
false,#Port<0.3307>,
{[{request,
{url,
"http://192.168.1.4:5984/test_db379/_changes?style=all_docs&heartbeat=true&since=0&feed=continuous",
"192.168.1.4",5984,undefined,undefined,
"/test_db379/_changes?style=all_docs&heartbeat=true&since=0&feed=continuous",
http},
get,
[{stream_to,{<0.6128.0>,once}},
{response_format,binary}],
{<0.6128.0>,#Ref<0.0.0.19258>},
<0.6128.0>,true,
{1253,464652,783192},
1048576,false,undefined,undefined,binary}],
[]},
{request,
{url,
"http://192.168.1.4:5984/test_db379/_changes?style=all_docs&heartbeat=true&since=0&feed=continuous",
"192.168.1.4",5984,undefined,undefined,
"/test_db379/_changes?style=all_docs&heartbeat=true&since=0&feed=continuous",
http},
get,
[{stream_to,{<0.6128.0>,once}},
{response_format,binary}],
{<0.6128.0>,#Ref<0.0.0.19258>},
<0.6128.0>,true,
{1253,464652,783192},
1048576,false,undefined,undefined,binary},
get_body,"200",<<>>,0,955,
[{"Transfer-Encoding","chunked"},
{"Server","CouchDB/0.10.0a (Erlang OTP/R12B)"},
{"Date","Sun, 20 Sep 2009 16:37:32 GMT"},
{"Content-Type","application/json"},
{"Cache-Control","must-revalidate"}],
false,undefined,undefined,true,chunked,
chunk_start,<<>>,0,undefined,1,undefined}
** Reason for termination ==
** {function_clause,[{ibrowse_http_client,to_ascii,"r"},
{ibrowse_http_client,hexlist_to_integer,3},
{ibrowse_http_client,parse_11_response,2},
{ibrowse_http_client,handle_sock_data,2},
{gen_server,handle_msg,5},
{proc_lib,init_p_do_apply,3}]}
[error] [<0.6129.0>] {error_report,<0.21.0>,
{<0.6129.0>,crash_report,
[[{pid,<0.6129.0>},
{registered_name,[]},
{error_info,
{exit,
{function_clause,
[{ibrowse_http_client,to_ascii,"r"},
{ibrowse_http_client,hexlist_to_integer,3},
{ibrowse_http_client,parse_11_response,2},
{ibrowse_http_client,handle_sock_data,2},
{gen_server,handle_msg,5},
{proc_lib,init_p_do_apply,3}]},
[{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
{initial_call,{ibrowse_http_client,init,['Argument__1']}},
{ancestors,
[<0.6128.0>,<0.6121.0>,couch_rep_sup,couch_primary_services,
couch_server_sup,<0.1.0>]},
{messages,[]},
{links,[<0.6128.0>]},
{dictionary,
[{my_trace_flag,false},
{ibrowse_trace_token,["192.168.1.4",58,"5984"]},
{http_prot_vsn,"HTTP/1.1"},
{conn_close,"false"}]},
{trap_exit,false},
{status,running},
{heap_size,2584},
{stack_size,23},
{reductions,62703}],
[]]}}
> error when source is down with continuous replication
> -----------------------------------------------------
>
> Key: COUCHDB-506
> URL: https://issues.apache.org/jira/browse/COUCHDB-506
> Project: CouchDB
> Issue Type: Bug
> Affects Versions: 0.10
> Reporter: Benoit Chesneau
>
> When source of continuous replication hangs or is down I get this error in
> lofs :
> [error] [<0.46.0>] {error_report,<0.21.0>,
> {<0.46.0>,supervisor_report,
> [{supervisor,{local,couch_rep_sup}},
> {errorContext,shutdown_error},
> {reason,{error,connection_closed}},
> {offender,
> [{pid,<0.100.0>},
> {name,"1b64e359f0f62e0921c6569e13907689+continuous"},
> {mfa,
> {gen_server,start_link,
> [couch_rep,
> ["1b64e359f0f62e0921c6569e13907689",
> {[{<<"source">>,<<"http://192.168.1.3:5984/db0">>},
> {<<"continuous">>,true},
> {<<"target">>,<<"db0">>}]},
> {user_ctx,null,[<<"_admin">>]}],
> []]}},
> {restart_type,transient},
> {shutdown,1},
> {child_type,worker}]}]}}
> Seem like couchdb continue to work but imo this should be an expected error.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.