You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Aurélien Bénel <au...@utt.fr> on 2010/08/02 12:28:15 UTC

Failed replication on design document attachments

Hi,

Thanks to couchapp, we attach files to the design document. For example, we succeed in getting our CSS through:
GET /cassandre/_design/cassandre/main.css

However, since we do that, the database cannot be replicated anymore. After a bunch of retries, the replication fails. The "normal" documents have been replicated but not the design document.

In the log we noticed:

[info] [<0.748.0>] request for "_design%2Fcassandre/main.css" timed
out, retrying in 0.5 seconds

What is weird is that it shouldn't be retried since this URL redirects to another one:

curl -I http://127.0.0.1:5984/cassandre/_design%2Fcassandre/main.css
HTTP/1.1 301 Moved Permanently
Server: CouchDB/0.12.0a (Erlang OTP/R13B)
Location: http://127.0.0.1:5984/cassandre/_design/cassandre/main.css
...

Does it mean that bug COUCHDB-157 is back or do I miss something? 


Regards,

Aurélien

Re: Failed replication on design document attachments

Posted by Aurélien Bénel <au...@utt.fr>.
> A fix was recently (a few days ago) committed to trunk and branches 1.0.x and 0.11.x that addresses that problem.

Cool! Thanks a lot :)


Regards,

Aurélien

Re: Failed replication on design document attachments

Posted by Filipe David Manana <fd...@apache.org>.
Aurélien,

A fix was recently (a few days ago) committed to trunk and branches
1.0.x and 0.11.x that addresses that problem.

Releases 1.0.1 and 0.11.3 are coming out soon. Both contain the fix.

On Mon, Aug 2, 2010 at 11:28 AM, Aurélien Bénel <au...@utt.fr> wrote:
> Hi,
>
> Thanks to couchapp, we attach files to the design document. For example, we succeed in getting our CSS through:
> GET /cassandre/_design/cassandre/main.css
>
> However, since we do that, the database cannot be replicated anymore. After a bunch of retries, the replication fails. The "normal" documents have been replicated but not the design document.
>
> In the log we noticed:
>
> [info] [<0.748.0>] request for "_design%2Fcassandre/main.css" timed
> out, retrying in 0.5 seconds
>
> What is weird is that it shouldn't be retried since this URL redirects to another one:
>
> curl -I http://127.0.0.1:5984/cassandre/_design%2Fcassandre/main.css
> HTTP/1.1 301 Moved Permanently
> Server: CouchDB/0.12.0a (Erlang OTP/R13B)
> Location: http://127.0.0.1:5984/cassandre/_design/cassandre/main.css
> ...
>
> Does it mean that bug COUCHDB-157 is back or do I miss something?
>
>
> Regards,
>
> Aurélien



-- 
Filipe David Manana,
fdmanana@apache.org

"Reasonable men adapt themselves to the world.
 Unreasonable men adapt the world to themselves.
 That's why all progress depends on unreasonable men."