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

add delete options for controlling file deletion

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 1.0.2
    • None
    • Database Core
    • None
    • Regular Contributors Level (Easy to Medium)

    Description

      Even after switching to an extents-based filesystem I've noticed that deleting files after compaction can sometimes be terribly painful and slow. Additionally, deleting large pre-compact database and view files places extra load on the server that may be best kept to off hours. These sorts of large databases might be impossible to run a complete compact cycle on in short time. I'm suggesting we add an option to allow couch to leave files to be deleted in the .delete directories so administrators can delete them at their leisure (presumably at off hours or with a tool like ionice).

      Attachments

        1. respect_del_opts_on_db_init.patch
          2 kB
          Randall Leeds
        2. delete_options.patch
          3 kB
          Randall Leeds

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: