summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoan Touzet <joant@atypical.net>2018-04-13 14:37:10 -0400
committerJoan Touzet <joant@atypical.net>2018-04-13 14:48:20 -0400
commit084f2975148d8a8f752710c964e5ba7a0ebc1152 (patch)
treef3d591455a5f6fdab971e9356a7a26c356703cf3
parent356069ddd04251830d06fa9612ad636f06726e31 (diff)
downloadcouchdb-db-recovery.tar.gz
Document enable_database_recovery ini optiondb-recovery
-rw-r--r--rel/overlay/etc/default.ini6
1 files changed, 6 insertions, 0 deletions
diff --git a/rel/overlay/etc/default.ini b/rel/overlay/etc/default.ini
index 66ade00ec..8b47cb04a 100644
--- a/rel/overlay/etc/default.ini
+++ b/rel/overlay/etc/default.ini
@@ -58,6 +58,12 @@ changes_doc_ids_optimization_threshold = 100
; The default storage engine to use when creating databases
; is set as a key into the [couchdb_engines] section.
default_engine = couch
+;
+; Enable this to only "soft-delete" databases when DELETE /{db} 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.
+;enable_database_recovery = false
[couchdb_engines]
; The keys in this section are the filename extension that