jiangphcn commented on issue #2666: [WIP] soft-deletion for database
URL: https://github.com/apache/couchdb/pull/2666#issuecomment-601693049
 
 
   > Thinking about this some more I wonder if it would make sense to separate 
enabling HCA from soft-deletion. Those are rather independent features. So for 
example, we'd have a PR to enable HCA. We'd test that make sure that works. 
Then, as a separate piece of work, we'd enable soft-deletion. Would that be 
reasonable?
   
   Yes, it is totally reasonable. We can have 2 PRs, i.e. one is for enabling 
HCA, and another is for soft-deletion. The only point I have is where to call ` 
DbPrefixAllocator = erlfdb_hca:create(?ERLFDB_EXTEND(DbId, <<"hca">>)),`. In 
https://github.com/cloudant-labs/couchdb-erlfdb/pull/16/files#diff-cf5acaebd8465ae3276370bbf8d7aaf1R383,
 it was supposed that this can be called once or limited times, but after 
moving to `fabric2_fdb.erl `,  I stil try to find right place to call it.

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

Reply via email to