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

cleanup views does not work when a database has no design documents

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.2
    • 1.1.1, 1.2
    • Build System
    • None
    • New Contributors Level (Easy)

    Description

      When a database has no design documents the cleanup code creates an empty regex which matches everything, thus saving all the index files. In this case it should delete everything instead.

      Attachments

        1. fix_empty_ddoc_cleanup.patch
          1.0 kB
          Randall Leeds
        2. view_cleanup_etap.patch
          4 kB
          Randall Leeds

        Activity

          People

            tilgovi Randall Leeds
            tilgovi Randall Leeds
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: