From dev-return-7488-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Thu Nov 26 01:48:05 2009 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 21998 invoked from network); 26 Nov 2009 01:48:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Nov 2009 01:48:05 -0000 Received: (qmail 85618 invoked by uid 500); 26 Nov 2009 01:48:04 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 85308 invoked by uid 500); 26 Nov 2009 01:48:02 -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 85288 invoked by uid 99); 26 Nov 2009 01:48:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Nov 2009 01:48:02 +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, 26 Nov 2009 01:47:59 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A09E4234C1E9 for ; Wed, 25 Nov 2009 17:47:39 -0800 (PST) Message-ID: <530049992.1259200059656.JavaMail.jira@brutus> Date: Thu, 26 Nov 2009 01:47:39 +0000 (UTC) From: "Joscha Feth (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Updated: (COUCHDB-579) Using filters on continuous feeds fails In-Reply-To: <667701036.1259200059591.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-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joscha Feth updated COUCHDB-579: -------------------------------- Description: When using continuous feeds, such as for example: /mydb/_changes?feed=continuous&heartbeat=1000&id=myId&since=428&filter=complete/example CouchDB fails with a status code of 500 after putting a new document into the database. test filter for this issue: "example": "function(doc, req) { return true; }" sysout from couchdb: ....PUT here.... 1> [info] [<0.644.0>] OS Process :: Error converting object to JSON: TypeError: toJSON.dispatcher[val.constructor.name] is not a function 1> [info] [<0.642.0>] 192.168.178.45 - - 'GET' /mydb/f3cacfc2bfbf1aa0b0c8313fc7b181ec?revs_info=true 200 1> [info] [<0.1045.0>] 192.168.178.45 - - 'GET' / 200 1> [error] [<0.1039.0>] OS Process Error :: {os_process_error,"OS process timed out."} 1> [info] [<0.1039.0>] 192.168.178.45 - - 'GET' Can be reproduced - as soon as feed is not filtered, the issue goes away. was: When using continuous feeds, such as for example: /mydb/_changes?feed=continuous&heartbeat=1000&id=myId&since=428&filter=complete/example CouchDB fails with a status code of 500 after putting a new document into the database. test filter for this issue: "example": "function(doc, req) { return true; }" sysout from couchdb: ....PUT here.... 1> [info] [<0.644.0>] OS Process :: Error converting object to JSON: TypeError: toJSON.dispatcher[val.constructor.name] is not a function 1> [info] [<0.642.0>] 192.168.178.45 - - 'GET' /spreadsheets/f3cacfc2bfbf1aa0b0c8313fc7b181ec?revs_info=true 200 1> [info] [<0.1045.0>] 192.168.178.45 - - 'GET' / 200 1> [error] [<0.1039.0>] OS Process Error :: {os_process_error,"OS process timed out."} 1> [info] [<0.1039.0>] 192.168.178.45 - - 'GET' Can be reproduced - as soon as feed is not filtered, the issue goes away. > Using filters on continuous feeds fails > --------------------------------------- > > Key: COUCHDB-579 > URL: https://issues.apache.org/jira/browse/COUCHDB-579 > Project: CouchDB > Issue Type: Bug > Components: HTTP Interface > Affects Versions: 0.10 > Environment: Mac OSX 10.6 > Reporter: Joscha Feth > > When using continuous feeds, such as for example: > /mydb/_changes?feed=continuous&heartbeat=1000&id=myId&since=428&filter=complete/example > CouchDB fails with a status code of 500 after putting a new document into the database. > test filter for this issue: > "example": "function(doc, req) { return true; }" > sysout from couchdb: > ....PUT here.... > 1> [info] [<0.644.0>] OS Process :: Error converting object to JSON: TypeError: toJSON.dispatcher[val.constructor.name] is not a function > 1> [info] [<0.642.0>] 192.168.178.45 - - 'GET' /mydb/f3cacfc2bfbf1aa0b0c8313fc7b181ec?revs_info=true 200 > 1> [info] [<0.1045.0>] 192.168.178.45 - - 'GET' / 200 > 1> [error] [<0.1039.0>] OS Process Error :: {os_process_error,"OS process timed out."} > 1> [info] [<0.1039.0>] 192.168.178.45 - - 'GET' > Can be reproduced - as soon as feed is not filtered, the issue goes away. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.