couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject Re: Issue with Reduce - solved after compact viewes
Date Wed, 28 Sep 2016 15:16:54 GMT
Heya,

Can you share the view code?

Best
Jan
--

> On 28 Sep 2016, at 15:38, Kiril Stankov <kiril@open-net.biz> wrote:
> 
> Hi,
> 
> I just saw this again.
> Reduce didn't work until compacting the View.
> 
> This starts to be a serious problem.
> Any help or suggestion how to debug this will be appreciated.
> 
> Thanks!
> 
> ------------------------------------------------------------------------
> *With best regards,*
> Kiril Stankov,
> 
> On 24.9.2016 г. 20:43, Kiril Stankov wrote:
>> Hi all,
>> 
>> I use CouchDb 1.6 and have a view with reduce (same on all databases),
>> which returns some statistics.
>> 
>> Suddenly, today, it started returning strange things, and I think that
>> the problem was that vals.length was returning 0. There are only few
>> dozens docs in this DB.
>> I have a replication DB where everything worked fine, checked that the
>> code is exactly the same.
>> 
>> After compacting the views on the first DB, it also started showing the
>> correct values.
>> 
>> Any idea what could cause this? View corruption? There are plenty of
>> resources (disk, memory) on the host machine.
>> 
> 

-- 
Professional Support for Apache CouchDB:
https://neighbourhood.ie/couchdb-support/


Mime
View raw message