All replications breaks on failed compaction (with different DBs)
-----------------------------------------------------------------
Key: COUCHDB-1050
URL: https://issues.apache.org/jira/browse/COUCHDB-1050
Project: CouchDB
Issue Type: Bug
Components: Replication
Affects Versions: 1.0.2
Environment: linux
Reporter: Alexey Loshkarev
When compaction fail due write error (error_eacces), all replications
immediatelly drops. Also at unaffected databases.
Reproducability: 100%
Steps:
Create database test1, test2, test3
Run continuous replication from test1 to test2
Create empty file test3.couch.compact from different user:
$ ls -l /var/lib/couchdb/test*
-rw-r--r-- 1 couchdb couchdb 79 Jan 31 11:56 /var/lib/couchdb/test1.couch
-rw-r--r-- 1 couchdb couchdb 79 Jan 31 11:57 /var/lib/couchdb/test2.couch
-rw-r--r-- 1 couchdb couchdb 79 Jan 31 12:21 /var/lib/couchdb/test3.couch
-rw-r--r-- 1 root root 0 Янв 31 12:21
/var/lib/couchdb/test3.couch.compact
Run compaction on test3
Check tasks - there are no replication test1->test2
Log file consists of:
[Mon, 31 Jan 2011 10:21:45 GMT] [info] [<0.5903.0>] Starting compaction for db
"test3"
[Mon, 31 Jan 2011 10:21:45 GMT] [info] [<0.5947.0>] 127.0.0.1 - - 'POST'
/test3/_compact 202
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5951.0>] {error_report,<0.31.0>,
{<0.5951.0>,crash_report,
[[{initial_call,{couch_file,init,['Argument__1']}},
{pid,<0.5951.0>},
{registered_name,[]},
{error_info,
{exit,
{{badmatch,{error,eacces}},
[{couch_file,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,[<0.5950.0>]},
{messages,[]},
{links,[#Port<0.2463>,<0.5950.0>]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,377},
{stack_size,24},
{reductions,464}],
[{neighbour,
[{pid,<0.5950.0>},
{registered_name,[]},
{initial_call,{erlang,apply,2}},
{current_function,{proc_lib,sync_wait,2}},
{ancestors,[]},
{messages,
[{ack,<0.5951.0>,
{error,
{{badmatch,{error,eacces}},
[{couch_file,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}}}]},
{links,[<0.5903.0>,<0.5951.0>]},
{dictionary,[]},
{trap_exit,false},
{status,runnable},
{heap_size,377},
{stack_size,15},
{reductions,57}]}]]}}
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5903.0>] ** Generic server
<0.5903.0> terminating
** Last message in was {'EXIT',<0.5950.0>,
{{badmatch,{error,eacces}},
[{couch_file,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}}
** When Server state == {db,<0.5902.0>,<0.5903.0>,<0.5950.0>,
<<"1296469274992022">>,<0.5900.0>,<0.5905.0>,
{db_header,5,0,0,nil,nil,nil,0,nil,nil,1000},
0,
{btree,<0.5900.0>,nil,
#Fun<couch_db_updater.7.10053969>,
#Fun<couch_db_updater.8.35220795>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.9.107593676>},
{btree,<0.5900.0>,nil,
#Fun<couch_db_updater.10.30996817>,
#Fun<couch_db_updater.11.96515267>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.12.117826253>},
{btree,<0.5900.0>,nil,
#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,nil},
0,<<"test3">>,"/var/lib/couchdb/test3.couch",[],
[],nil,
{user_ctx,null,[],undefined},
nil,1000,
[before_header,after_header,on_file_open],
false}
** Reason for termination ==
** {{badmatch,{error,eacces}},
[{couch_file,init,1},{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5903.0>] {error_report,<0.31.0>,
{<0.5903.0>,crash_report,
[[{initial_call,{couch_db_updater,init,['Argument__1']}},
{pid,<0.5903.0>},
{registered_name,[]},
{error_info,{exit,{{badmatch,{error,eacces}},
[{couch_file,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]},
[{gen_server,terminate,6},
{proc_lib,init_p_do_apply,3}]}},
{ancestors,[<0.5902.0>,<0.5899.0>]},
{messages,[]},
{links,[<0.5902.0>]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,987},
{stack_size,24},
{reductions,953}],
[]]}}
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5902.0>] ** Generic server
<0.5902.0> terminating
** Last message in was {'EXIT',<0.5903.0>,
{{badmatch,{error,eacces}},
[{couch_file,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}}
** When Server state == {db,<0.5902.0>,<0.5903.0>,<0.5950.0>,
<<"1296469274992022">>,<0.5900.0>,<0.5905.0>,
{db_header,5,0,0,nil,nil,nil,0,nil,nil,1000},
0,
{btree,<0.5900.0>,nil,
#Fun<couch_db_updater.7.10053969>,
#Fun<couch_db_updater.8.35220795>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.9.107593676>},
{btree,<0.5900.0>,nil,
#Fun<couch_db_updater.10.30996817>,
#Fun<couch_db_updater.11.96515267>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.12.117826253>},
{btree,<0.5900.0>,nil,
#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,nil},
0,<<"test3">>,"/var/lib/couchdb/test3.couch",[],
[],nil,
{user_ctx,null,[],undefined},
nil,1000,
[before_header,after_header,on_file_open],
false}
** Reason for termination ==
** {{badmatch,{error,eacces}},
[{couch_file,init,1},{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5902.0>] {error_report,<0.31.0>,
{<0.5902.0>,crash_report,
[[{initial_call,{couch_db,init,['Argument__1']}},
{pid,<0.5902.0>},
{registered_name,[]},
{error_info,{exit,{{badmatch,{error,eacces}},
[{couch_file,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]},
[{gen_server,terminate,6},
{proc_lib,init_p_do_apply,3}]}},
{ancestors,[<0.5899.0>]},
{messages,[]},
{links,[<0.4611.0>]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,987},
{stack_size,24},
{reductions,305}],
[]]}}
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.4611.0>] Unexpected message,
restarting couch_server: {'EXIT',<0.5902.0>,
{{badmatch,{error,eacces}},
[{couch_file,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,
3}]}}
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.4611.0>] ** Generic server
couch_server terminating
** Last message in was {'EXIT',<0.5902.0>,
{{badmatch,{error,eacces}},
[{couch_file,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}}
** When Server state == {server,"/var/lib/couchdb",
{re_pattern,0,0,
<<69,82,67,80,124,0,0,0,16,0,0,0,1,0,0,0,0,0,
0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,93,0,72,25,77,0,0,0,0,0,0,
0,0,0,0,0,0,254,255,255,7,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,77,0,0,0,0,16,171,255,3,0,0,0,
128,254,255,255,7,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,69,26,84,0,72,0>>},
100,12,"Mon, 31 Jan 2011 10:02:23 GMT"}
** Reason for termination ==
** kill
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.4611.0>] {error_report,<0.31.0>,
{<0.4611.0>,crash_report,
[[{initial_call,{couch_server,init,['Argument__1']}},
{pid,<0.4611.0>},
{registered_name,couch_server},
{error_info,{exit,kill,
[{gen_server,terminate,6},
{proc_lib,init_p_do_apply,3}]}},
{ancestors,[couch_primary_services,couch_server_sup,
<0.32.0>]},
{messages,[]},
{links,[<0.5815.0>,<0.5818.0>,<0.5820.0>,<0.5860.0>,
<0.5821.0>,<0.5819.0>,<0.5817.0>,<0.5816.0>,
<0.5789.0>,<0.5802.0>,<0.5805.0>,<0.79.0>]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,2584},
{stack_size,24},
{reductions,3361}],
[]]}}
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.79.0>] {error_report,<0.31.0>,
{<0.79.0>,supervisor_report,
[{supervisor,{local,couch_primary_services}},
{errorContext,child_terminated},
{reason,kill},
{offender,[{pid,<0.4611.0>},
{name,couch_server},
{mfargs,{couch_server,sup_start_link,[]}},
{restart_type,permanent},
{shutdown,1000},
{child_type,worker}]}]}}
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5815.0>] ** Generic server
<0.5815.0> terminating
** Last message in was {'EXIT',<0.4611.0>,kill}
** When Server state == {db,<0.5815.0>,<0.5822.0>,nil,<<"1296469258776881">>,
<0.5779.0>,<0.5832.0>,
{db_header,5,53,0,
{189938,{19,13}},
{191372,32},
nil,0,nil,nil,1000},
53,
{btree,<0.5779.0>,
{189938,{19,13}},
#Fun<couch_db_updater.7.10053969>,
#Fun<couch_db_updater.8.35220795>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.9.107593676>},
{btree,<0.5779.0>,
{191372,32},
#Fun<couch_db_updater.10.30996817>,
#Fun<couch_db_updater.11.96515267>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.12.117826253>},
{btree,<0.5779.0>,nil,
#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,nil},
53,<<"cloudfs_hash">>,
"/var/lib/couchdb/cloudfs_hash.couch",[],[],nil,
{user_ctx,null,[],undefined},
nil,1000,
[before_header,after_header,on_file_open],
false}
** Reason for termination ==
** kill
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5815.0>] {error_report,<0.31.0>,
{<0.5815.0>,crash_report,
[[{initial_call,{couch_db,init,['Argument__1']}},
{pid,<0.5815.0>},
{registered_name,[]},
{error_info,{exit,kill,
[{gen_server,terminate,6},
{proc_lib,init_p_do_apply,3}]}},
{ancestors,[<0.5778.0>]},
{messages,[]},
{links,[]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,610},
{stack_size,24},
{reductions,225}],
[]]}}
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5820.0>] ** Generic server
<0.5820.0> terminating
** Last message in was {'EXIT',<0.4611.0>,kill}
** When Server state == {db,<0.5820.0>,<0.5827.0>,nil,<<"1296469258777182">>,
<0.5788.0>,<0.5834.0>,
{db_header,5,68,0,
{274824,{3,3}},
{277796,6},
nil,0,nil,nil,1000},
68,
{btree,<0.5788.0>,
{274824,{3,3}},
#Fun<couch_db_updater.7.10053969>,
#Fun<couch_db_updater.8.35220795>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.9.107593676>},
{btree,<0.5788.0>,
{277796,6},
#Fun<couch_db_updater.10.30996817>,
#Fun<couch_db_updater.11.96515267>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.12.117826253>},
{btree,<0.5788.0>,nil,
#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,nil},
68,<<"cloudfs_storages">>,
"/var/lib/couchdb/cloudfs_storages.couch",[],[],
nil,
{user_ctx,null,[],undefined},
nil,1000,
[before_header,after_header,on_file_open],
false}
** Reason for termination ==
** kill
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5820.0>] {error_report,<0.31.0>,
{<0.5820.0>,crash_report,
[[{initial_call,{couch_db,init,['Argument__1']}},
{pid,<0.5820.0>},
{registered_name,[]},
{error_info,{exit,kill,
[{gen_server,terminate,6},
{proc_lib,init_p_do_apply,3}]}},
{ancestors,[<0.5786.0>]},
{messages,[]},
{links,[]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,610},
{stack_size,24},
{reductions,246}],
[]]}}
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5816.0>] ** Generic server
<0.5816.0> terminating
** Last message in was {'EXIT',<0.4611.0>,kill}
** When Server state == {db,<0.5816.0>,<0.5823.0>,nil,<<"1296469258777273">>,
<0.5783.0>,<0.5835.0>,
{db_header,5,197795,0,
{336869144,{197795,0}},
{336501827,197795},
{336871522,[]},
0,nil,nil,1000},
197795,
{btree,<0.5783.0>,
{336869144,{197795,0}},
#Fun<couch_db_updater.7.10053969>,
#Fun<couch_db_updater.8.35220795>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.9.107593676>},
{btree,<0.5783.0>,
{336501827,197795},
#Fun<couch_db_updater.10.30996817>,
#Fun<couch_db_updater.11.96515267>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.12.117826253>},
{btree,<0.5783.0>,
{336871522,[]},
#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,nil},
197795,<<"exhaust_orders">>,
"/var/lib/couchdb/exhaust_orders.couch",[],[],nil,
{user_ctx,null,[],undefined},
nil,1000,
[before_header,after_header,on_file_open],
false}
** Reason for termination ==
** kill
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5816.0>] {error_report,<0.31.0>,
{<0.5816.0>,crash_report,
[[{initial_call,{couch_db,init,['Argument__1']}},
{pid,<0.5816.0>},
{registered_name,[]},
{error_info,{exit,kill,
[{gen_server,terminate,6},
{proc_lib,init_p_do_apply,3}]}},
{ancestors,[<0.5782.0>]},
{messages,[]},
{links,[]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,610},
{stack_size,24},
{reductions,255}],
[]]}}
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5819.0>] ** Generic server
<0.5819.0> terminating
** Last message in was {'EXIT',<0.4611.0>,kill}
** When Server state == {db,<0.5819.0>,<0.5826.0>,nil,<<"1296469258783509">>,
<0.5781.0>,<0.5844.0>,
{db_header,5,101,0,
{87462799,{80,21}},
{87440786,101},
{87466073,[]},
0,nil,nil,1000},
101,
{btree,<0.5781.0>,
{87462799,{80,21}},
#Fun<couch_db_updater.7.10053969>,
#Fun<couch_db_updater.8.35220795>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.9.107593676>},
{btree,<0.5781.0>,
{87440786,101},
#Fun<couch_db_updater.10.30996817>,
#Fun<couch_db_updater.11.96515267>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.12.117826253>},
{btree,<0.5781.0>,
{87466073,[]},
#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,nil},
101,<<"stereoblog">>,
"/var/lib/couchdb/stereoblog.couch",[],[],nil,
{user_ctx,null,[],undefined},
nil,1000,
[before_header,after_header,on_file_open],
false}
** Reason for termination ==
** kill
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5819.0>] {error_report,<0.31.0>,
{<0.5819.0>,crash_report,
[[{initial_call,{couch_db,init,['Argument__1']}},
{pid,<0.5819.0>},
{registered_name,[]},
{error_info,{exit,kill,
[{gen_server,terminate,6},
{proc_lib,init_p_do_apply,3}]}},
{ancestors,[<0.5780.0>]},
{messages,[]},
{links,[]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,610},
{stack_size,24},
{reductions,257}],
[]]}}
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5821.0>] ** Generic server
<0.5821.0> terminating
** Last message in was {'EXIT',<0.4611.0>,kill}
** When Server state == {db,<0.5821.0>,<0.5828.0>,nil,<<"1296469258778600">>,
<0.5794.0>,<0.5840.0>,
{db_header,5,78,0,
{304209,{23,15}},
{305711,38},
nil,0,nil,nil,1000},
78,
{btree,<0.5794.0>,
{304209,{23,15}},
#Fun<couch_db_updater.7.10053969>,
#Fun<couch_db_updater.8.35220795>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.9.107593676>},
{btree,<0.5794.0>,
{305711,38},
#Fun<couch_db_updater.10.30996817>,
#Fun<couch_db_updater.11.96515267>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.12.117826253>},
{btree,<0.5794.0>,nil,
#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,nil},
78,<<"cloudfs_files">>,
"/var/lib/couchdb/cloudfs_files.couch",[],[],nil,
{user_ctx,null,[],undefined},
nil,1000,
[before_header,after_header,on_file_open],
false}
** Reason for termination ==
** kill
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5821.0>] {error_report,<0.31.0>,
{<0.5821.0>,crash_report,
[[{initial_call,{couch_db,init,['Argument__1']}},
{pid,<0.5821.0>},
{registered_name,[]},
{error_info,{exit,kill,
[{gen_server,terminate,6},
{proc_lib,init_p_do_apply,3}]}},
{ancestors,[<0.5793.0>]},
{messages,[]},
{links,[]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,610},
{stack_size,24},
{reductions,265}],
[]]}}
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5805.0>] ** Generic server
<0.5805.0> terminating
** Last message in was {'EXIT',<0.4611.0>,kill}
** When Server state == {db,<0.5805.0>,<0.5806.0>,nil,<<"1296469258775925">>,
<0.5798.0>,<0.5830.0>,
{db_header,5,27638,0,
{87992720,{27580,58}},
{87995190,27638},
{88006756,[]},
0,nil,nil,1000},
27638,
{btree,<0.5798.0>,
{87992720,{27580,58}},
#Fun<couch_db_updater.7.10053969>,
#Fun<couch_db_updater.8.35220795>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.9.107593676>},
{btree,<0.5798.0>,
{87995190,27638},
#Fun<couch_db_updater.10.30996817>,
#Fun<couch_db_updater.11.96515267>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.12.117826253>},
{btree,<0.5798.0>,
{88006756,[]},
#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,nil},
27638,<<"exh_bu_geo">>,
"/var/lib/couchdb/exh_bu_geo.couch",[],[],nil,
{user_ctx,null,[],undefined},
nil,1000,
[before_header,after_header,on_file_open],
false}
** Reason for termination ==
** kill
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5805.0>] {error_report,<0.31.0>,
{<0.5805.0>,crash_report,
[[{initial_call,{couch_db,init,['Argument__1']}},
{pid,<0.5805.0>},
{registered_name,[]},
{error_info,{exit,kill,
[{gen_server,terminate,6},
{proc_lib,init_p_do_apply,3}]}},
{ancestors,[<0.5797.0>]},
{messages,[]},
{links,[]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,610},
{stack_size,24},
{reductions,225}],
[]]}}
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5789.0>] ** Generic server
<0.5789.0> terminating
** Last message in was {'EXIT',<0.4611.0>,kill}
** When Server state == {db,<0.5789.0>,<0.5790.0>,nil,<<"1296469258773492">>,
<0.5785.0>,<0.5795.0>,
{db_header,5,0,0,nil,nil,nil,0,nil,nil,1000},
0,
{btree,<0.5785.0>,nil,
#Fun<couch_db_updater.7.10053969>,
#Fun<couch_db_updater.8.35220795>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.9.107593676>},
{btree,<0.5785.0>,nil,
#Fun<couch_db_updater.10.30996817>,
#Fun<couch_db_updater.11.96515267>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.12.117826253>},
{btree,<0.5785.0>,nil,
#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,nil},
0,<<"test1">>,"/var/lib/couchdb/test1.couch",[],
[],nil,
{user_ctx,null,[],undefined},
nil,1000,
[before_header,after_header,on_file_open],
false}
** Reason for termination ==
** kill
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5789.0>] {error_report,<0.31.0>,
{<0.5789.0>,crash_report,
[[{initial_call,{couch_db,init,['Argument__1']}},
{pid,<0.5789.0>},
{registered_name,[]},
{error_info,{exit,kill,
[{gen_server,terminate,6},
{proc_lib,init_p_do_apply,3}]}},
{ancestors,[<0.5784.0>]},
{messages,[]},
{links,[]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,987},
{stack_size,24},
{reductions,248}],
[]]}}
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5817.0>] ** Generic server
<0.5817.0> terminating
** Last message in was {'EXIT',<0.4611.0>,kill}
** When Server state == {db,<0.5817.0>,<0.5824.0>,nil,<<"1296469258776938">>,
<0.5792.0>,<0.5833.0>,
{db_header,4,101,0,
{225417,{47,38}},
{228423,85},
{188505,[]},
0,nil,nil,1000},
101,
{btree,<0.5792.0>,
{225417,{47,38}},
#Fun<couch_db_updater.7.10053969>,
#Fun<couch_db_updater.8.35220795>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.9.107593676>},
{btree,<0.5792.0>,
{228423,85},
#Fun<couch_db_updater.10.30996817>,
#Fun<couch_db_updater.11.96515267>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.12.117826253>},
{btree,<0.5792.0>,
{188505,[]},
#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,nil},
101,<<"map">>,"/var/lib/couchdb/map.couch",[],[],
nil,
{user_ctx,null,[],undefined},
nil,1000,
[before_header,after_header,on_file_open],
false}
** Reason for termination ==
** kill
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5817.0>] {error_report,<0.31.0>,
{<0.5817.0>,crash_report,
[[{initial_call,{couch_db,init,['Argument__1']}},
{pid,<0.5817.0>},
{registered_name,[]},
{error_info,{exit,kill,
[{gen_server,terminate,6},
{proc_lib,init_p_do_apply,3}]}},
{ancestors,[<0.5791.0>]},
{messages,[]},
{links,[]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,610},
{stack_size,24},
{reductions,239}],
[]]}}
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5802.0>] ** Generic server
<0.5802.0> terminating
** Last message in was {'EXIT',<0.4611.0>,kill}
** When Server state == {db,<0.5802.0>,<0.5804.0>,nil,<<"1296469258774232">>,
<0.5800.0>,<0.5807.0>,
{db_header,5,0,0,nil,nil,nil,0,nil,nil,1000},
0,
{btree,<0.5800.0>,nil,
#Fun<couch_db_updater.7.10053969>,
#Fun<couch_db_updater.8.35220795>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.9.107593676>},
{btree,<0.5800.0>,nil,
#Fun<couch_db_updater.10.30996817>,
#Fun<couch_db_updater.11.96515267>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.12.117826253>},
{btree,<0.5800.0>,nil,
#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,nil},
0,<<"bb">>,"/var/lib/couchdb/bb.couch",[],[],nil,
{user_ctx,null,[],undefined},
nil,1000,
[before_header,after_header,on_file_open],
false}
** Reason for termination ==
** kill
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5802.0>] {error_report,<0.31.0>,
{<0.5802.0>,crash_report,
[[{initial_call,{couch_db,init,['Argument__1']}},
{pid,<0.5802.0>},
{registered_name,[]},
{error_info,{exit,kill,
[{gen_server,terminate,6},
{proc_lib,init_p_do_apply,3}]}},
{ancestors,[<0.5799.0>]},
{messages,[]},
{links,[]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,610},
{stack_size,24},
{reductions,245}],
[]]}}
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5860.0>] ** Generic server
<0.5860.0> terminating
** Last message in was {'EXIT',<0.4611.0>,kill}
** When Server state == {db,<0.5860.0>,<0.5861.0>,nil,<<"1296469267204359">>,
<0.5858.0>,<0.5862.0>,
{db_header,5,0,0,nil,nil,nil,0,nil,nil,1000},
0,
{btree,<0.5858.0>,nil,
#Fun<couch_db_updater.7.10053969>,
#Fun<couch_db_updater.8.35220795>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.9.107593676>},
{btree,<0.5858.0>,nil,
#Fun<couch_db_updater.10.30996817>,
#Fun<couch_db_updater.11.96515267>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.12.117826253>},
{btree,<0.5858.0>,nil,
#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,nil},
0,<<"test2">>,"/var/lib/couchdb/test2.couch",[],
[],nil,
{user_ctx,null,[],undefined},
nil,1000,
[before_header,after_header,on_file_open],
false}
** Reason for termination ==
** kill
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5860.0>] {error_report,<0.31.0>,
{<0.5860.0>,crash_report,
[[{initial_call,{couch_db,init,['Argument__1']}},
{pid,<0.5860.0>},
{registered_name,[]},
{error_info,{exit,kill,
[{gen_server,terminate,6},
{proc_lib,init_p_do_apply,3}]}},
{ancestors,[<0.5857.0>]},
{messages,[]},
{links,[]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,610},
{stack_size,24},
{reductions,239}],
[]]}}
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5818.0>] ** Generic server
<0.5818.0> terminating
** Last message in was {'EXIT',<0.4611.0>,kill}
** When Server state == {db,<0.5818.0>,<0.5825.0>,nil,<<"1296469258778735">>,
<0.5777.0>,<0.5841.0>,
{db_header,5,27638,0,
{37255718,{27580,58}},
{37258667,27638},
{37259925,[]},
0,nil,nil,1000},
27638,
{btree,<0.5777.0>,
{37255718,{27580,58}},
#Fun<couch_db_updater.7.10053969>,
#Fun<couch_db_updater.8.35220795>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.9.107593676>},
{btree,<0.5777.0>,
{37258667,27638},
#Fun<couch_db_updater.10.30996817>,
#Fun<couch_db_updater.11.96515267>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.12.117826253>},
{btree,<0.5777.0>,
{37259925,[]},
#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,nil},
27638,<<"exhaust_geo">>,
"/var/lib/couchdb/exhaust_geo.couch",[],[],nil,
{user_ctx,null,[],undefined},
nil,1000,
[before_header,after_header,on_file_open],
false}
** Reason for termination ==
** kill
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5818.0>] {error_report,<0.31.0>,
{<0.5818.0>,crash_report,
[[{initial_call,{couch_db,init,['Argument__1']}},
{pid,<0.5818.0>},
{registered_name,[]},
{error_info,{exit,kill,
[{gen_server,terminate,6},
{proc_lib,init_p_do_apply,3}]}},
{ancestors,[<0.5776.0>]},
{messages,[]},
{links,[]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,610},
{stack_size,24},
{reductions,265}],
[]]}}
[Mon, 31 Jan 2011 10:21:45 GMT] [info] [<0.5856.0>] replication terminating
because local DB is shutting down
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5856.0>] ** Generic server
<0.5856.0> terminating
** Last message in was {'DOWN',#Ref<0.0.0.26220>,process,<0.5789.0>,kill}
** When Server state == {state,<0.5864.0>,<0.5867.0>,<0.5869.0>,<0.5871.0>,
{db,<0.5789.0>,<0.5790.0>,nil,
<<"1296469258773492">>,<0.5785.0>,<0.5795.0>,
{db_header,5,0,0,nil,nil,nil,0,nil,nil,1000},
0,
{btree,<0.5785.0>,nil,
#Fun<couch_db_updater.7.10053969>,
#Fun<couch_db_updater.8.35220795>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.9.107593676>},
{btree,<0.5785.0>,nil,
#Fun<couch_db_updater.10.30996817>,
#Fun<couch_db_updater.11.96515267>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.12.117826253>},
{btree,<0.5785.0>,nil,
#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,nil},
0,<<"test1">>,"/var/lib/couchdb/test1.couch",
[],[],nil,
{user_ctx,null,
[<<"_admin">>],
<<"{couch_httpd_auth,
default_authentication_handler}">>},
nil,1000,
[before_header,after_header,on_file_open],
false},
{db,<0.5860.0>,<0.5861.0>,nil,
<<"1296469267204359">>,<0.5858.0>,<0.5862.0>,
{db_header,5,0,0,nil,nil,nil,0,nil,nil,1000},
0,
{btree,<0.5858.0>,nil,
#Fun<couch_db_updater.7.10053969>,
#Fun<couch_db_updater.8.35220795>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.9.107593676>},
{btree,<0.5858.0>,nil,
#Fun<couch_db_updater.10.30996817>,
#Fun<couch_db_updater.11.96515267>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.12.117826253>},
{btree,<0.5858.0>,nil,
#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,nil},
0,<<"test2">>,"/var/lib/couchdb/test2.couch",
[],[],nil,
{user_ctx,null,
[<<"_admin">>],
<<"{couch_httpd_auth,
default_authentication_handler}">>},
nil,1000,
[before_header,after_header,on_file_open],
false},
true,false,
["ca115d8501510c792a641de236cdb044",
{[{<<"source">>,<<"test1">>},
{<<"target">>,<<"test2">>},
{<<"continuous">>,true}]},
{user_ctx,null,
[<<"_admin">>],
<<"{couch_httpd_auth,
default_authentication_handler}">>}],
nil,0,[],<<"02bf5fac6a38509a32cdc5bd2d055fe4">>,
{doc,
<<"_local/ca115d8501510c792a641de236cdb044">>,
{0,[]},
{[]},
[],false,[]},
{doc,
<<"_local/ca115d8501510c792a641de236cdb044">>,
{0,[]},
{[]},
[],false,[]},
"Mon, 31 Jan 2011 10:21:07 GMT",
<<"1296469258773492">>,<<"1296469267204359">>,nil,
[],false,0,41007,nil,<0.5872.0>,<0.5873.0>}
** Reason for termination ==
** {noproc,{gen_server,call,[<0.5862.0>,{drop,<0.5856.0>}]}}
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5856.0>] {error_report,<0.31.0>,
{<0.5856.0>,crash_report,
[[{initial_call,{couch_rep,init,['Argument__1']}},
{pid,<0.5856.0>},
{registered_name,[]},
{error_info,
{exit,
{noproc,{gen_server,call,[<0.5862.0>,{drop,<0.5856.0>}]}},
[{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
{ancestors,
[couch_rep_sup,couch_primary_services,couch_server_sup,<0.32.0>]},
{messages,[{'DOWN',#Ref<0.0.0.26236>,process,<0.5860.0>,kill}]},
{links,
[<0.5869.0>,<0.5872.0>,<0.5873.0>,<0.5871.0>,<0.5864.0>,<0.5867.0>,
<0.82.0>]},
{dictionary,[{task_status_update,{{0,0,0},0}}]},
{trap_exit,true},
{status,running},
{heap_size,987},
{stack_size,24},
{reductions,1143}],
[{neighbour,
[{pid,<0.5871.0>},
{registered_name,[]},
{initial_call,{erlang,apply,2}},
{current_function,{gen,do_call,4}},
{ancestors,[]},
{messages,[]},
{links,[<0.5856.0>]},
{dictionary,[]},
{trap_exit,false},
{status,waiting},
{heap_size,233},
{stack_size,20},
{reductions,9}]},
{neighbour,
[{pid,<0.5873.0>},
{registered_name,[]},
{initial_call,{couch_event_sup,init,['Argument__1']}},
{current_function,{gen_server,loop,6}},
{ancestors,
[<0.5856.0>,couch_rep_sup,couch_primary_services,
couch_server_sup,<0.32.0>]},
{messages,[]},
{links,[<0.5856.0>,<0.85.0>]},
{dictionary,[]},
{trap_exit,false},
{status,waiting},
{heap_size,233},
{stack_size,9},
{reductions,32}]},
{neighbour,
[{pid,<0.5872.0>},
{registered_name,[]},
{initial_call,{couch_event_sup,init,['Argument__1']}},
{current_function,{gen_server,loop,6}},
{ancestors,
[<0.5856.0>,couch_rep_sup,couch_primary_services,
couch_server_sup,<0.32.0>]},
{messages,[]},
{links,[<0.5856.0>,<0.85.0>]},
{dictionary,[]},
{trap_exit,false},
{status,waiting},
{heap_size,233},
{stack_size,9},
{reductions,32}]}]]}}
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.82.0>] {error_report,<0.31.0>,
{<0.82.0>,supervisor_report,
[{supervisor,{local,couch_rep_sup}},
{errorContext,child_terminated},
{reason,{noproc,{gen_server,call,[<0.5862.0>,{drop,<0.5856.0>}]}}},
{offender,
[{pid,<0.5856.0>},
{name,"ca115d8501510c792a641de236cdb044+continuous"},
{mfargs,
{gen_server,start_link,
[couch_rep,
["ca115d8501510c792a641de236cdb044",
{[{<<"source">>,<<"test1">>},
{<<"target">>,<<"test2">>},
{<<"continuous">>,true}]},
{user_ctx,null,
[<<"_admin">>],
<<"{couch_httpd_auth,
default_authentication_handler}">>}],
[]]}},
{restart_type,temporary},
{shutdown,1},
{child_type,worker}]}]}}
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5867.0>] ** Generic server
<0.5867.0> terminating
** Last message in was {'EXIT',<0.5856.0>,
{noproc,
{gen_server,call,
[<0.5862.0>,{drop,<0.5856.0>}]}}}
** When Server state == {state,<0.5868.0>,nil,<0.5856.0>,false,0,
{<0.5870.0>,#Ref<0.0.0.26243>},
{[],[]},
0,0,0}
** Reason for termination ==
** {noproc,{gen_server,call,[<0.5862.0>,{drop,<0.5856.0>}]}}
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5867.0>] {error_report,<0.31.0>,
{<0.5867.0>,crash_report,
[[{initial_call,{couch_rep_missing_revs,init,['Argument__1']}},
{pid,<0.5867.0>},
{registered_name,[]},
{error_info,
{exit,
{noproc,{gen_server,call,[<0.5862.0>,{drop,<0.5856.0>}]}},
[{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
{ancestors,
[<0.5856.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
<0.32.0>]},
{messages,[]},
{links,[<0.5868.0>]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,377},
{stack_size,24},
{reductions,138}],
[]]}}
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5864.0>] ** Generic server
<0.5864.0> terminating
** Last message in was {'EXIT',<0.5856.0>,
{noproc,
{gen_server,call,
[<0.5862.0>,{drop,<0.5856.0>}]}}}
** When Server state == {state,nil,<0.5865.0>,
[<0.5856.0>,
{db,<0.5789.0>,<0.5790.0>,nil,
<<"1296469258773492">>,<0.5785.0>,<0.5795.0>,
{db_header,5,0,0,nil,nil,nil,0,nil,nil,1000},
0,
{btree,<0.5785.0>,nil,
#Fun<couch_db_updater.7.10053969>,
#Fun<couch_db_updater.8.35220795>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.9.107593676>},
{btree,<0.5785.0>,nil,
#Fun<couch_db_updater.10.30996817>,
#Fun<couch_db_updater.11.96515267>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.12.117826253>},
{btree,<0.5785.0>,nil,
#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,nil},
0,<<"test1">>,"/var/lib/couchdb/test1.couch",
[],[],nil,
{user_ctx,null,
[<<"_admin">>],
<<"{couch_httpd_auth,
default_authentication_handler}">>},
nil,1000,
[before_header,after_header,on_file_open],
false},
0,
[{<<"source">>,<<"test1">>},
{<<"target">>,<<"test2">>},
{<<"continuous">>,true}]],
undefined,nil,nil,false,0,<<>>,
{<0.5868.0>,#Ref<0.0.0.26241>},
{[],[]}}
** Reason for termination ==
** {noproc,{gen_server,call,[<0.5862.0>,{drop,<0.5856.0>}]}}
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5864.0>] {error_report,<0.31.0>,
{<0.5864.0>,crash_report,
[[{initial_call,{couch_rep_changes_feed,init,['Argument__1']}},
{pid,<0.5864.0>},
{registered_name,[]},
{error_info,
{exit,
{noproc,{gen_server,call,[<0.5862.0>,{drop,<0.5856.0>}]}},
[{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
{ancestors,
[<0.5856.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
<0.32.0>]},
{messages,[]},
{links,[<0.5865.0>]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,610},
{stack_size,24},
{reductions,170}],
[]]}}
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5869.0>] ** Generic server
<0.5869.0> terminating
** Last message in was {'EXIT',<0.5856.0>,
{noproc,
{gen_server,call,
[<0.5862.0>,{drop,<0.5856.0>}]}}}
** When Server state == {state,<0.5856.0>,
{db,<0.5789.0>,<0.5790.0>,nil,
<<"1296469258773492">>,<0.5785.0>,<0.5795.0>,
{db_header,5,0,0,nil,nil,nil,0,nil,nil,1000},
0,
{btree,<0.5785.0>,nil,
#Fun<couch_db_updater.7.10053969>,
#Fun<couch_db_updater.8.35220795>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.9.107593676>},
{btree,<0.5785.0>,nil,
#Fun<couch_db_updater.10.30996817>,
#Fun<couch_db_updater.11.96515267>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.12.117826253>},
{btree,<0.5785.0>,nil,
#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,nil},
0,<<"test1">>,"/var/lib/couchdb/test1.couch",
[],[],nil,
{user_ctx,null,
[<<"_admin">>],
<<"{couch_httpd_auth,
default_authentication_handler}">>},
nil,1000,
[before_header,after_header,on_file_open],
false},
<0.5867.0>,<0.5870.0>,[],0,
{[],[]},
{<0.5871.0>,#Ref<0.0.0.26245>},
false,0,nil,[],[]}
** Reason for termination ==
** {noproc,{gen_server,call,[<0.5862.0>,{drop,<0.5856.0>}]}}
[Mon, 31 Jan 2011 10:21:45 GMT] [error] [<0.5869.0>] {error_report,<0.31.0>,
{<0.5869.0>,crash_report,
[[{initial_call,{couch_rep_reader,init,['Argument__1']}},
{pid,<0.5869.0>},
{registered_name,[]},
{error_info,
{exit,
{noproc,{gen_server,call,[<0.5862.0>,{drop,<0.5856.0>}]}},
[{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
{ancestors,
[<0.5856.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
<0.32.0>]},
{messages,
[{'EXIT',<0.5870.0>,
{{noproc,{gen_server,call,[<0.5862.0>,{drop,<0.5856.0>}]}},
{gen_server,call,[<0.5867.0>,next_missing_revs,infinity]}}}]},
{links,[]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,610},
{stack_size,24},
{reductions,168}],
[]]}}
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira