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/01/22 13:52:28 UTC

[GitHub] [couchdb-documentation] flimzy commented on a change in pull request #482: Document enable_database_recovery

flimzy commented on a change in pull request #482: Document enable_database_recovery
URL: https://github.com/apache/couchdb-documentation/pull/482#discussion_r369570064
 
 

 ##########
 File path: src/config/couchdb.rst
 ##########
 @@ -194,3 +194,16 @@ Base CouchDB Options
            parameter was defined: :config:option:`httpd/max_http_request_size`,
            which can be used to limit maximum http request sizes. After upgrade,
            it is advisable to review those settings and adjust them accordingly.
+
+    .. config:option:: enable_database_recovery :: Enable database recovery
+
+        Enable this to only "soft-delete" databases when
+        :ref:`DELETE /{db} <api/db>` DELETE  requests are made. This will place
+        a ``.recovery`` directory in your data directory and move deleted
+        databases/shards there instead. You can then manually delete these
+        files later, as desired.
+
 
 Review comment:
   What happens in the case of deleting multiple databases with the same name?  i.e. create "foo", soft-delete "foo", re-create "foo", soft-delete "foo".
   
   Is the original "foo" lost, or are these disambiguated in some way?

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


With regards,
Apache Git Services