Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 13254 invoked from network); 28 Sep 2009 21:10:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Sep 2009 21:10:59 -0000 Received: (qmail 87405 invoked by uid 500); 28 Sep 2009 21:10:58 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 87336 invoked by uid 500); 28 Sep 2009 21:10:58 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 87326 invoked by uid 99); 28 Sep 2009 21:10:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Sep 2009 21:10:58 +0000 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: local policy) Received: from [128.200.36.30] (HELO translab.its.uci.edu) (128.200.36.30) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Sep 2009 21:10:50 +0000 Received: from translab.its.uci.edu (localhost.localdomain [127.0.0.1]) by translab.its.uci.edu (8.13.1/8.12.10) with ESMTP id n8SLAPX7016018 for ; Mon, 28 Sep 2009 14:10:25 -0700 Received: (from jmarca@localhost) by translab.its.uci.edu (8.13.1/8.13.1/Submit) id n8SLAPL6016017 for user@couchdb.apache.org; Mon, 28 Sep 2009 14:10:25 -0700 Date: Mon, 28 Sep 2009 14:10:25 -0700 From: James Marca To: user@couchdb.apache.org Message-ID: <20090928211025.GA14179@translab.its.uci.edu> Mail-Followup-To: user@couchdb.apache.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-ITS-MailScanner: Found to be clean X-ITS-MailScanner-From: jmarca@translab.its.uci.edu Subject: unexpected behavior in view generation X-ITS-Spam-Status: No X-Virus-Checked: Checked by ClamAV on apache.org Hi All, I ran across some behavior this weekend that I didn't expect. I have a lot of data, and I'm trialing storing the raw data in CouchDB. I have 12 databases (manually "sharded" by month), each with about 115,000,000 documents, and an average size of about 25G. I created a view index for each database, and was updating away, when I noticed a typo in the October database. I corrected the typo (in Futon), reloaded the view page (again in futon), and *assumed* that the old view indexing job was killed and restarted with the new code. In fact, what happened was that the old, incorrect index job kept running (for 48 hours) and when it finished, it restarted. Is this a minor bug, or did I miss an option somewhere? (The machine I am running this on is running version 0.9.0. I will test something similar in the near future on 0.9.1 machine.) On the plus side, Erlang and CouchDB happily cranked away both loading the data and then building the views on my 8-core machine, using up lots of the available processor resources (instead of just max-ing out one core). I still wish I could spawn multiple threads per index job, but since there's no way I could write that code, I'll wait. Regards, James Marca -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.