couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Darren New <>
Subject Re: [jira] Created: (COUCHDB-86) (CouchDB on Windows) compaction can not be done.
Date Wed, 25 Jun 2008 16:14:18 GMT
Li Zhengji (JIRA) wrote:
> During compacting, rename the current DB file to a .old file is not allowed on Windows.

If the problem is with renaming the file because it is open, you can do 
this on Windows (with NTFS at least) by opening the file with the 
correct mode.

You have to have every open of the file add delete/rename permissions to 
the CreateFile calls that open that file. It's not disallowed, it's that 
you've asked it to be disallowed. It's a one-flag change to make it allowed.

Darren New / San Diego, CA, USA (PST)
  Helpful housekeeping hints:
   Check your feather pillows for holes
    before putting them in the washing machine.

View raw message