couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filipe David Manana <>
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 <> wrote:
> On Tue, Aug 16, 2011 at 11:30 AM, Filipe Manana (JIRA) <> wrote:
>>    [
>> 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
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,,

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

View raw message