We use RiakCS 2.1.0 version in our project. Our cluster handle about 600 requests per second.
But last month we have these errors in RiakCS error.log
2017-07-18 15:40:01.586 [error] <0.3884.892> gen_fsm <0.3884.892> in state waiting_update_command terminated with reason: no function clause matching riakc_obj:get_update_metadata(<<"overload">>) line 289 2017-07-18 15:40:01.586 [error] <0.3884.892> CRASH REPORT Process <0.3884.892> with 1 neighbours exited with reason: no function clause matching riakc_obj:get_update_metadata(<<"overload">>) line 289 in gen_fsm:terminate/7 line 622 2017-07-18 15:40:01.586 [error] <0.1575.0> Supervisor riak_cs_put_fsm_sup had child undefined started with {riak_cs_put_fsm,start_link,undefined} at <0.1266.888> exit with reason no function clause matching riakc_obj:get_update_metadata(<<"overload">>) line 289 in context child_terminated 2017-07-18 15:40:01.587 [error] <0.22414.830> gen_server <0.22414.830> terminated with reason: no function clause matching riakc_obj:get_update_metadata(<<"overload">>) line 289 2017-07-18 15:40:01.587 [error] <0.5694.893> Webmachine error at path "/buckets/integration/objects/7e3e3fab-2345-4e67-890b-7d7381e5403f" : {error,{exit,{{function_clause,[{riakc_obj,get_update_metadata,[<<"overload">>],[{file,"src/riakc_obj.erl"},{line,289}]},{riak_cs_manifest,manifests_from_riak_object,1,[{file,"src/riak_cs_manifest.erl"},{line,62}]},{riak_cs_manifest_fsm,update,6,[{file,"src/riak_cs_manifest_fsm.erl"},{line,389}]},{riak_cs_manifest_fsm,get_and_update,4,[{file,"src/riak_cs_manifest_fsm.erl"},{line,319}]},{riak_cs_manifest_fsm,waiting_update_command,3,[{file,"src/riak_cs_manifest_fsm.erl"},{line,225}]},{gen_fsm,...},...]},...},...}} in gen_fsm:sync_send_event/3 line 214 2017-07-18 15:40:01.587 [error] <0.22414.830> CRASH REPORT Process <0.22414.830> with 0 neighbours exited with reason: no function clause matching riakc_obj:get_update_metadata(<<"overload">>) line 289 in gen_server:terminate/6 line 744 2017-07-18 15:40:02.299 [error] <0.3194.895> gen_fsm <0.3194.895> in state waiting_update_command terminated with reason: no function clause matching riakc_obj:get_update_metadata(<<"overload">>) line 289 2017-07-18 15:40:02.299 [error] <0.3194.895> CRASH REPORT Process <0.3194.895> with 1 neighbours exited with reason: no function clause matching riakc_obj:get_update_metadata(<<"overload">>) line 289 in gen_fsm:terminate/7 line 622 2017-07-18 15:40:02.300 [error] <0.1575.0> Supervisor riak_cs_put_fsm_sup had child undefined started with {riak_cs_put_fsm,start_link,undefined} at <0.30674.898> exit with reason no function clause matching riakc_obj:get_update_metadata(<<"overload">>) line 289 in context child_terminated 2017-07-18 15:40:02.300 [error] <0.5694.893> Webmachine error at path "/buckets/integration/objects/7e3e3fab-2345-4e67-890b-7d7381e5403f" : {error,{exit,{{function_clause,[{riakc_obj,get_update_metadata,[<<"overload">>],[{file,"src/riakc_obj.erl"},{line,289}]},{riak_cs_manifest,manifests_from_riak_object,1,[{file,"src/riak_cs_manifest.erl"},{line,62}]},{riak_cs_manifest_fsm,update,6,[{file,"src/riak_cs_manifest_fsm.erl"},{line,389}]},{riak_cs_manifest_fsm,get_and_update,4,[{file,"src/riak_cs_manifest_fsm.erl"},{line,319}]},{riak_cs_manifest_fsm,waiting_update_command,3,[{file,"src/riak_cs_manifest_fsm.erl"},{line,236}]},{gen_fsm,...},...]},...},...}} in gen_fsm:sync_send_event/3 line 214 2017-07-18 15:40:02.300 [error] <0.32743.900> gen_server <0.32743.900> terminated with reason: no function clause matching riakc_obj:get_update_metadata(<<"overload">>) line 289 2017-07-18 15:40:02.300 [error] <0.32743.900> CRASH REPORT Process <0.32743.900> with 0 neighbours exited with reason: no function clause matching riakc_obj:get_update_metadata(<<"overload">>) line 289 in gen_server:terminate/6 line 744
How to determinate what is cause of "overload" error?
We use RiakCS 2.1.0 version in our project. Our cluster handle about 600 requests per second.
But last month we have these errors in RiakCS error.log
2017-07-18 15:40:01.586 [error] <0.3884.892> gen_fsm <0.3884.892> in state waiting_update_command terminated with reason: no function clause matching riakc_obj:get_update_metadata(<<"overload">>) line 289 2017-07-18 15:40:01.586 [error] <0.3884.892> CRASH REPORT Process <0.3884.892> with 1 neighbours exited with reason: no function clause matching riakc_obj:get_update_metadata(<<"overload">>) line 289 in gen_fsm:terminate/7 line 622 2017-07-18 15:40:01.586 [error] <0.1575.0> Supervisor riak_cs_put_fsm_sup had child undefined started with {riak_cs_put_fsm,start_link,undefined} at <0.1266.888> exit with reason no function clause matching riakc_obj:get_update_metadata(<<"overload">>) line 289 in context child_terminated 2017-07-18 15:40:01.587 [error] <0.22414.830> gen_server <0.22414.830> terminated with reason: no function clause matching riakc_obj:get_update_metadata(<<"overload">>) line 289 2017-07-18 15:40:01.587 [error] <0.5694.893> Webmachine error at path "/buckets/integration/objects/7e3e3fab-2345-4e67-890b-7d7381e5403f" : {error,{exit,{{function_clause,[{riakc_obj,get_update_metadata,[<<"overload">>],[{file,"src/riakc_obj.erl"},{line,289}]},{riak_cs_manifest,manifests_from_riak_object,1,[{file,"src/riak_cs_manifest.erl"},{line,62}]},{riak_cs_manifest_fsm,update,6,[{file,"src/riak_cs_manifest_fsm.erl"},{line,389}]},{riak_cs_manifest_fsm,get_and_update,4,[{file,"src/riak_cs_manifest_fsm.erl"},{line,319}]},{riak_cs_manifest_fsm,waiting_update_command,3,[{file,"src/riak_cs_manifest_fsm.erl"},{line,225}]},{gen_fsm,...},...]},...},...}} in gen_fsm:sync_send_event/3 line 214 2017-07-18 15:40:01.587 [error] <0.22414.830> CRASH REPORT Process <0.22414.830> with 0 neighbours exited with reason: no function clause matching riakc_obj:get_update_metadata(<<"overload">>) line 289 in gen_server:terminate/6 line 744 2017-07-18 15:40:02.299 [error] <0.3194.895> gen_fsm <0.3194.895> in state waiting_update_command terminated with reason: no function clause matching riakc_obj:get_update_metadata(<<"overload">>) line 289 2017-07-18 15:40:02.299 [error] <0.3194.895> CRASH REPORT Process <0.3194.895> with 1 neighbours exited with reason: no function clause matching riakc_obj:get_update_metadata(<<"overload">>) line 289 in gen_fsm:terminate/7 line 622 2017-07-18 15:40:02.300 [error] <0.1575.0> Supervisor riak_cs_put_fsm_sup had child undefined started with {riak_cs_put_fsm,start_link,undefined} at <0.30674.898> exit with reason no function clause matching riakc_obj:get_update_metadata(<<"overload">>) line 289 in context child_terminated 2017-07-18 15:40:02.300 [error] <0.5694.893> Webmachine error at path "/buckets/integration/objects/7e3e3fab-2345-4e67-890b-7d7381e5403f" : {error,{exit,{{function_clause,[{riakc_obj,get_update_metadata,[<<"overload">>],[{file,"src/riakc_obj.erl"},{line,289}]},{riak_cs_manifest,manifests_from_riak_object,1,[{file,"src/riak_cs_manifest.erl"},{line,62}]},{riak_cs_manifest_fsm,update,6,[{file,"src/riak_cs_manifest_fsm.erl"},{line,389}]},{riak_cs_manifest_fsm,get_and_update,4,[{file,"src/riak_cs_manifest_fsm.erl"},{line,319}]},{riak_cs_manifest_fsm,waiting_update_command,3,[{file,"src/riak_cs_manifest_fsm.erl"},{line,236}]},{gen_fsm,...},...]},...},...}} in gen_fsm:sync_send_event/3 line 214 2017-07-18 15:40:02.300 [error] <0.32743.900> gen_server <0.32743.900> terminated with reason: no function clause matching riakc_obj:get_update_metadata(<<"overload">>) line 289 2017-07-18 15:40:02.300 [error] <0.32743.900> CRASH REPORT Process <0.32743.900> with 0 neighbours exited with reason: no function clause matching riakc_obj:get_update_metadata(<<"overload">>) line 289 in gen_server:terminate/6 line 744How to determinate what is cause of "overload" error?