Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 74647 invoked from network); 15 Oct 2009 21:37:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Oct 2009 21:37:54 -0000 Received: (qmail 10185 invoked by uid 500); 15 Oct 2009 21:37:54 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 10103 invoked by uid 500); 15 Oct 2009 21:37:53 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 10093 invoked by uid 99); 15 Oct 2009 21:37:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 21:37:53 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 21:37:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 44569234C045 for ; Thu, 15 Oct 2009 14:37:31 -0700 (PDT) Message-ID: <678879808.1255642651265.JavaMail.jira@brutus> Date: Thu, 15 Oct 2009 14:37:31 -0700 (PDT) From: "Paul Joseph Davis (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Commented: (COUCHDB-530) reduce_overflow_error on a view without reduce In-Reply-To: <271933169.1255632871441.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766267#action_12766267 ] Paul Joseph Davis commented on COUCHDB-530: ------------------------------------------- I don't think it was an error in 0.9.1 and its possible to disable that check in the config. One thing that we have said before is the ability to make views return errors and warnings to the user from view building but the current setup makes that somewhat difficult currently. Also, that error is a bit wonky with the list vs binary confusion. I'll put it on the list to fix. > 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 > Assignee: Paul Joseph Davis > Attachments: stats.view > > > 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.