Aha. Sounds good. 1.3 will be really nice release. 2012/1/5 Alexander Shorin <[email protected]>: > On Thu, Jan 5, 2012 at 1:59 AM, Alexey Loshkarev <[email protected]> wrote: >> 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. >> > > Something had changed in Apache CouchDB 1.3.0a-adb62ce-git? I've got > multiple map_doc commands request, so it looks to be closed to MISD. > >> [2012-01-05 02:09:04,705] [__main__] [INFO] Input: >> '["reset",{"reduce_limit":true,"timeout":5000}]\n' >> [2012-01-05 02:09:04,705] [__main__] [INFO] Process command `reset` >> [2012-01-05 02:09:04,705] [__main__] [INFO] Output: >> 'true\n' >> [2012-01-05 02:09:04,706] [__main__] [INFO] Input: >> '["add_fun","def fun(doc):\\n yield None, doc"]\n' >> [2012-01-05 02:09:04,706] [__main__] [INFO] Process command `add_fun` >> [2012-01-05 02:09:04,706] [__main__] [INFO] Output: >> 'true\n' >> [2012-01-05 02:09:04,706] [__main__] [INFO] Input: >> '["map_doc",{"_id":"189","_rev":"1-64ea1aa694de7e60f064f44bf29cc2bc","integer":189,"string":"189"}]\n' >> [2012-01-05 02:09:04,706] [__main__] [INFO] Process command `map_doc` >> [2012-01-05 02:09:04,707] [__main__] [INFO] Input: >> '["map_doc",{"_id":"188","_rev":"1-ce20e386f9785d977f9081bab417e649","integer":188,"string":"188"}]\n' >> [2012-01-05 02:09:04,707] [__main__] [INFO] Process command `map_doc` >> [2012-01-05 02:09:04,707] [__main__] [INFO] Input: >> '["map_doc",{"_id":"187","_rev":"1-e10d11fc429bea17734b0530933d39c4","integer":187,"string":"187"}]\n' >> [2012-01-05 02:09:04,707] [__main__] [INFO] Process command `map_doc` >> [2012-01-05 02:09:04,707] [__main__] [INFO] Input: >> '["map_doc",{"_id":"186","_rev":"1-07abae9cc1b1f944cea3aeab25645133","integer":186,"string":"186"}]\n' > > However, idea have failed due to CouchDB needs to bind somehow doc._id > to mapped doc result, so nonsequential output makes it crush. But it > should be a nice feature request I suppose(: > > -- > ,,,^..^,,,
-- ---------------- Best regards Alexey Loshkarev mailto:[email protected]
