iilyak opened a new pull request #1586: Improve cleanup_index_files URL: https://github.com/apache/couchdb/pull/1586 ## Overview The previous implementation was based on a search using {view_index_dir}/.shards/*/{db_name}.[0-9]*_design/mrview/* This wildcard includes all shards for all indexes of all databases. This caused performance issues in the case when there are thousands of databases on the node. This PR changes the search to look at index_directory of a database. ## Testing recommendations ``` make && make eunit apps=couch tests=mrview_cleanup_index_files_test_ ``` ## Related Issues or Pull Requests N/A ## Checklist - [x] Code is written and works correctly; - [x] Changes are covered by tests; - [ ] Documentation reflects the changes;
---------------------------------------------------------------- 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
