Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 8627 invoked from network); 1 Apr 2011 05:30:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Apr 2011 05:30:08 -0000 Received: (qmail 60691 invoked by uid 500); 1 Apr 2011 05:30:07 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 60261 invoked by uid 500); 1 Apr 2011 05:30:06 -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 60253 invoked by uid 99); 1 Apr 2011 05:30:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 05:30:05 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [204.209.205.13] (HELO defout.telus.net) (204.209.205.13) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 05:29:57 +0000 Received: from edmwcm03 ([204.209.205.13]) by priv-edmwes23.telusplanet.net (InterMail vM.8.01.03.00 201-2260-125-20100507) with ESMTP id <20110401052935.CGLT2239.priv-edmwes23.telusplanet.net@edmwcm03> for ; Thu, 31 Mar 2011 23:29:35 -0600 Received: from [192.168.110.105] ([75.152.223.106]) by edmwcm03 with bizsmtp id S5Va1g00s2JM6DX015VaHQ; Thu, 31 Mar 2011 23:29:35 -0600 X-Telus-Outbound-IP: 75.152.223.106 X-Authority-Analysis: v=1.1 cv=5WGJwzh6qA1C2vWz7obo2oV8HsJqet52GPVAm12/0ZM= c=1 sm=2 a=OEbU4hkVa_QA:10 a=W3ZapJlW2FcA:10 a=8nJEP1OIZ-IA:10 a=MBJY4RiCAAAA:8 a=9I86VMbuF71UGAoRRm4A:9 a=wPNLvfGTeEIA:10 a=v76w-XYbtOMA:10 Message-ID: <4D9562BE.5050703@radicaldynamic.com> Date: Thu, 31 Mar 2011 23:29:34 -0600 From: Matt Adams Organization: Radical Dynamic Inc. User-Agent: Mozilla-Thunderbird 2.0.0.24 (X11/20100328) MIME-Version: 1.0 To: user@couchdb.apache.org Subject: PUT new database sometimes returns 412 (database does not already exist) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Folks: I am running into a situation where a PUT request to create a new database fails intermittently with a 412 vs the 201 that is expected. The databases in question do not exist. Excerpt from couch.log follows: [Fri, 01 Apr 2011 01:38:21 GMT] [info] [<0.22507.62>] 127.0.0.1 - - 'PUT' /db_697395af0bbde88013484fb53a01e04e/? 201 [Fri, 01 Apr 2011 01:38:21 GMT] [info] [<0.22508.62>] 127.0.0.1 - - 'PUT' /db_697395af0bbde88013484fb53a01e04e/_design/FormDefinitionDocument? 201 [Fri, 01 Apr 2011 01:38:21 GMT] [info] [<0.22509.62>] 127.0.0.1 - - 'PUT' /db_697395af0bbde88013484fb53a01e04e/_design/FormInstanceDocument? 201 [Fri, 01 Apr 2011 01:38:21 GMT] [info] [<0.22514.62>] 127.0.0.1 - - 'PUT' /db_697395af0bbde88013484fb53a01e04e/_security? 200 ... [Fri, 01 Apr 2011 03:15:00 GMT] [info] [<0.28690.62>] 127.0.0.1 - - 'PUT' /db_697395af0bbde88013484fb53a02266f/? 412 [Fri, 01 Apr 2011 03:15:00 GMT] [info] [<0.28691.62>] 127.0.0.1 - - 'PUT' /db_697395af0bbde88013484fb53a02266f/_design/FormDefinitionDocument? 404 [Fri, 01 Apr 2011 03:15:00 GMT] [info] [<0.28693.62>] 127.0.0.1 - - 'PUT' /db_697395af0bbde88013484fb53a02266f/_security? 404 [Fri, 01 Apr 2011 03:15:00 GMT] [info] [<0.28692.62>] 127.0.0.1 - - 'PUT' /db_697395af0bbde88013484fb53a02266f/_design/FormInstanceDocument? 404 Has anyone else experienced this behaviour? I am running CouchDB 1.0.2 compiled from source (no modifications) with Erlang R14B01 running on Debian Linux 32bit. In the meantime I will be trying to reproduce this successfully and get more out of Couch and the process that is controlling this. Any suggestions or hints would be greatly appreciated. Thanks, Matt -- Matt Adams Radical Dynamic www.radicaldynamic.com