davisp commented on a change in pull request #1842: Implement partition size 
limits
URL: https://github.com/apache/couchdb/pull/1842#discussion_r248020562
 
 

 ##########
 File path: src/chttpd/src/chttpd.erl
 ##########
 @@ -873,6 +873,9 @@ error_info(conflict) ->
     {409, <<"conflict">>, <<"Document update conflict.">>};
 error_info({conflict, _}) ->
     {409, <<"conflict">>, <<"Document update conflict.">>};
+error_info({partition_overflow, DocId}) ->
+    Descr = <<"'", DocId/binary, "' exceeds partition limit">>,
+    {403, <<"partition_overflow">>, Descr};
 
 Review comment:
   I don't think so. 413 is when the request body itself is too big.

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