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

 ##########
 File path: src/chttpd/src/chttpd_db.erl
 ##########
 @@ -79,6 +79,8 @@ 
handle_request(#httpd{path_parts=[DbName|RestParts],method=Method}=Req)->
          end;
     {_, []} ->
         do_db_req(Req, fun db_req/2);
+    {_, [<<"_restore">>|_]} ->
 
 Review comment:
   This needs to go into the handlers list [1] and not be hard coded at this 
level.
   
   [1] 
https://github.com/apache/couchdb/blob/prototype/fdb-layer/src/chttpd/src/chttpd_httpd_handlers.erl#L20-L33

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