incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Dionne (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1296) _changes style feed for database create/delete
Date Sat, 19 Nov 2011 11:16:52 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-1296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13153455#comment-13153455
] 

Bob Dionne commented on COUCHDB-1296:
-------------------------------------

I can see this is a useful feature. I would think /db_updates  which would include create/delete
dbs as well as updates, .ie. all changes, would be quite a hefty feed depending on use cases.

The idea of a database database is also interesting, we do that in BigCouch, storing a doc
for each db created in a shard_db database. This is to support the partition map. Anyway as
Sam notes a database db gives you the create/delete changes for free
                
> _changes style feed for database create/delete
> ----------------------------------------------
>
>                 Key: COUCHDB-1296
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1296
>             Project: CouchDB
>          Issue Type: New Feature
>            Reporter: Sam Bisbee
>
> It would be great to have a _changes style feed for when databases get created and deleted.
Currently if you want to watch the _changes feed or start replication jobs for certain types
of databases (say they're name spaced) you have to get /_all_dbs and then poll it to check
for changes, requiring a full array scan.
> This feed would allow me to hit /_all_dbs once and then get updates without hitting /_all_dbs
every second and scanning a potentially large array.
> Cheers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message