wohali commented on a change in pull request #862: [WIP] Configurably whitelist
certain db/docids as valid
URL: https://github.com/apache/couchdb/pull/862#discussion_r142512235
##########
File path: rel/overlay/etc/default.ini
##########
@@ -49,9 +49,12 @@ changes_doc_ids_optimization_threshold = 100
; applied conservatively. For example 1.0e+16 could be encoded as 1e16, so 4
used
; for size calculation instead of 7.
;max_document_size = 4294967296 ; bytes
-
; Maximum attachment size.
; max_attachment_size = infinity
+;
+; Whitelisted reserved document names (to allow modification of shard maps)
+; List of tuples of the form {dbname, [docid, ...]}
+;whitelist_doc_ids = [{"_dbs", ["_users", "_replicator", "_global_changes"]}]
Review comment:
I think using `SYSTEM_DATABASES` from `couch_db.hrl` is the best bet here,
since we already define that centrally. Pushing a new version momentarily...
----------------------------------------------------------------
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