Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1358

Only delete files with .view extension

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.1
    • 1.2.1
    • Database Core
    • None

    Description

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

      Attachments

        1. cleanup-views-only.patch
          0.5 kB
          Volker Mische

        Activity

          People

            Unassigned Unassigned
            vmx Volker Mische
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: