From dev-return-13165-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Wed Nov 10 15:47:29 2010 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 88368 invoked from network); 10 Nov 2010 15:47:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Nov 2010 15:47:29 -0000 Received: (qmail 89829 invoked by uid 500); 10 Nov 2010 15:48:00 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 89781 invoked by uid 500); 10 Nov 2010 15:47:59 -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 89773 invoked by uid 99); 10 Nov 2010 15:47:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Nov 2010 15:47:59 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of adam.kocoloski@gmail.com designates 209.85.216.173 as permitted sender) Received: from [209.85.216.173] (HELO mail-qy0-f173.google.com) (209.85.216.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Nov 2010 15:47:52 +0000 Received: by qyl33 with SMTP id 33so2932738qyl.11 for ; Wed, 10 Nov 2010 07:47:31 -0800 (PST) Received: by 10.224.174.71 with SMTP id s7mr6849063qaz.361.1289404051027; Wed, 10 Nov 2010 07:47:31 -0800 (PST) Received: from [10.1.10.164] (c-66-31-20-188.hsd1.ma.comcast.net [66.31.20.188]) by mx.google.com with ESMTPS id s28sm766044qcp.45.2010.11.10.07.47.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 10 Nov 2010 07:47:29 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: validate_doc_update ignored after compact From: Adam Kocoloski In-Reply-To: Date: Wed, 10 Nov 2010 10:47:27 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: dev@couchdb.apache.org X-Mailer: Apple Mail (2.1081) X-Virus-Checked: Checked by ClamAV on apache.org Hi Gabriel, thanks for the bump. I can see the reason the DB forgets = about the validation functions. We'll get it fixed. Adam On Nov 10, 2010, at 10:28 AM, Gabriel Farrell wrote: > Apologies for bumping. I'm on 1.1.0a4084b2b-git, all tests pass, and > still, after I compact, validate_doc_update is ignored. If I restart > couch, validate_doc_update is again checked on update. >=20 > On Sun, Nov 7, 2010 at 10:42 AM, Gabriel Farrell = wrote: >> After compacting the database its validate_doc_update seems to be >> ignored. I've set up a simple test case at >> http://g.couchone.com/ignore_validate. Replicate that db and try to >> add a document without a "name" field. Then compact and try again. >>=20 >> Is this a known issue for 1.0.1? I couldn't find any related tickets = in JIRA. >>=20 >>=20 >> Gabriel >>=20