couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filipe David Manana <fdman...@apache.org>
Subject Re: [jira] [Commented] (COUCHDB-1153) Database and view index compaction daemon
Date Tue, 16 Aug 2011 09:46:11 GMT
On Tue, Aug 16, 2011 at 2:38 AM, Benoit Chesneau <bchesneau@gmail.com> wrote:
> On Tue, Aug 16, 2011 at 11:30 AM, Filipe Manana (JIRA) <jira@apache.org> wrote:
>>
>>    [ https://issues.apache.org/jira/browse/COUCHDB-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085605#comment-13085605
]
>>
>> Filipe Manana commented on COUCHDB-1153:
>> ----------------------------------------
>>
>> I'm -1 on adding such a _meta thing.
>
> why?

>From your description, that _meta sounds like something that can be
done with _local docs. But that is a whole separate discussion and
topic I think.

>
>
>> I don't understand either that idea of _changes nor how it can be applied.
>
> creating db, adding db document to dbs db., update -> update db document.

You'll have to elaborate a lot more than that :) I'm not familiar with
that bigcouch special db nor elasticsearch.

Reacting to a changes feed of some database it's not something easy
(the _replicator db is such a case and might have been the hardest
thing i did ever for couch, really)

I suspect what you think is something like rather than scanning
periodically, to let the daemon be notified when a db (or view) can be
compacted?
At some point I considered reacting to db_updated events but this was
pretty much flooding the the event handler (daemon).
Was this your idea?

>



-- 
Filipe David Manana,
fdmanana@gmail.com, fdmanana@apache.org

"Reasonable men adapt themselves to the world.
 Unreasonable men adapt the world to themselves.
 That's why all progress depends on unreasonable men."

Mime
View raw message