davisp 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_r127758339
##########
File path: src/couch/src/couch_file.erl
##########
@@ -264,6 +265,19 @@ rename_file(Original) ->
Else -> Else
end.
+rename_dir(RootDelDir, Original, DbName) ->
+ DbDir = binary_to_list(DbName) ++ "_design",
+ [DbPureName | _R] = lists:reverse(filename:split(binary_to_list(DbName))),
Review comment:
What is this logic doing? Its not making sense to me why we'd be looking at
just the last element of the DbName.
----------------------------------------------------------------
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