couchdb-replication mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Alfke <j...@couchbase.com>
Subject What is _missing_revs and how is it different from _revs_diff?
Date Mon, 31 Mar 2014 17:49:45 GMT
{Accidentally sent this to the ‘user’ list first, when it should have gone here. Apologies
for people who get it twice}

I just discovered a “/db/_missing_revs” endpoint in the API spec[1]. It looks as though
it’s mostly identical to _revs_diff. Is this new? And what’s the advantage over _revs_diff?
The response contains less information.

(Actually, I discovered _missing_revs via a bug report from a user who found CouchDB’s replicator
sending it to the Couchbase Sync Gateway, which doesn’t have any handler for it. Oops.)

—Jens

[1]: http://docs.couchdb.org/en/latest/api/database/misc.html#db-missing-revs
Mime
View raw message