incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Cottlehuber <d...@muse.net.nz>
Subject Re: Replication of design docs fails on 1.0.1 (was Re: upgrade on windows)
Date Wed, 04 Jan 2012 21:03:47 GMT
On 3 January 2012 21:12, Kevin R. Coombes <kevin.r.coombes@gmail.com> wrote:
> I have good news and bad news.
>
> The Good News:   I successfully upgraded to 1.0.2.  All of my JavaScript
> code still appears to work.

Woo!

> The Bad News: Pull replication from a remote machine to the local machine
> still fails on the design document -- maybe.  Here is a transcript of the
> new session
>
> ############
>
> C:\MyStuff\MyCodeProjects\CouchReplication>type drugbase-from-gani-to-here
> {
>  "target" : "http://testonly:deleteme@bcbwfl6sjn1:5984/drugbase",
>  "source" : "http://10.105.43.35:5984/drugbase",
>  "user_ctx": {
>     "name": "testonly",
>     "roles": ["_admin"]
>  }
> }
> C:\MyStuff\MyCodeProjects\CouchReplication>curl
>  -H "Content-Type: application/json" -X POST -d @drugbase-from-gani-to-here
>  http://testonly:deleteme@bcbwfl6sjn1:5984/_replicate
> {"error":"json_encode","reason":"{bad_term,{couch_doc,fold_streamed_data,\n
>                [#Fun<couch_rep_att.0.90652905>,-1140,\n
> #Fun<couch_doc.13.28980337>,ok]}}"}
> ############
>
> And here is the relevant portion of the error log:
>
> ############
> [Tue, 03 Jan 2012 19:43:43 GMT] [error] [<0.619.0>] streaming att. ended but
> more data requested {1325,619823,339311}
>
> [Tue, 03 Jan 2012 19:43:43 GMT] [info] [<0.619.0>] request for
> "_design%2Fbasic/docs.html" timed out, retrying in 0.5 seconds
>
> [Tue, 03 Jan 2012 19:43:43 GMT] [info] [<0.621.0>] 10.105.35.136 - - 'POST'
> /drugbase/_ensure_full_commit 201
>
> [Tue, 03 Jan 2012 19:43:43 GMT] [info] [<0.572.0>] recording a checkpoint
> for http://10.105.43.35:5984/drugbase/ ->
>  http://testonly:*****@bcbwfl6sjn1:5984/drugbase/ at source update_seq 16479
>
> [Tue, 03 Jan 2012 19:43:43 GMT] [info] [<0.649.0>] 10.105.35.136 - - 'PUT'
> /drugbase/_local%2Fa4413563817bd705ab727a8ab1643a28 201
>
> [Tue, 03 Jan 2012 19:43:43 GMT] [error] [emulator] Error in process<0.619.0>
>  with exit value:
> {function_clause,[{couch_doc,fold_streamed_data,[#Fun<couch_rep_att.0.90652905>,-1140,#Fun<couch_doc.13.28980337>,ok]},{couch_doc,atts_to_mp,4},{couch_rep_writer,streamer_fun,3}]}
> ############

Hi Kevin,

So 1 out of 2 is not too bad, :-/.

Can you get logs from the remote end at the same time? I assume its
also at 1.0.2 now.

Do you have any info about the ddoc that fails? Are you able to make
it available, or make a reduced case that exhibits the same issue?

A+
Dave

Mime
View raw message