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/03/23 17:07:31 UTC

[GitHub] [couchdb] davisp commented on a change in pull request #2666: [WIP] soft-deletion for database

davisp commented on a change in pull request #2666: [WIP] soft-deletion for database
URL: https://github.com/apache/couchdb/pull/2666#discussion_r396591094
 
 

 ##########
 File path: src/fabric/include/fabric2.hrl
 ##########
 @@ -17,10 +17,13 @@
 
 % Prefix Definitions
 
+-define(DEFAULT_DB_PREFIX, <<16#FD>>).
+
 % Layer Level: (LayerPrefix, X, ...)
 
 -define(CLUSTER_CONFIG, 0).
 -define(ALL_DBS, 1).
+-define(DELETED_DBS, 2).
 
 Review comment:
   For the HCA, you can either create a new subspace here with something like `DB_NAME_HCA` at 3 or alternatively create a key in the `CLUSTER_CONFIG` subspace. All you need for the HCA API is a specific key that's used with the HCA API.

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