And what did I must saw there?
$ cat dummy.log
[2012-01-04 23:58:00,353] [__main__] [INFO] Input:
'["reset",{"reduce_limit":true,"timeout":5000}]\n'
[2012-01-04 23:58:00,353] [__main__] [INFO] Process command `reset`
[2012-01-04 23:58:00,353] [__main__] [INFO] Output:
'true\n'
[2012-01-04 23:58:00,354] [__main__] [INFO] Input:
'["add_fun","def fun(doc):\\n  yield None, doc._id"]\n'
[2012-01-04 23:58:00,354] [__main__] [INFO] Process command `add_fun`
[2012-01-04 23:58:00,354] [__main__] [INFO] Output:
'true\n'
[2012-01-04 23:58:00,354] [__main__] [INFO] Input:
'["map_doc",{"_id":"344f8ed813a2eff05fb8740e1d00026c","_rev":"1-0399b91119eed794140867f637ca1509","type":"bla","value":"foo"}]\n'
[2012-01-04 23:58:00,354] [__main__] [INFO] Process command `map_doc`


There are two documents in database, but viewserver received one of them.
Plain synchronous mode.

2012/1/4 Alexander Shorin <[email protected]>:
> On Thu, Jan 5, 2012 at 1:09 AM, Alexey Loshkarev <[email protected]> wrote:
>> 2012/1/4 Alexander Shorin <[email protected]>:
>>> Hi!
>>>
>>> Actually this happened because of copied viewserver design: CouchDB
>>> could pass documents to viewserver in async way, but this feature
>>> doesn't used(by no one afaik),
>>
>> Proof link?
>> Oficial wiki speaks nothing about it.
>> I'm also interesting in parallel docs mapping, but current
>> documentation doesn't cover it.
>>
>
> No proof link, just set next script as viewserver:
> https://gist.github.com/1562296
> and take a look in logs.
>
>
> --
> ,,,^..^,,,



-- 
----------------
Best regards
Alexey Loshkarev
mailto:[email protected]

Reply via email to