From user-return-19185-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Wed Dec 21 21:33:44 2011 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 5B9CF78BC for ; Wed, 21 Dec 2011 21:33:44 +0000 (UTC) Received: (qmail 73570 invoked by uid 500); 21 Dec 2011 21:33:42 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 73522 invoked by uid 500); 21 Dec 2011 21:33:42 -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 73514 invoked by uid 99); 21 Dec 2011 21:33:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Dec 2011 21:33:41 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [76.162.254.112] (HELO mail1316.opentransfer.com) (76.162.254.112) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Dec 2011 21:33:32 +0000 Received: (qmail 25144 invoked by uid 399); 21 Dec 2011 21:33:09 -0000 Received: from unknown (HELO ?192.168.7.6?) (216.230.238.150) by mail1316.opentransfer.com with ESMTP; 21 Dec 2011 21:33:09 -0000 X-Originating-IP: 216.230.238.150 From: Robert Hailey Content-Type: multipart/alternative; boundary=Apple-Mail-2197-451122053 Subject: Failure on source commit: {error,undefined} Date: Wed, 21 Dec 2011 15:33:09 -0600 Message-Id: <92084595-AF07-4F3F-B047-28B218C24B7A@osndok.com> To: user@couchdb.apache.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-2197-451122053 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Greetings, I hope that someone might be able to shed some light on what I thought = would be a simple couchdb proxy experiment, which seems to be stuck at = this error message: [error] [<0.166.0>] Replication `5e97f59236654e969f9e53af1fb63791` = (`http://192.168.1.12/rep_poc_14/` -> `current_marketplace`) failed: = {checkpoint_commit_failure,<<"Failure on source commit: = {error,undefined}">>} The overall theory (at present) is a simple one which I'm sure I read = about somewhere: "allow only GET requests for a read-only filter", = although in practice I've noticed that replication requires at least one = POST too (_ensure_full_commit), so I've made an account for that as = well. I was able to get it working with couchdb v1.1.1 (when replicating to = v1.1.1), but when I try to use "couchbase" (for convenience on mobile = devices) I get the above error. I'm pretty sure it's hung up on the = ensure_full_commit (or thereabout), and the best lead I have atm is: = https://issues.apache.org/jira/browse/COUCHDB-1080 , and what appears to = be a dropped 'reason' (the "undefined" field; ???). The couchbase version I'm using is labeled: > Android-Couchbase : Version 2.0, Ektorp : Version 1.2.2 < So to any gracious and knowledgeable enough to help the ignorant, I have = a few questions: (1) Is there already a project that does this proxy/filtering, I noticed = "Lounge" but it seems like there was a smaller one, (2) How can I determine what version of couchdb corresponds to = couchbase-2.0? (1.2.2 is not released !!!) (3) Does the Android-Couchbase source on github really reflect the = binaries? (I could not find couchdb source in them) (4) Is there a better (or alternate-but-easy) means of using couchdb on = android rather than couchbase? preferrably one with easily accessible = source & couchdb version associations...? (5) Is it even an expected use-case to connect a couchbase to a couchdb = (which is to say, am I doing something crazy to begin with?). Thanks for your time. At the moment I'm wishing erlang was as easy to = read & compile as C... :-) -- Robert Hailey --Apple-Mail-2197-451122053--