Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
-
New Contributors Level (Easy)
Description
External indexers need an efficient way to detect changes across all databases when they boot up. The _all_dbs endpoint only lists the names. We propose adding include_seqs=true which would return this style output instead;
[
{"name":"db1","update_seq",5000},
{"name":"db2","update_seq",2500}]
this would allow an external indexer to skip any database that has not changed.
As external indexers often store their configuration changes inside design documents, it might also be helpful if the update_seq of the latest change to any design document was also included. This will allow external indexers to skip even databases with changes as long as those changes are not to design documents;
[
{"name":"db1","update_seq",5000, "ddoc_update_seq":23},
{"name":"db2","update_seq",2500, "ddoc_update_seq":2500}]
Attachments
Issue Links
- is related to
-
COUCHDB-360 Add global _changes feature
- Resolved