jiangphcn commented on issue #2666: soft-deletion for database
URL: https://github.com/apache/couchdb/pull/2666#issuecomment-608646035
 
 
   hey @davisp 
   
   I think that you are *not* the only one that's been assuming that this is a 
mirror of the GET _dbs_info API end point and working from that perspective.  
From https://github.com/apache/couchdb/pull/2666/#issuecomment-608411228, you 
can see that I am for that and implemented with this approach.
   
   In addition, I don't support the suggestion about `the GET 
/_deleted_dbs/DbName/Timestamp API`. As i mentioned before, it looks that user 
most likely should review information of the deletion time, doc number, disk 
size to decide to restore it or permanently delete it. It is convenient to 
return DbInfo one time instead of using the progressive approach like mentioned 
in [1] to get the detailed information of the deleted db.
   ```
   GET /_deleted_dbs
   GET /_deleted_dbs/DbName
   GET /_deleted_dbs/DbName/2020-01-01T00:00:00
   ```
   
   

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