Re: [jira] [Created] (COUCHDB-1153) Database and view index compaction daemon

2011-08-24 Thread Benoit Chesneau
On Tuesday, August 23, 2011, Damien Katz (JIRA)  wrote:
>
>[
https://issues.apache.org/jira/browse/COUCHDB-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13089512#comment-13089512]
>
> Damien Katz commented on COUCHDB-1153:
> --
>
> Robert, Benoit, your issues can still be addressed. You can submit patches
that improve upon Filipes work. But telling Filipe to code the patch your
way, without code is not how this community works. Filipe's work is a
feature people care about, and any objections of correctness have been
addressed. Switching the code to an evented model, or any other improvements
is welcome from you or any other community member, but users want this
feature, and Filipe should not be expected to code it up to everyone else
expectations before any check-in can occur. Improvement can, and should,
happen continuously.
>

Code correctness != it works. Anyway If we make it a rule I'm OK with that.


[jira] [Created] (COUCHDB-1153) Database and view index compaction daemon

2011-05-10 Thread Filipe Manana (JIRA)
Database and view index compaction daemon
-

 Key: COUCHDB-1153
 URL: https://issues.apache.org/jira/browse/COUCHDB-1153
 Project: CouchDB
  Issue Type: New Feature
 Environment: trunk
Reporter: Filipe Manana
Priority: Minor


I've recently written an Erlang process to automatically compact databases and 
they're views based on some configurable parameters. These parameters can be 
global or per database and are: minimum database fragmentation, minimum view 
fragmentation, allowed period and "abortion" (whether an ongoing compaction 
should be stopped if it doesn't finish within the allowed period). These 
fragmentation values are based on the recently added "data_size" parameter to 
the database and view group information URIs (COUCHDB-1132).

I've documented the .ini configuration here:  
https://github.com/fdmanana/couchdb/compare/compaction_daemon#diff-0

The full patch is mostly a new module but also does some minimal changes and a 
small refactoring to the view compaction code, not changing the current 
behaviour.
Patch is at:

https://github.com/fdmanana/couchdb/compare/compaction_daemon

By default the daemon is idle, without any configuration enabled. I'm open to 
suggestions on additional parameters and a better configuration system.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira