davisp commented on a change in pull request #2666: [WIP] soft-deletion for
database
URL: https://github.com/apache/couchdb/pull/2666#discussion_r396592286
##########
File path: src/fabric/src/fabric2_db.erl
##########
@@ -213,6 +219,26 @@ delete(DbName, Options) ->
end.
+deleted_dbs_info(DbName, Options) ->
+ Options1 = lists:keystore(user_ctx, 1, Options, ?ADMIN_CTX),
+ Result = fabric2_fdb:transactional(DbName, Options1, fun(TxDb) ->
+ fabric2_fdb:deleted_dbs_info(TxDb)
+ end),
+ {ok, lists:reverse(Result)}.
+
+
+restore(DbName, DesDbName, TimeStamp, Options) ->
Review comment:
Super picky but `DestDbName` or `TgtDbName`. Took me a while to realized
that `DesDbName` isn't a typo.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services