You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/05/31 06:22:35 UTC

[GitHub] wohali opened a new issue #1358: error: function_clause, chttpd_db:update_doc_result_to_json/1

wohali opened a new issue #1358: error: function_clause, chttpd_db:update_doc_result_to_json/1
URL: https://github.com/apache/couchdb/issues/1358
 
 
   Under heavy load and insufficient CPU, a 3-node cluster produced a large number of function_clause errors. This is one of these errors.
   
   This one followed after a large number of `fabric_worker_timeout` errors on a heavily contended shard on all 3 nodes, as shown below:
   
   ```
   [error] 2018-05-28T07:49:11.151000Z couchdb@node1 <0.733.9> ccdf060570 fabric_worker_timeout update_docs,'couchdb@node1',<<"shards/40000000-5fffffff/db.1519652499">>
   [error] 2018-05-28T07:49:11.151000Z couchdb@node1 <0.733.9> ccdf060570 fabric_worker_timeout update_docs,'couchdb@node3',<<"shards/40000000-5fffffff/db.1519652499">>
   [error] 2018-05-28T07:49:11.151000Z couchdb@node1 <0.733.9> ccdf060570 fabric_worker_timeout update_docs,'couchdb@node2',<<"shards/40000000-5fffffff/db.1519652499">>
   [error] 2018-05-28T07:49:11.151000Z couchdb@node1 <0.733.9> ccdf060570 req_err(715961248) unknown_error : function_clause
       [<<"chttpd_db:update_doc_result_to_json/1 L931">>,<<"lists:map/2 L1238">>,<<"chttpd_db:db_req/2 L448">>,<<"chttpd:process_request/1 L295">>,<<"chttpd:handle_request_int/1 L231">>,<<"mochiweb_http:headers/6 L91">>,<<"proc_lib:init_p_do_apply/3 L240">>]
   [error] 2018-05-28T07:49:12.607000Z couchdb@node1 <0.21277.17> -------- fabric_worker_timeout update_docs,'couchdb@node1',<<"shards/40000000-5fffffff/db.1519652499">>
   [error] 2018-05-28T07:49:12.607000Z couchdb@node1 <0.21277.17> -------- fabric_worker_timeout update_docs,'couchdb@node3',<<"shards/40000000-5fffffff/db.1519652499">>
   [error] 2018-05-28T07:49:12.607000Z couchdb@node1 <0.21277.17> -------- fabric_worker_timeout update_docs,'couchdb@node2',<<"shards/40000000-5fffffff/db.1519652499">>
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services