ronag opened a new issue #3978:
URL: https://github.com/apache/couchdb/issues/3978


   Another one...
   
   ```
   rror] 2022-03-29T06:36:59.673870Z nonode@nohost <0.32682.26> 4448a8ccf9 
Request to create N=3 DB but only 1 node(s)
   [info] 2022-03-29T06:36:59.682322Z nonode@nohost <0.223.0> -------- db 
shards/00000000-7fffffff/test.1648535819 died with reason 
{{badmatch,{error,enospc}},[{couch_bt_engine,init_set_props,3,[{file,"src/couch_bt_engine.erl"},{line,1033}]},{couch_bt_engine,init,2,[{file,"src/couch_bt_engine.erl"},{line,153}]},{couch_db_engine,init,3,[{file,"src/couch_db_engine.erl"},{line,775}]},{couch_db_updater,init,1,[{file,"src/couch_db_updater.erl"},{line,43}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]}
   [error] 2022-03-29T06:36:59.682550Z nonode@nohost <0.32697.26> -------- 
CRASH REPORT Process  (<0.32697.26>) with 2 neighbors crashed with reason: no 
match of right hand value {error,enospc} at 
couch_bt_engine:init_set_props/3(line:1033) <= couch_bt_engine:init/2(line:153) 
<= couch_db_engine:init/3(line:775) <= couch_db_updater:init/1(line:43) <= 
proc_lib:init_p_do_apply/3(line:247); initial_call: 
{couch_db_updater,init,['Argument__1']}, ancestors: [<0.32688.26>], 
message_queue_len: 0, messages: [], links: [<0.32688.26>,<0.32720.26>], 
dictionary: 
[{io_priority,{db_update,<<"shards/00000000-7fffffff/test.1648535819">>}},...], 
trap_exit: false, status: running, heap_size: 1598, stack_size: 27, reductions: 
2166
   [info] 2022-03-29T06:36:59.683136Z nonode@nohost <0.223.0> -------- db 
shards/80000000-ffffffff/test.1648535819 died with reason 
{{badmatch,{error,enospc}},[{couch_bt_engine,init_set_props,3,[{file,"src/couch_bt_engine.erl"},{line,1033}]},{couch_bt_engine,init,2,[{file,"src/couch_bt_engine.erl"},{line,153}]},{couch_db_engine,init,3,[{file,"src/couch_db_engine.erl"},{line,775}]},{couch_db_updater,init,1,[{file,"src/couch_db_updater.erl"},{line,43}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]}
   [error] 2022-03-29T06:36:59.683635Z nonode@nohost <0.32669.26> -------- 
CRASH REPORT Process  (<0.32669.26>) with 2 neighbors crashed with reason: no 
match of right hand value {error,enospc} at 
couch_bt_engine:init_set_props/3(line:1033) <= couch_bt_engine:init/2(line:153) 
<= couch_db_engine:init/3(line:775) <= couch_db_updater:init/1(line:43) <= 
proc_lib:init_p_do_apply/3(line:247); initial_call: 
{couch_db_updater,init,['Argument__1']}, ancestors: [<0.32718.26>], 
message_queue_len: 0, messages: [], links: [<0.32718.26>,<0.32716.26>], 
dictionary: 
[{io_priority,{db_update,<<"shards/80000000-ffffffff/test.1648535819">>}},...], 
trap_exit: false, status: running, heap_size: 1598, stack_size: 27, reductions: 
2166
   [error] 2022-03-29T06:36:59.705083Z nonode@nohost <0.32667.26> -------- 
gen_server <0.32667.26> terminated with reason: no match of right hand value 
{error,enospc} at couch_btree:write_node/3(line:444) <= 
couch_btree:modify_node/4(line:410) <= couch_btree:query_modify/4(line:261) <= 
couch_btree:add_remove/3(line:239) <= 
couch_bt_engine:write_doc_infos/3(line:484) <= 
couch_db_engine:write_doc_infos/3(line:978) <= 
couch_db_updater:update_docs_int/4(line:668) <= 
couch_db_updater:handle_info/2(line:176)
     last msg: 
{update_docs,<0.32583.26>,[[{doc,<<"test">>,{1,[<<123,176,142,99,156,190,127,197,160,204,232,4,94,8,60,211>>]},[<<128,0,0,213>>,<<45,78,237,196,99,200,57,182,144,57,224,29,21,223,112,17>>,<<131,104,2,109,0,0,0,195,1,142,3,160,131,104,1,108,0,0,0,5,104,2,109,0,0,0,12,115,104,97,114,100,95,115,117,102,102,105,120,107,0,11,46,49,54,52,56,53,51,53,56,49,57,9,33,36,9,99,104,97,110,103,101,108,111,103,1,54,0,2,1,5,0,3,1,57,12,3,97,100,100,1,8,4,17,48,13,1,8,45,55,102,9,1,1,22,56,13,110,111,110,111,100,101,64,110,111,104,111,115,116,106,70,54,0,0,56,17,54,9,52,0,102,78,54,0,0,106,9,130,12,7,98,121,95,1,77,9,184,0,1,9,21,54,97,0,1,96,5,207,86,142,0,70,110,0,17,92,16,8,98,121,95,114,1,224,9,93,0,2,9,93,70,70,0,1,97,0,1,74,217,0,13,48,66,206,0,94,48,0,13,49,36,5,112,114,111,112,115,104,1,106,106,109,0,0,0,5,1,2,4,131,106>>],[],false,[{comp_body,<<1,142,3,160,131,104,1,108,0,0,0,5,104,2,109,0,0,0,12,115,104,97,114,100,95,115,117,102,102,105,120,107,0,11,46,49,54,52,56,53,51,53,56
 
,49,57,9,33,36,9,99,104,97,110,103,101,108,111,103,1,54,0,2,1,5,0,3,1,57,12,3,97,100,100,1,8,4,17,48,13,1,8,45,55,102,9,1,1,22,56,13,110,111,110,111,100,101,64,110,111,104,111,115,116,106,70,54,0,0,56,17,54,9,52,0,102,78,54,0,0,106,9,130,12,7,98,121,95,1,77,9,184,0,1,9,21,54,97,0,1,96,5,207,86,142,0,70,110,0,17,92,16,8,98,121,95,114,1,224,9,93,0,2,9,93,70,70,0,1,97,0,1,74,217,0,13,48,66,206,0,94,48,0,13,49,36,5,112,114,111,112,115,104,1,106,106>>},{size_info,[]},{atts_stream,nil},{ejson_size,323},{ref,#Ref<0.2772332015.1124597764.221920>}]}]],[],false}
        state: 
{db,1,<<"_dbs">>,"./data/_dbs.couch",{couch_bt_engine,{st,"./data/_dbs.couch",<0.32666.26>,#Ref<0.2772332015.1124597764.221855>,undefined,{db_header,8,247,0,{61874,{3,1,{size_info,1844,1270}},5077},{66951,4,5077},nil,nil,nil,10122,1000,<<"9baaec5ce6f14848dd9879c0e65da89f">>,[{nonode@nohost,0}],243,1000,10131},false,{btree,<0.32666.26>,{61874,{3,1,{size_info,1844,1270}},5077},#Fun<couch_bt_engine.id_tree_split.1>,#Fun<couch_bt_engine.id_tree_join.2>,undefined,#Fun<couch_bt_engine.id_tree_reduce.2>,snappy},{btree,<0.32666.26>,{66951,4,5077},#Fun<couch_bt_engine.seq_tree_split.1>,#Fun<couch_bt_engine.seq_tree_join.2>,undefined,#Fun<couch_bt_engine.seq_tree_reduce.2>,snappy},{btree,<0.32666.26>,nil,#Fun<couch_bt_engine.local_tree_split.1>,#Fun<couch_bt_engine.local_tree_join.2>,undefined,nil,snappy},snappy,{btree,<0.32666.26>,nil,#Fun<couch_bt_engine.purge_tree_split.1>,#Fun<couch_bt_engine.purge_tree_join.2>,undefined,#Fun<couch_bt_engine.purge_tree_reduce.2>,snappy},{btr
 
ee,<0.32666.26>,nil,#Fun<couch_bt_engine.purge_seq_tree_split.1>,#Fun<couch_bt_engine.purge_seq_tree_join.2>,undefined,#Fun<couch_bt_engine.purge_tree_reduce.2>,snappy}}},<0.32667.26>,nil,247,<<"1648535819660495">>,{user_ctx,null,[],undefined},[],[],nil,nil,undefined,[{default_security_object,[]},sys_db,nologifmissing,sys_db,{create_if_missing,true},{user_ctx,{user_ctx,null,[<<"_admin">>],undefined}},{props,[]}],undefined}
       extra: []
   [info] 2022-03-29T06:36:59.711052Z nonode@nohost <0.223.0> -------- db _dbs 
died with reason 
{{badmatch,{error,enospc}},[{couch_btree,write_node,3,[{file,"src/couch_btree.erl"},{line,444}]},{couch_btree,modify_node,4,[{file,"src/couch_btree.erl"},{line,410}]},{couch_btree,query_modify,4,[{file,"src/couch_btree.erl"},{line,261}]},{couch_btree,add_remove,3,[{file,"src/couch_btree.erl"},{line,239}]},{couch_bt_engine,write_doc_infos,3,[{file,"src/couch_bt_engine.erl"},{line,484}]},{couch_db_engine,write_doc_infos,3,[{file,"src/couch_db_engine.erl"},{line,978}]},{couch_db_updater,update_docs_int,4,[{file,"src/couch_db_updater.erl"},{line,668}]},{couch_db_updater,handle_info,2,[{file,"src/couch_db_updater.erl"},{line,176}]}]}
   [error] 2022-03-29T06:36:59.711321Z nonode@nohost <0.32667.26> -------- 
CRASH REPORT Process  (<0.32667.26>) with 0 neighbors crashed with reason: no 
match of right hand value {error,enospc} at couch_btree:write_node/3(line:444) 
<= couch_btree:modify_node/4(line:410) <= couch_btree:query_modify/4(line:261) 
<= couch_btree:add_remove/3(line:239) <= 
couch_bt_engine:write_doc_infos/3(line:484) <= 
couch_db_engine:write_doc_infos/3(line:978) <= 
couch_db_updater:update_docs_int/4(line:668) <= 
couch_db_updater:handle_info/2(line:176); initial_call: 
{couch_db_updater,init,['Argument__1']}, ancestors: [<0.32695.26>], 
message_queue_len: 0, messages: [], links: [<0.223.0>], dictionary: 
[{io_priority,{db_update,<<"_dbs">>}},{idle_limit,61000},{last_id_merged,...}], 
trap_exit: false, status: running, heap_size: 6772, stack_size: 27, reductions: 
23672
   [error] 2022-03-29T06:36:59.711930Z nonode@nohost <0.32583.26> 4448a8ccf9 
rexi_server: from: nonode@nohost(<0.32682.26>) mfa: 
fabric_rpc:create_shard_db_doc/2 
exit:{{badmatch,{error,enospc}},[{couch_btree,write_node,3,[{file,"src/couch_btree.erl"},{line,444}]},{couch_btree,modify_node,4,[{file,"src/couch_btree.erl"},{line,410}]},{couch_btree,query_modify,4,[{file,"src/couch_btree.erl"},{line,261}]},{couch_btree,add_remove,3,[{file,"src/couch_btree.erl"},{line,239}]},{couch_bt_engine,write_doc_infos,3,[{file,"src/couch_bt_engine.erl"},{line,484}]},{couch_db_engine,write_doc_infos,3,[{file,"src/couch_db_engine.erl"},{line,978}]},{couch_db_updater,update_docs_int,4,[{file,"src/couch_db_updater.erl"},{line,668}]},{couch_db_updater,handle_info,2,[{file,"src/couch_db_updater.erl"},{line,176}]}]}
 
[{couch_db,collect_results,3,[{file,"src/couch_db.erl"},{line,1266}]},{couch_db,collect_results_with_metrics,3,[{file,"src/couch_db.erl"},{line,1248}]},{couch_db,write_and_commit,4,[{file,"src/c
 
ouch_db.erl"},{line,1276}]},{couch_db,update_docs,4,[{file,"src/couch_db.erl"},{line,1222}]},{couch_db,update_doc,4,[{file,"src/couch_db.erl"},{line,822}]},{mem3_util,write_db_doc,3,[{file,"src/mem3_util.erl"},{line,105}]},{fabric_rpc,create_shard_db_doc,2,[{file,"src/fabric_rpc.erl"},{line,176}]},{rexi_server,init_p,3,[{file,"src/rexi_server.erl"},{line,138}]}]
   ```
   
   Are these reports useful or should I stop? I don't have much context 
unfortunately other than seeing the crashes in the logs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to