Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CB72BF349 for ; Mon, 29 Apr 2013 21:39:20 +0000 (UTC) Received: (qmail 92731 invoked by uid 500); 29 Apr 2013 21:39:19 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 92628 invoked by uid 500); 29 Apr 2013 21:39:19 -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 92617 invoked by uid 99); 29 Apr 2013 21:39:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Apr 2013 21:39:19 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dch@jsonified.com designates 209.85.215.49 as permitted sender) Received: from [209.85.215.49] (HELO mail-la0-f49.google.com) (209.85.215.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Apr 2013 21:39:14 +0000 Received: by mail-la0-f49.google.com with SMTP id fp13so3578948lab.8 for ; Mon, 29 Apr 2013 14:38:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jsonified.com; s=google; h=mime-version:x-received:x-originating-ip:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=sVIBH8u8/Za38i8QnwHxYTjIKmlEUuT5g1nORSwyUBI=; b=PUQZuX4xmEQbZrkJSBDqX4vI2fUvley6CKs9bsVzvfS3b3tgBbU1FzGKFu0s0oCef+ 2wAxF37nDZFZfZsSDpHNO03HRxGkYaB0W2SQ6IM6/BRghDrUiyiGIGolAaIs5ModL9id CahbMa6/eMdpNaGuNpoIr0+8SKaWH1itQ5yKs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:x-originating-ip:in-reply-to:references :date:message-id:subject:from:to:content-type:x-gm-message-state; bh=sVIBH8u8/Za38i8QnwHxYTjIKmlEUuT5g1nORSwyUBI=; b=llfbg5YmacZmjYGYgurtTIMo/7Po0vV79bM1kTsWHXzn2Y59P7qhgZuG0GN72EZnvM qPMyanjZ22DCcaz2GAwWv3ancKUq0zzbrN1sHoYu8K0HPCWrMKJYtaPsW4o/1Ul5xJgb 0AWpuX6/okyr+lsT1Ke58xKzcpC60kkGDTsDzwQd0Y1MsyeARcTD2Y5LISKxmBmkC/q/ zSKDOJZ5YQV0GSRnk63kCDQfUPGyIvhSJbInhfhmf1QcJDim6w2NRoSl4Wnz4g0ko22D XPtBGeP/ZZHq3aR5b43bnL3DXSXzYOg571spnrHwQTsCIE0pF1sQ1PoW7zuyq1YV5x56 G+Vw== MIME-Version: 1.0 X-Received: by 10.112.138.228 with SMTP id qt4mr1910864lbb.106.1367271532949; Mon, 29 Apr 2013 14:38:52 -0700 (PDT) Received: by 10.112.149.73 with HTTP; Mon, 29 Apr 2013 14:38:52 -0700 (PDT) X-Originating-IP: [84.112.19.176] In-Reply-To: <20130429161625.GC15595@translab.its.uci.edu> References: <20130429062747.GB3218@translab.its.uci.edu> <20130429063244.GA15595@translab.its.uci.edu> <20130429161625.GC15595@translab.its.uci.edu> Date: Mon, 29 Apr 2013 23:38:52 +0200 Message-ID: Subject: Re: An old database causes couchdb 1.3.0 to crash getting single documents From: Dave Cottlehuber To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQnDgUrYgKRI8yNwzmrTKsG2FufI11klGTKxS7LI8NVyESAYMkVDNKO9OzF0qvD9/FOygLHM X-Virus-Checked: Checked by ClamAV on apache.org On 29 April 2013 18:16, James Marca wrote: > On Mon, Apr 29, 2013 at 10:46:59AM +0200, Dave Cottlehuber wrote: >> On 29 April 2013 09:50, Robert Newson wrote: >> > James, >> > >> > Did you compact this database with any version of couchdb between >> > 0.9.0 and 1.3.0? I'm fairly sure we dropped the upgrade code for 0.9 a >> > while back. >> > >> > B. >> >> Yup, 1.1.2 is the last one with 0.9 on-disk format compatibility. At a >> minimum you'll need to go 0.9 -> 1.1.2, compact, and then step to >> 1.3.0 should be OK. >> >> Also exactly what version you're migrating from will make a difference: >> >> http://wiki.apache.org/couchdb/Breaking_changes >> >> You may need to update your view code, query code as well, and it's >> possible for non-valid utf-8 docs to be rejected also if they are >> present. I am not sure how an upgrade handles that. >> >> Benoit - you did a big upgrade a while back, do you remember what your >> version stepping ended up requiring? IIRC you needed to go to 1.0.4 >> first, but I don't recall why. > > > I was able to get couchdb 1.2.x running on this machine, but 1.1.x > dies on start. Sorry to hear that :-( Can you share any error message, or better output from erlang console & debug log? I wonder if your erlang version was newer than what was available when released. > 1.2.x does not compact this db. I got some quick > erlang errors, then RAM usage slowly rose to 95% so I killed it. > > Other dbs of the same "generation" work fine...I can access them and > build views and so on. The only difference in the dbs is the data. > The problem one is the first one I started using, before I decided to > manually shard the data. All the dbs identical design docs and all > that. My wild ass guess is that it's something I did early on in the > early batches of model runs polluting the db. > > After a week of fighting this (my awareness of the scope of the > problem built slowly!), I'm thinking it might be easier to just > re-run my models, and re-generate the data...at least then the problem > is just CPU time. I understand if the data's too big to send, or sensitive, but it would be useful to get a copy of the db and figure out what's wrong if possible. Let me know off list if you can. A+ Dave