couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Loshkarev <elf2...@gmail.com>
Subject Re: Parallel views in Python
Date Wed, 04 Jan 2012 21:59:16 GMT
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 <kxepal@gmail.com>:
> On Thu, Jan 5, 2012 at 1:09 AM, Alexey Loshkarev <elf2001@gmail.com> wrote:
>> 2012/1/4 Alexander Shorin <kxepal@gmail.com>:
>>> 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:elf2001@gmail.com

Mime
View raw message