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

Only delete files with .view extension

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.1
    • Fix Version/s: 1.2.1
    • Component/s: Database Core
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: