couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antony Blakey (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-365) Replication hangs and won't restart
Date Thu, 28 May 2009 22:25:45 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12714200#action_12714200
] 

Antony Blakey commented on COUCHDB-365:
---------------------------------------

And after a few of those, I get this error after a restart, which cannot be proceeded beyond
without further restarts of couchdb. It seems random whether it will continue on to the previous
error, or immediately crapout with this one.

[debug] [<0.125.0>] 'POST' /_replicate {1,1}
Headers: [{'Accept',"*/*"},
          {'Content-Length',"102"},
          {'Content-Type',"application/x-www-form-urlencoded"},
          {'Host',"localhost:5984"},
          {'User-Agent',"curl/7.18.0 (i486-pc-linux-gnu) libcurl/7.18.0 OpenSSL/0.9.8g zlib/1.2.3.3
libidn/1.1"}]
[debug] [<0.137.0>] couch_rep HTTP get request: http://localhost:5985/acumen-curricula/
[error] [<0.137.0>] {error_report,<0.24.0>,
    {<0.137.0>,crash_report,
     [[{initial_call,{couch_rep,init,['Argument__1']}},
       {pid,<0.137.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {badarg,
                   [{erlang,list_to_existing_atom,["db_name"]},
                    {couch_rep,'-get_db_info/1-lc$^0/1-0-',1},
                    {couch_rep,get_db_info,1},
                    {couch_rep,init,1},
                    {gen_server,init_it,6},
                    {proc_lib,init_p_do_apply,3}]},
               [{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [couch_rep_sup,couch_primary_services,couch_server_sup,<0.1.0>]},
       {messages,[]},
       {links,[<0.42.0>]},
       {dictionary,[]},
       {trap_exit,true},
       {status,running},
       {heap_size,987},
       {stack_size,24},
       {reductions,679}],
      []]}}
[error] [<0.125.0>] Uncaught error in HTTP request: {error,
                                 {case_clause,
                                  {error,
                                   {{badarg,
                                     [{erlang,list_to_existing_atom,
                                       ["db_name"]},
                                      {couch_rep,'-get_db_info/1-lc$^0/1-0-',
                                       1},
                                      {couch_rep,get_db_info,1},
                                      {couch_rep,init,1},
                                      {gen_server,init_it,6},
                                      {proc_lib,init_p_do_apply,3}]},
                                    {child,undefined,
                                     "1f78d088910dc73016c0b16b2fb84aac",
                                     {gen_server,start_link,
                                      [couch_rep,
                                       ["1f78d088910dc73016c0b16b2fb84aac",
                                        {remote,
                                         <<"http://localhost:5985/acumen-curricula/">>,
                                         []},
                                        {remote,
                                         <<"http://localhost:5984/acumen-curricula/">>,
                                         []}],
                                       []]},
                                     transient,1,worker,
                                     [couch_rep]}}}}}
[info] [<0.125.0>] Stacktrace: [{couch_rep,replicate,2},
             {couch_httpd_misc_handlers,handle_replicate_req,1},
             {couch_httpd,handle_request,5},
             {mochiweb_http,headers,5},
             {proc_lib,init_p_do_apply,3}]
[debug] [<0.125.0>] httpd 500 error response:
 {"error":"case_clause","reason":"{error,{{badarg,[{erlang,list_to_existing_atom,[\"db_name\"]},\n
                {couch_rep,'-get_db_info/1-lc$^0/1-0-',1},\n                 {couch_rep,get_db_info,1},\n
                {couch_rep,init,1},\n                 {gen_server,init_it,6},\n          
      {proc_lib,init_p_do_apply,3}]},\n        {child,undefined,\"1f78d088910dc73016c0b16b2fb84aac\",\n
              {gen_server,start_link,\n                           [couch_rep,\n          
                 [\"1f78d088910dc73016c0b16b2fb84aac\",\n                             {remote,<<\"http://localhost:5985/acumen-curricula/\">>,\n
                                    []},\n                             {remote,<<\"http://localhost:5984/acumen-curricula/\">>,\n
                                    []}],\n                            []]},\n           
   transient,1,worker,\n               [couch_rep]}}}"}

[info] [<0.125.0>] 127.0.0.1 - - 'POST' /_replicate 500


> Replication hangs and won't restart
> -----------------------------------
>
>                 Key: COUCHDB-365
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-365
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 0.9.1
>         Environment: Replicate to Ubuntu from OSX, both running R13B
>            Reporter: Antony Blakey
>
> Partway through a replication I get this:
>   {"error":"json_encode","reason":"{bad_term,{couch_rep,'-memory_footprint/1-fun-0-',2}}"}
> as the response from the replication request. Attempting to restart replication results
in:
>   [info] [<0.5511.0>] replication "1f78d088910dc73016c0b16b2fb84aac" already running
at <0.4203.0>
> but the replication has hung.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message