[ 
https://issues.apache.org/jira/browse/COUCHDB-1283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Filipe Manana updated COUCHDB-1283:
-----------------------------------

    Attachment: couchdb-1283_trunk.patch
                couchdb-1283_12x.patch

Paul,

I made the necessary adaptions to the test case to use the new view modules. I 
also update couch_mrview_compactor, but this is not even close to what was done 
for 1.2.x (and 1.1.x) - namely we need to keep the database open for the 
eventual case of recompaction and when recompaction happens, reopen the 
database atomically via couch_db:reopen/1.

Running this test, I get some error for couch_mrview_compactor when recompact 
happens.
Hope you can give a hand here, as I'm not yet very familiar with the new view 
modules.

Thanks

> Impossible to compact view groups when number of active databases > 
> max_dbs_open
> --------------------------------------------------------------------------------
>
>                 Key: COUCHDB-1283
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1283
>             Project: CouchDB
>          Issue Type: Bug
>            Reporter: Filipe Manana
>            Assignee: Filipe Manana
>             Fix For: 1.1.1, 1.2
>
>         Attachments: couchdb-1283_12x.patch, couchdb-1283_trunk.patch
>
>
> Mike Leddy recently reported this issue in the users mailing list:
> http://mail-archives.apache.org/mod_mbox/couchdb-user/201109.mbox/%[email protected]%3E
> The attached patch is the simplest solution I can think of - keeping the 
> database open until the view compaction finishes.
> The patch includes a test case.
> It will need to be updated after Paul's view index refactoring (COUCHDB-1270).

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

        

Reply via email to