davisp commented on a change in pull request #1842: Implement partition size
limits
URL: https://github.com/apache/couchdb/pull/1842#discussion_r248015427
##########
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">>,
Review comment:
How about "Partition limit exceeded due to update on '0000:0043'". It seems
useful to know which partition was full.
----------------------------------------------------------------
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