You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Maximillian Dornseif (JIRA)" <ji...@apache.org> on 2009/01/04 20:43:44 UTC

[jira] Created: (COUCHDB-193) Crashes related to repliction

Crashes related to repliction
-----------------------------

                 Key: COUCHDB-193
                 URL: https://issues.apache.org/jira/browse/COUCHDB-193
             Project: CouchDB
          Issue Type: Bug
          Components: Database Core
            Reporter: Maximillian Dornseif



I initiated by error a replication to the local machine in a totally stupid fashion. Basically I did something like this (using python-couchdb):

src_server = couchdb.client.Server('http://localhost:5984')
src_server.resource.post('_replicate', {'source': dbname, 'target': 'http://localhost:5984/%s' % dbname})

This resulted in the following strange log entries. The strange thing is, it pushed the server in a "strange" state, where I even wasn't able to create new databases.

2009-01-04 20:14:38.221693500 [info] [<0.22446.191>] 172.28.4.107 - - 'PUT' /hulog_events_test/_local%2Fbalancer:hulog_events_test:http:%2F%2Fcouchdb.local.xxx:5984%2Fhulog_events_test 412
2009-01-04 20:14:38.221698500 [info] [<0.20194.191>] 172.30.20.74 - - 'POST' /_replicate 200
2009-01-04 20:15:47.905980500 [info] [<0.22451.191>] 127.0.0.1 - - 'GET' /hulog_events/ 200
2009-01-04 20:20:54.741438500 [info] [<0.22654.191>] 127.0.0.1 - - 'GET' /hulog_events/ 200
2009-01-04 20:25:47.221129500 [info] [<0.22655.191>] 127.0.0.1 - - 'GET' /hulog_events/ 200
2009-01-04 20:28:03.452784500 [info] [<0.22656.191>] 172.30.20.74 - - 'GET' /_utils/browse/_create_database.html 200
2009-01-04 20:28:18.445906500 [error] [<0.22656.191>] {error_report,<0.22.0>,
2009-01-04 20:28:18.445910500     {<0.22656.191>,crash_report,
2009-01-04 20:28:18.445913500      [[{pid,<0.22656.191>},
2009-01-04 20:28:18.445915500        {registered_name,[]},
2009-01-04 20:28:18.445917500        {error_info,
2009-01-04 20:28:18.445919500            {exit,
2009-01-04 20:28:18.445921500                {timeout,
2009-01-04 20:28:18.445923500                    {gen_server,call,
2009-01-04 20:28:18.445925500                        [couch_server,
2009-01-04 20:28:18.445928500                         {create,<<"mypl_audit_replication">>,
2009-01-04 20:28:18.445957500                             [{user_ctx,{user_ctx,null,[<<"_admin">>]}}]}]}},
2009-01-04 20:28:18.445960500                [{gen_server,call,2},
2009-01-04 20:28:18.445962500                 {couch_server,create,2},
2009-01-04 20:28:18.445965500                 {couch_httpd_db,create_db_req,2},
2009-01-04 20:28:18.445967500                 {couch_httpd,handle_request,3},
2009-01-04 20:28:18.445969500                 {mochiweb_http,headers,4},
2009-01-04 20:28:18.445976500                 {proc_lib,init_p_do_apply,3}]}},
2009-01-04 20:28:18.445978500        {initial_call,{mochiweb_socket_server,acceptor_loop,['Argument__1']}},
2009-01-04 20:28:18.445981500        {ancestors,
2009-01-04 20:28:18.445983500            [couch_httpd,couch_secondary_services,couch_server_sup,<0.1.0>]},
2009-01-04 20:28:18.445985500        {messages,[]},
2009-01-04 20:28:18.445988500        {links,[#Port<0.1869511>,<0.56.0>]},
2009-01-04 20:28:18.445994500        {dictionary,[]},
2009-01-04 20:28:18.445996500        {trap_exit,false},
2009-01-04 20:28:18.445998500        {status,running},
2009-01-04 20:28:18.446000500        {heap_size,4181},
2009-01-04 20:28:18.446002500        {stack_size,23},
2009-01-04 20:28:18.446014500        {reductions,5599}],
2009-01-04 20:28:18.446016500       []]}}
2009-01-04 20:28:19.096792500 [error] [<0.56.0>] {error_report,<0.22.0>,
2009-01-04 20:28:19.096796500     {<0.56.0>,std_error,
2009-01-04 20:28:19.096798500      {mochiweb_socket_server,235,
2009-01-04 20:28:19.096800500          {child_error,
2009-01-04 20:28:19.096802500              {timeout,
2009-01-04 20:28:19.096804500                  {gen_server,call,
2009-01-04 20:28:19.096807500                      [couch_server,
2009-01-04 20:28:19.096809500                       {create,<<"mypl_audit_replication">>,
2009-01-04 20:28:19.096811500                           [{user_ctx,{user_ctx,null,[<<"_admin">>]}}]}]}}}}}}
2009-01-04 20:28:19.190123500 
2009-01-04 20:28:19.190127500 =ERROR REPORT==== 4-Jan-2009::20:28:19 ===
2009-01-04 20:28:19.190130500 {mochiweb_socket_server,235,
2009-01-04 20:28:19.190132500     {child_error,
2009-01-04 20:28:19.190134500         {timeout,
2009-01-04 20:28:19.190136500             {gen_server,call,
2009-01-04 20:28:19.190138500                 [couch_server,
2009-01-04 20:28:19.190140500                  {create,<<"mypl_audit_replication">>,
2009-01-04 20:28:19.190143500                      [{user_ctx,{user_ctx,null,[<<"_admin">>]}}]}]}}}}
2009-01-04 20:28:19.369207500 [info] [<0.22657.191>] 172.30.20.74 - - 'PUT' /mypl_audit_replication/ 409
2009-01-04 20:30:47.447703500 [info] [<0.22662.191>] 127.0.0.1 - - 'GET' /hulog_events/ 200
2009-01-04 20:35:59.219916500 [info] [<0.22663.191>] 127.0.0.1 - - 'GET' /hulog_events/ 200



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