Return-Path: Delivered-To: apmail-incubator-couchdb-dev-archive@locus.apache.org Received: (qmail 1477 invoked from network); 4 Dec 2008 10:21:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Dec 2008 10:21:57 -0000 Received: (qmail 92256 invoked by uid 500); 4 Dec 2008 10:22:08 -0000 Delivered-To: apmail-incubator-couchdb-dev-archive@incubator.apache.org Received: (qmail 92213 invoked by uid 500); 4 Dec 2008 10:22:08 -0000 Mailing-List: contact couchdb-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-dev@incubator.apache.org Delivered-To: mailing list couchdb-dev@incubator.apache.org Received: (qmail 92202 invoked by uid 99); 4 Dec 2008 10:22:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 02:22:08 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jchris@gmail.com designates 64.233.170.190 as permitted sender) Received: from [64.233.170.190] (HELO rn-out-0910.google.com) (64.233.170.190) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 10:20:37 +0000 Received: by rn-out-0910.google.com with SMTP id k50so3823837rnd.3 for ; Thu, 04 Dec 2008 02:21:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:mime-version:content-type:content-transfer-encoding :content-disposition:x-google-sender-auth; bh=ZxxCbA8ErxpDw9gdr1ubL29cosxpVB3xdNB3cEWeSaA=; b=S0z5Bkb/KCoW9+9rdASgb1ZNLwWozNzexbDTXAiNHv66v+toVbTGGnEY9WBBSdGPGY /dV4iyGYtE8lrkITBcNjJ6bekWY2kDzgM8OFotEufZLeNlESJblxVoeUnv4jXDI96cxt Y8i/ucMth9Bao3LT0TJkR1QQIFZEBnLvZaI1c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; b=gjAunHqwS7xaRz8MFWWMgNEuoSTJI6SHiGIQGh5znpCDGxrMJLpTfFYUzKBvHmW6SD rUzadZ6dYr7NIMdDmbUZb6g8ZbD/ZWk60iTKwPcrIA3WrrI3A3LBXb6BLm4jvCNsOBqE Qkazyknyde0YVqv8eEwKw8qmKkUUMEof+2MBU= Received: by 10.64.232.9 with SMTP id e9mr14040035qbh.13.1228386082589; Thu, 04 Dec 2008 02:21:22 -0800 (PST) Received: by 10.65.235.11 with HTTP; Thu, 4 Dec 2008 02:21:22 -0800 (PST) Message-ID: Date: Thu, 4 Dec 2008 02:21:22 -0800 From: "Chris Anderson" Sender: jchris@gmail.com To: couchdb-dev@incubator.apache.org Subject: update-false branch in progress MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 11dfa8553b2a85cd X-Virus-Checked: Checked by ClamAV on apache.org If you're interested in hacking some CouchDB / Erlang, this half-done patch could use your help! I've just checked in some intermediate work on the road toward view group server state. I have converted it mostly to gen_server, and I think it should work in theory. However I'm getting the kind of minor errors that mean it's time for bed.. I've got all the necessary debug logging in there, but it's time to go to sleep, so if anyone wants to debug this until the tests pass, you're welcome to, otherwise, I'll be back at it tomorrow. http://github.com/jchris/couchdb/tree/update-false/trunk/src/couchdb/couch_view_group.erl#L77 I think I might be suffering from record syntax confusion (line 77 is the site of the error). Fresh eyes... The gen_server implementation is turning out to be much simpler than I expected, I think it may be less code than the raw ! and receive version. -- Chris Anderson http://jchris.mfdz.com