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 2020/10/16 07:24:12 UTC

[GitHub] [couchdb] jiangphcn commented on a change in pull request #3215: convert erlfdb_error 2101 to transaction_too_large

jiangphcn commented on a change in pull request #3215:
URL: https://github.com/apache/couchdb/pull/3215#discussion_r506117778



##########
File path: src/chttpd/src/chttpd.erl
##########
@@ -362,6 +362,8 @@ catch_error(HttpReq, error, decryption_failed) ->
     send_error(HttpReq, decryption_failed);
 catch_error(HttpReq, error, not_ciphertext) ->
     send_error(HttpReq, not_ciphertext);
+catch_error(HttpReq, error, {erlfdb_error, 2101}) ->
+    send_error(HttpReq, transcation_too_large);

Review comment:
       Good catch, and fixed in 4f7caf7 




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org