couchdb-replication mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From max <maxima...@gmail.com>
Subject CouchDB 1.4.0, failed to restart when max_replication_retry_count = “infinity”
Date Wed, 27 Aug 2014 10:11:38 GMT
Hello,

I am currently using CouchDB 1.4.0 on two server (ubuntu 12.04) with
Master-To-Master replication and same configuration&admin.
I installed CouchDB from a tar.gz and followed the installation
instructions.
In case one of my server crash I set max_replication_retry_count =
“infinity” in /usr/local/etc/couchdb/local.ini
Requested user is set to true, HTTPS/SSL is used for the replication

It worked fine during months but after a server has restarted I got an
error message when my CouchDB service tried to start (see below).

The only solution I've found to restart my service is to
comment max_replication_retry_count = “infinity”.

I have looking for such an error into archive and Jira bug tracker but I
have not found anything.
Do you have any solution or advice about that?

Thank you.

MLM




Apache CouchDB 1.4.0 (LogLevel=info) is starting.
[error] [<0.114.0>] {error_report,<0.31.0>,
                     {<0.114.0>,crash_report,
                      [[{initial_call,
                         {couch_replicator_manager,init,['Argument__1']}},
                        {pid,<0.114.0>},
                        {registered_name,[]},
                        {error_info,
                         {exit,
                          {badarg,
                           [{erlang,list_to_integer,
                             [[226,128,156,105,110,102,105,110,105,116,121,
                               226,128,157]]},
                            {couch_replicator_manager,retries_value,1},
                            {couch_replicator_manager,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_secondary_services,couch_server_sup,<0.32.0>]},
                        {messages,[]},
                        {links,[<0.121.0>,<0.122.0>,<0.95.0>]},
                        {dictionary,[]},
                        {trap_exit,true},
                        {status,running},
                        {heap_size,377},
                        {stack_size,24},
                        {reductions,418}],
                       [{neighbour,
                         [{pid,<0.122.0>},
                          {registered_name,[]},
                          {initial_call,
                           {couch_event_sup,init,['Argument__1']}},
                          {current_function,{gen_server,loop,6}},
                          {ancestors,

 [couch_replicator_manager,couch_secondary_services,
                            couch_server_sup,<0.32.0>]},
                          {messages,[]},
                          {links,[<0.114.0>,<0.90.0>]},
                          {dictionary,[]},
                          {trap_exit,false},
                          {status,waiting},
                          {heap_size,233},
                          {stack_size,9},
                          {reductions,32}]},
                        {neighbour,
                         [{pid,<0.121.0>},
                          {registered_name,[]},
                          {initial_call,{erlang,apply,2}},
                          {current_function,{gen,do_call,4}},
                          {ancestors,[]},
                          {messages,
                           [{#Ref<0.0.0.170>,
                             {ok,
                              {db,<0.117.0>,<0.118.0>,nil,
                               <<"1409133176633762">>,<0.119.0>,<0.116.0>,
                               <0.120.0>,
                               {db_header,6,16,0,
                                {20861,{2,1,2162},535},
                                {21396,3,179},
                                nil,0,nil,nil,1000},
                               16,
                               {btree,<0.116.0>,
                                {20861,{2,1,2162},535},
                                #Fun<couch_db_updater.10.55895019>,
                                #Fun<couch_db_updater.11.100913286>,
                                #Fun<couch_btree.5.25288484>,
                                #Fun<couch_db_updater.12.39068440>,snappy},
                               {btree,<0.116.0>,
                                {21396,3,179},
                                #Fun<couch_db_updater.13.114276184>,
                                #Fun<couch_db_updater.14.2340873>,
                                #Fun<couch_btree.5.25288484>,
                                #Fun<couch_db_updater.15.23651859>,snappy},
                               {btree,<0.116.0>,nil,
                                #Fun<couch_btree.3.20686015>,
                                #Fun<couch_btree.4.73514747>,
                                #Fun<couch_btree.5.25288484>,nil,snappy},
                               16,<<"_replicator">>,

 "/usr/local/var/lib/couchdb/_replicator.couch",
                               [#Fun<couch_doc.8.106888048>],
                               [],nil,
                               {user_ctx,null,[],undefined},
                               nil,1000,
                               [before_header,after_header,on_file_open],
                               [{before_doc_update,

 #Fun<couch_replicator_manager.before_doc_update.2>},
                                {after_doc_read,

 #Fun<couch_replicator_manager.after_doc_read.2>},
                                sys_db,sys_db,
                                {user_ctx,
                                 {user_ctx,null,
                                  [<<"_admin">>,<<"_replicator">>],
                                  undefined}},
                                nologifmissing],
                               snappy,

 #Fun<couch_replicator_manager.before_doc_update.2>,

 #Fun<couch_replicator_manager.after_doc_read.2>}}}]},
                          {links,[<0.114.0>]},
                          {dictionary,[]},
                          {trap_exit,false},
                          {status,runnable},
                          {heap_size,610},
                          {stack_size,17},
                          {reductions,17}]}]]}}
{"init terminating in
do_boot",{{badmatch,{error,{bad_return,{{couch_app,start,[normal,["/usr/local/etc/couchdb/default.ini","/usr/local/etc/couchdb/local.ini"]]},{'EXIT',{{badmatch,{error,shutdown}},[{couch_server_sup,start_server,1},{application_master,start_it_old,4}]}}}}}},[{couch,start,0},{init,start_it,1},{init,start_em,1}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message