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.

Reply via email to