couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miki Tebeka (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-530) reduce_overflow_error on a view without reduce
Date Thu, 15 Oct 2009 20:09:31 GMT

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

Miki Tebeka commented on COUCHDB-530:
-------------------------------------

Yes, there are other views in the same design who do use reduce. I'm attaching the design.
Come to think of it, the problem started when trying to access another view in this design,
can't remember exactly which.

> reduce_overflow_error on a view without reduce
> ----------------------------------------------
>
>                 Key: COUCHDB-530
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-530
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 0.10
>         Environment: Ubuntu 9.04
>            Reporter: Miki Tebeka
>
> This view used to work on 0.9.1, I've installed 0.10.0 and migrated some data.
> When running the view I get the following error:
>     (env2.5)[11:47] admin $curl 'localhost:5985/stats/_design/stats/_view/active'
>     {"error":"reduce_overflow_error","reason":"Reduce output must shrink more rapidly:
Current output: '[[25,17,117,25,93,17,13,13,12,24,14,13,10,15,20,12,14,14,17,36,38,83,18,11,1058,12,10,29,13,12,10,14'...
(first 100 of 1395 bytes)"}
> What's interesting is that this view does not have a reduce function. The map function
is:
>     function (doc) {
>         if (doc.Type == 'max active') {
>             emit(doc.Time, doc.Count);
>         }
>     }
> A typical document looks like:
>     {"_id":"02c94bea2900686a01ebbf8829aabfa2","_rev":"1-cccb3b5eb382bf609bd41feb85af063b","Count":2,"Type":"max
active","Time":1254362400.0}

-- 
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