AlexanderKaraberov commented on issue #1166: Fix: badmatch crash in 
couch_mrview_util.erl reduced_external_size()
URL: https://github.com/apache/couchdb/pull/1166#issuecomment-365878154
 
 
   UPD: 
   Today on vanilla CouchDB 2.1 without this fix ^ encountered this error again:
   
   >  
{'EXIT',{{{case_clause,{ok,0}},[{couch_mrview_util,reduced_external_size,1,[{file,"src/couch_mrview_util.erl"},{line,800}]},
   
   So as I said instead of a general clause `_ -> 0` I can insert `{ok, _} -> 
0`, this will fix the error and crash as well.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to