From user-return-22804-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Wed Nov 7 12:27:59 2012 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 2F6C9DFF3 for ; Wed, 7 Nov 2012 12:27:59 +0000 (UTC) Received: (qmail 25712 invoked by uid 500); 7 Nov 2012 12:27:57 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 25394 invoked by uid 500); 7 Nov 2012 12:27:56 -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 25346 invoked by uid 99); 7 Nov 2012 12:27:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2012 12:27:54 +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 (nike.apache.org: local policy) Received: from [91.195.24.3] (HELO mail.open.bg) (91.195.24.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2012 12:27:45 +0000 Received: from [78.83.28.88] (port=58723 helo=eee-az) by mail.open.bg with esmtpsa (Cipher SSL3.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.77) id 1TW4j5-0007JO-Ae by authid with login for ; Wed, 07 Nov 2012 14:27:23 +0200 Date: Wed, 7 Nov 2012 14:30:25 +0200 From: svilen To: user@couchdb.apache.org Subject: Re: Remote view looks different to localhost Message-ID: <20121107143025.30a5147d@eee-az> In-Reply-To: References: X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org and if u add ?_all_docs=true what docs would u get? (do check the syntax) On Wed, 7 Nov 2012 11:46:56 +0000 Stoo Goff wrote: > Hi, > > I'm getting some strange differences when I view a database, > depending on whether I view the database remotely or locally. > > The server: > > Debian squeeze running Couchdb 0.11.0 > > The dev box: > > Ubuntu 11.10 running Couchdb 1.0.1 > > I initially created the database on the dev machine, then replicated > it to an empty database on the server. I have a web app running on > the server connecting over localhost and everything seemed to be > working fine - in fact as far as the web app is concerned it's all > running perfect. > > I changed the Couchdb settings so I could view the data remotely. > Initially, I used Futon to take a look and that showed me a completely > different set of data. So I tried looking at the data using CURL. That > showed me the same as Futon. > > CURL run on the server: > > curl -X GET http://localhost:5984/muninn > > {"db_name":"muninn","doc_count":25,"doc_del_count":33,"update_seq":1194,"purge_seq":0,"compact_running":false,"disk_size":16826462,"instance_start_time":"1351793407368363","disk_format_version":5} > > CURL run on the dev machine: > > curl -X GET http://user:pass@odin:5984/muninn > > {"db_name":"muninn","doc_count":9,"doc_del_count":34,"update_seq":102,"purge_seq":0,"compact_running":false,"disk_size":16826462,"instance_start_time":"1352219217053672","disk_format_version":5} > > So, same disk size with completely different doc counts. With the > remote connection it looks like an historical view of the data, but > why would it do it? > > Any help or insight would be appreciated! > > Stoo