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

deleting db file is asynchronous & file rename in couch_file:delete

    Details

    • Type: Question
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Database Core
    • Labels:
      None

      Description

      I wonder why we spawn the file deletion when we delete a database. On slow io machine it introduces latency. I don't see any reason we make this deletion asynchronous ?

      About couch_file:delete, we first rename the file before deleting it. Why are we doing that ? Is this for windows ?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                benoitc Benoit Chesneau
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: