Hi

I am trying to replicate a local database with a filter to select some of the documents.
It works well in my local server.

But when I try it on my DEV server, with same code.  same CouchDB v1.6.1.
The replication crashed right after its startup

Here is the crash log.
Please what's wrong with it?

Br


** changes_reader_died

[Fri, 24 Apr 2015 12:43:42 GMT] [error] [<0.18932.40>] {error_report,<0.31.0>,
                        {<0.18932.40>,crash_report,
                         [[{initial_call,
{couch_replicator,init,['Argument__1']}},
                           {pid,<0.18932.40>},
                           {registered_name,[]},
                           {error_info,
                            {exit,changes_reader_died,
                             [{gen_server,terminate,7,
[{file,"gen_server.erl"},{line,804}]},
                              {proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,237}]}]}},
                           {ancestors,
[couch_replicator_job_sup,couch_primary_services,
                             couch_server_sup,<0.32.0>]},
                           {messages,
                            [{'EXIT',<0.18942.40>,normal},
                             {'EXIT',<0.18943.40>,normal}]},
                           {links,
[<0.18948.40>,<0.18949.40>,<0.18950.40>,
<0.18944.40>,<0.18946.40>,<0.18947.40>,<0.90.0>]},
                           {dictionary,
                            [{task_status_props,
                              [{checkpoint_interval,5000},
                               {checkpointed_source_seq,0},
                               {continuous,false},
                               {doc_id,null},
                               {doc_write_failures,0},
                               {docs_read,2},
                               {docs_written,2},
                               {missing_revisions_found,2},
                               {progress,0},
                               {replication_id,
<<"ecc900b0efe9f9ee4b10efd146bed681+create_target">>},
                               {revisions_checked,2},
                               {source,<<"cms">>},
                               {source_seq,2387688},
                               {started_on,1429879422},
{target,<<"cms_bak_20150424_124342">>},
                               {type,replication},
                               {updated_on,1429879422}]},
                             {task_status_update,
                              {{1429,879422,374208},1000000}}]},
                           {trap_exit,true},
                           {status,running},
                           {heap_size,4185},
                           {stack_size,27},
                           {reductions,9791}],
                          [{neighbour,
                            [{pid,<0.18947.40>},
                             {registered_name,[]},
                             {initial_call,{erlang,apply,2}},
{current_function,{couch_db,collect_results,3}},
                             {ancestors,[]},
                             {messages,[]},
                             {links,[<0.18932.40>]},
                             {dictionary,
[{last_stats_report,{1429,879422,373526}}]},
                             {trap_exit,false},
                             {status,waiting},
                             {heap_size,2586},
                             {stack_size,38},
                             {reductions,1791}]},
                           {neighbour,
                            [{pid,<0.18946.40>},
                             {registered_name,[]},
                             {initial_call,{erlang,apply,2}},
                             {current_function,
{couch_replicator,changes_manager_loop_open,4}},
                             {ancestors,[]},
                             {messages,[]},
                             {links,[<0.18932.40>]},
                             {dictionary,[]},
                             {trap_exit,false},
                             {status,waiting},
                             {heap_size,233},
                             {stack_size,8},
                             {reductions,106}]},
                           {neighbour,
                            [{pid,<0.18944.40>},
                             {registered_name,[]},
                             {initial_call,
{couch_work_queue,init,['Argument__1']}},
                             {current_function,{gen_server,loop,6}},
                             {ancestors,
[<0.18932.40>,couch_replicator_job_sup,
couch_primary_services,couch_server_sup,
                               <0.32.0>]},
                             {messages,[]},
                             {links,[<0.18932.40>]},
                             {dictionary,[]},
                             {trap_exit,false},
                             {status,waiting},
                             {heap_size,610},
                             {stack_size,9},
                             {reductions,179}]},
                           {neighbour,
                            [{pid,<0.18950.40>},
                             {registered_name,[]},
                             {initial_call,{erlang,apply,2}},
{current_function,{couch_db,collect_results,3}},
                             {ancestors,[]},
                             {messages,[]},
                             {links,[<0.18932.40>]},
                             {dictionary,
[{last_stats_report,{1429,879422,361926}}]},
                             {trap_exit,false},
                             {status,waiting},
                             {heap_size,2586},
                             {stack_size,38},
                             {reductions,775}]},
                           {neighbour,
                            [{pid,<0.18949.40>},
                             {registered_name,[]},
                             {initial_call,{erlang,apply,2}},
{current_function,{couch_db,collect_results,3}},
                             {ancestors,[]},
                             {messages,[]},
                             {links,[<0.18932.40>]},
                             {dictionary,
[{last_stats_report,{1429,879422,361925}}]},
                             {trap_exit,false},
                             {status,waiting},
                             {heap_size,2586},
                             {stack_size,38},
                             {reductions,773}]},
                           {neighbour,
                            [{pid,<0.18948.40>},
                             {registered_name,[]},
                             {initial_call,{erlang,apply,2}},
                             {current_function,{gen,do_call,4}},
                             {ancestors,[]},
                             {messages,[]},
                             {links,[<0.18932.40>]},
                             {dictionary,
[{last_stats_report,{1429,879422,378613}}]},
                             {trap_exit,false},
                             {status,waiting},
                             {heap_size,2586},
                             {stack_size,85},
                             {reductions,1352}]}]]}}
[Fri, 24 Apr 2015 12:43:42 GMT] [error] [<0.90.0>] {error_report,<0.31.0>,
                       {<0.90.0>,supervisor_report,
[{supervisor,{local,couch_replicator_job_sup}},
                         {errorContext,child_terminated},
                         {reason,changes_reader_died},
                         {offender,
                             [{pid,<0.18932.40>},
                              {name,
"ecc900b0efe9f9ee4b10efd146bed681+create_target"},
{mfargs,{gen_server,start_link,undefined}},
                              {restart_type,temporary},
                              {shutdown,250},
                              {child_type,worker}]}]}}
[Fri, 24 Apr 2015 12:43:42 GMT] [info] [<0.8262.37>] 10.0.11.65 - - POST /_replicate 500 [Fri, 24 Apr 2015 12:43:42 GMT] [error] [<0.8262.37>] httpd 500 error response:
 {"error":"changes_reader_died"}

Reply via email to