couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <rnew...@apache.org>
Subject Re: [2/5] git commit: use couch_db calls instead of couch_btree
Date Wed, 09 Nov 2011 10:48:11 GMT
Randall,

Did we miss the chance to review this work before it landed?

B.

On 9 November 2011 10:36, Benoit Chesneau <bchesneau@gmail.com> wrote:
> On Wed, Nov 9, 2011 at 11:27 AM, Filipe David Manana
> <fdmanana@apache.org> wrote:
>> Randall, I have to disagree on this one.
>>
>> The reason to not call couch_db:get_design_docs/1 is to avoid reading
>> the body of the documents, which is not needed.
>>
>> Plus, couch_db:get_design_docs/1 skips deleted documents, which will
>> causes _changes rows to be skipped.
>>
>
> maybe couch_db:get_design_docs could take some options to handle the
> case. I think it's a good idea to use couch_db as abstraction to the
> deep level.
>
> - benoit
>

Mime
View raw message