couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikeal Rogers <mikeal.rog...@gmail.com>
Subject Re: view server line protocol changes for _list
Date Fri, 11 Jun 2010 01:52:45 GMT
I just want to kick the tires on this before we start locking things up for 1.0.

Do we think we can get this in?

-Mikeal

On Tue, May 25, 2010 at 11:24 PM, Dirkjan Ochtman <dirkjan@ochtman.nl> wrote:
> On Wed, May 26, 2010 at 01:36, Mikeal Rogers <mikeal.rogers@gmail.com> wrote:
>> I'd like to propose the following changes to the view server protocol
>> for list functions.
>>
>>>>> ["lists", "name"]
>> <<< ["getRow"]
>>>>> ["list_row", {"key":"k","value":"v"}]
>> <<< ["getRow"]
>>>>> ["list_row", {"key":"k","value":"v"}]
>> <<< ["start", "chunk", {"headers":{}, "code":200}]
>> <<< ["send", "chunk"]
>> <<< ["send", "chunk"]
>> <<< ["getRow"]
>>>>> ["list_row", {"key":"k","value":"v"}]
>> <<< ["getRow"]
>>>>> ["list_end"]
>> <<< ["end", "tail chunk"]
>>
>> The big change is that there is no longer a strict request/response.
>> The erlang side stays idle accepting chunks to send until it gets a
>> ["getRow"] call.
>
> Hopefully it will be called get_row rather than getRow, if we already
> have list_row?
>
> Cheers,
>
> Dirkjan
>

Mime
View raw message