[ https://issues.apache.org/jira/browse/COUCHDB-1358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13165234#comment-13165234 ]
Paul Joseph Davis commented on COUCHDB-1358: -------------------------------------------- I'm not super against it by any means and was mostly thinking of the new indexers. If no one else objects I'll commit this. > Only delete files with .view extension > -------------------------------------- > > Key: COUCHDB-1358 > URL: https://issues.apache.org/jira/browse/COUCHDB-1358 > Project: CouchDB > Issue Type: Improvement > Components: Database Core > Affects Versions: 1.1.1 > Reporter: Volker Mische > Priority: Minor > Fix For: 1.1.2 > > Attachments: cleanup-views-only.patch > > > Currently all files in the view directory that are not used by any View group > are deleted by the _view_cleanup endpoint. If other indexers (like GeoCouch) > store indexes in the same directory, they get deleted as well. > The attached patch changes the bahaviour and only deletes files ending with > ".view". Leftovers from compaction are deletes as well as they end with > ".compact.view". -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira