You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/03/08 03:44:37 UTC

[jira] [Commented] (COUCHDB-3305) don't crash with invalid input to built in reducer function

    [ https://issues.apache.org/jira/browse/COUCHDB-3305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15900647#comment-15900647 ] 

ASF subversion and git services commented on COUCHDB-3305:
----------------------------------------------------------

Commit 9f9c48221a96452f36790aa8dd52c557d65b9cde in couchdb-couch's branch refs/heads/master from [~tonysun83]
[ https://git-wip-us.apache.org/repos/asf?p=couchdb-couch.git;h=9f9c482 ]

Return error row instead of crashing

When input is invalid for built in reducers, we return an error row
instead of crashing. Thanks to davisp for providing the elegant
solution.

COUCHDB-3305


> don't crash with invalid input to built in reducer function
> -----------------------------------------------------------
>
>                 Key: COUCHDB-3305
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-3305
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Database Core
>            Reporter: Tony Sun
>            Assignee: Tony Sun
>
> When users use a built in reduce function such as _sum, and documents have invalid input, we currently crash and return a 500 with error message. This improvement will return an error row without crashing for better debugging.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)