You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ji...@apache.org on 2020/04/09 06:04:40 UTC
[couchdb] branch set-softdelete-default created (now 05fc196)
This is an automated email from the ASF dual-hosted git repository.
jiangphcn pushed a change to branch set-softdelete-default
in repository https://gitbox.apache.org/repos/asf/couchdb.git.
at 05fc196 fake change
This branch includes the following new commits:
new 05fc196 fake change
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[couchdb] 01/01: fake change
Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jiangphcn pushed a commit to branch set-softdelete-default
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 05fc196ef2961737d1a01448716a1f9a96970e86
Author: jiangph <ji...@cn.ibm.com>
AuthorDate: Thu Apr 9 13:57:17 2020 +0800
fake change
---
src/fabric/src/fabric2_fdb.erl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/fabric/src/fabric2_fdb.erl b/src/fabric/src/fabric2_fdb.erl
index d96c3ae..5d1a892 100644
--- a/src/fabric/src/fabric2_fdb.erl
+++ b/src/fabric/src/fabric2_fdb.erl
@@ -345,8 +345,8 @@ reopen(#{} = OldDb) ->
delete(#{} = Db) ->
DoRecovery = fabric2_util:do_recovery(),
case DoRecovery of
- true -> soft_delete_db(Db);
- false -> hard_delete_db(Db)
+ false -> soft_delete_db(Db);
+ true -> hard_delete_db(Db)
end.