couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan White (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-801) Add 'ForceReReduce=true' option to views to ensure that reduce function is called
Date Wed, 16 Jun 2010 21:50:23 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12879522#action_12879522
] 

Bryan White commented on COUCHDB-801:
-------------------------------------

Thank you for that link. I've DL-ed SpiderMonkey 1.8.0rc1, installed MozillaBuildSetup 1.4,
compiled SpiderMonkey and successfully run 
js> print("Hello World")
I'm now rummaging through various 'CouchDB js/JavaScript test/unittest' searches which look
promising and should keep me busy for a while.

> Add 'ForceReReduce=true' option to views to ensure that reduce function is called
> ---------------------------------------------------------------------------------
>
>                 Key: COUCHDB-801
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-801
>             Project: CouchDB
>          Issue Type: Improvement
>         Environment: Any
>            Reporter: Bryan White
>            Priority: Minor
>
> AFAIK there is no way to force a Map Reduce with rereduce=true to happen, other than
creating an arbitrary large number of documents. So any bugs in handling reduce calls with
rereduce=true might not be discovered at development time.
> I propose something like a 'ForceReReduce=true' option which will call Reduce with rereduce=true
(either once overall, or maybe once for each document) in order to shake any lurking bugs
out of the tree. 
> If there *is* such a feature, I apologise; I've looked but can't find it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message