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:06:04 UTC

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

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

 ##########
 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:
   The same for full text index, i.e.  index generated by dreyfys/clouseau. The directory containing full text index will be renamed from `foo.1234567890` to `foo.20170912.092828.deleted.1234567890` for recovery.

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