incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramkrishna Kulkarni <ramkrishna.kulka...@gmail.com>
Subject Re: changes_timeout
Date Fri, 01 Jul 2011 06:29:32 GMT
I have this same issue when I start replication through a Couchapp. If I
start it through command line curl, it takes few minutes but works. I faced
this problem with a DB containing around 30K documents and the filter
selected 500-1000 documents from it.

Ram

On Thu, Jun 30, 2011 at 5:07 PM, Benoit DECHERF <bdecherf@gmail.com> wrote:

> Hi,
>
> I'm playing with the filter replication.
> So my filter is:
> function(doc, req) { if (doc.type && doc.type == 'user' && doc.userId
==
> req.query.userId) { return true; } else { return false; } }
>
> This is to replicate all document from a given user. (This is not
> a continuous replication)
> The replication fails because of a changes_timeout error. (same error with
> 1.1.0 and 1.0.2)
> I check the code, and it seems that the pb comes from:
> src/couchdb/couch_rep_changes_feed.erl
> All timeout are hardcoded, and one of them is 10s.
> the request filter took between 10 and 25s.
>
> Am I doing something wrong ? Or is this a bug ?
>
> Thanks,
> Benoit
>

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