incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stoo Goff <stoo.g...@gmail.com>
Subject Re: Remote view looks different to localhost
Date Wed, 07 Nov 2012 12:56:01 GMT
Also, why would the sequence numbers be so different?

Logged in to the server I get update_seq of 1194. Viewing the same date
remotely the udpate_seq is 102.

On 7 November 2012 12:53, Stoo Goff <stoo.goff@gmail.com> wrote:

> Adding ?_all_docs=true gives me the same result as before. Do you mean
> database/_all_docs?
>
>
> On 7 November 2012 12:30, svilen <az@svilendobrev.com> wrote:
>
>> 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 <stoo.goff@gmail.com> 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
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message