You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Randall Leeds (JIRA)" <ji...@apache.org> on 2010/06/24 21:50:51 UTC
[jira] Commented: (COUCHDB-86) (CouchDB on Windows) compaction can
not be done.
[ https://issues.apache.org/jira/browse/COUCHDB-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12882302#action_12882302 ]
Randall Leeds commented on COUCHDB-86:
--------------------------------------
Damien committed COUCHDB-780, which uses the same approach as here.
I don't think there's anything left to be done.
Is there anything this does that's still missing?
Maybe using a single deleted directory (like in this patch) is cleaner than leaving .delete files all over the data tree, though...
> (CouchDB on Windows) compaction can not be done.
> ------------------------------------------------
>
> Key: COUCHDB-86
> URL: https://issues.apache.org/jira/browse/COUCHDB-86
> Project: CouchDB
> Issue Type: Bug
> Components: Build System
> Affects Versions: 0.8
> Environment: Windows XP, Erlang/OTP R12B-3
> Reporter: Li Zhengji
> Assignee: Paul Joseph Davis
> Priority: Blocker
> Fix For: 1.0
>
> Attachments: windows_file_fix_2.patch
>
> Original Estimate: 5h
> Remaining Estimate: 5h
>
> During compacting, rename the current DB file to a .old file is not allowed on Windows.
> A possible workaround for this could be:
> 1. Close current DB file (.couch);
> 2. Send db_updated to update to use .compact;
> 3. After 5sec, delete the .couch file; ---- This is done in a linked process, after that, this process send a message to update_loop;
> 4. After received the message in update_loop, close current DB file which is a .compact file, then rename it to .couch;
> 5. Finally, db_updated again to use this new .couch file.
> Maybe, there would be a "pause" in service?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.