nickva opened a new pull request, #5704:
URL: https://github.com/apache/couchdb/pull/5704
* Remove `max_document_id_number` setting. Purged revisions are already
limited via `max_revisions_number` so it's somewhat redundant to also limit
them via doc ids. For example, the effect of setting max docs ids = 1000, and
max revisions = 500 would be odd since the limits are dependent, and max
revisions will limit the max docs ids anyway (unless we discard case of users
posting doc ID entries with empty revisions lists). How these limits interact
can be confusing so let's have just one of them.
* Make max_revisions_number unlimited by default. None of the other bulk
endpoints like `_bulk_docs` and `_bulk_get` have limits so it's awkward to pick
a limit for `_purge`. Depending on hardware environment some systems can handle
more than 1000 revisions, some smaller ones might not be able to handle 1000,
so let's not pick a default. However still keep the setting around for
compatibility, some users may still want limit the revisions if they wants
based on their needs.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]