incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Smith <...@apache.org>
Subject Re: Which revisions does _revs_limit prune?
Date Thu, 05 Sep 2013 10:56:14 GMT
I think this will not add much to the conversation. But I wrote up my
investigation of how couch figures out revision lengths when reading
documents.

https://gist.github.com/jhs/1577159

@Noah, this is the sort of thing I put into Gist instead of the Wiki due to
all the wiki paper cuts.


On Sun, Sep 1, 2013 at 9:27 AM, Jens Alfke <jens@couchbase.com> wrote:

>
> On Aug 31, 2013, at 2:20 PM, Paul Davis <paul.joseph.davis@gmail.com>
> wrote:
>
> > So the thing to point out is the documentation that Jens found is lying.
> > revs_limit is the depth limit, it doesn't limit the total number of
> > revisions.
>
> Oh — I hadn’t realized that from Dale’s description. And I just got
> through implementing it [in the Couchbase Sync Gateway] as an actual number
> of revisions. Should be easy enough to change, though.
>
> —Jens

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message