couchdb-dev mailing list archives

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


Bryan White commented on COUCHDB-801:

Thank you for your response. I didn't intend that people would always need to use something
like 'ForceReReduce=true. As you say, it wouldn't always make sense, as it doesn't always
make sense to replicate a database, and I'm sure that replication was never intended to be
mandatory; it's useful, and people can use it if they wish, or leave it alone. 

Currently I'm using Divan with NUnit to test and learn about CouchDB. So if the 'js cli command'
is easier and more flexible than a 'forceReReduce=true', then I'm all for trying that. 
However I work in a M$ Windows environment (and know nothing about ruby), and cannot find
js.exe anywhere. I suppose I'm overlooking something. I know that there *is* JavaScript in
there somewhere! I've found 3 cli.exe, but don't think that any of them are relevant. I've
done some internet searches of combinations of 'javascript js cli windows' and not found anything

So, if you could give me some other terms to search for, to point me in the right direction,
I'm sure I'll be able to pursue that js cli command idea further.
Again, thank you for your time.

> Add 'ForceReReduce=true' option to views to ensure that reduce function is called
> ---------------------------------------------------------------------------------
>                 Key: COUCHDB-801
>                 URL:
>             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.

View raw message