eiri commented on a change in pull request #597: Move view index files to
.view_deleted when db is deleted
URL: https://github.com/apache/couchdb/pull/597#discussion_r125812633
##########
File path: src/couch/src/couch_file.erl
##########
@@ -264,6 +264,16 @@ rename_file(Original) ->
Else -> Else
end.
+rename_dir(RootDelDir, Original, DbName) ->
+ DbDir = binary_to_list(DbName) ++ "_design",
+ Deleted_Index_Dir = filename:join([RootDelDir, ".view_recovery", DbDir]),
Review comment:
I'd call recovery dir just `.recovery` if we'll want to use the same
approach for db files recovery, the same as we call delete dir just `.delete`
and not `.view_delete`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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