couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filipe Manana (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-827) Replication hangs on streeming documents with inline attachments.
Date Fri, 16 Jul 2010 21:47:56 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889346#action_12889346
] 

Filipe Manana commented on COUCHDB-827:
---------------------------------------

Committed a fix in revision 964956 (trunk) and revision 964957 (branch 1.0.x, backport).

Leaving the ticket open in the meanwhile since the fix might not cover all cases - at the
moment it covers a pull replication where the source is a 0.11.0 DB and the target is a 1.0.0
DB (replication object posted to the 1.0.0 server).

> Replication hangs on streeming documents with inline attachments.
> -----------------------------------------------------------------
>
>                 Key: COUCHDB-827
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-827
>             Project: CouchDB
>          Issue Type: Bug
>         Environment: CouchDB 1.0  Mac OSX 10.6 , Win XP
>            Reporter: Nikolai Teofilov
>            Assignee: Filipe Manana
>
> The problem apear to exist onliy on replication 0.11 to 1.0
> How to reproduce the bug:
> On couchdb 0.11 create a database with a document that contains inline base64 encoded
attachment.
> {
>  "_id" : "test",
>  "_attachments":
>  {
>    "foo.txt":
>    {
>      "content_type":"text\/plain",
>      "data": "VGhpcyBpcyBhIGJhc2U2NCBlbmNvZGVkIHRleHQ="
>    }
>  }
> }
> replication 0.11 -> (CouchDBX) 1.0 will hang with following error log:
> 1> [info] [<0.1028.0>] starting new replication "5427f9ab10e93ee8b02bd9a3e0050c58"
at <0.1069.0>
> 1> [error] [<0.1083.0>] streaming att. ended but more data requested {1279,225570,362980}
> 1> [info] [<0.1083.0>] request for "test/foo.txt" timed out, retrying in 0.5
seconds
> 1> [error] [<0.1083.0>] streaming att. ended but more data requested {1279,225571,40192}
> 1> [info] [<0.1083.0>] request for "test/foo.txt" timed out, retrying in 0.5
seconds
> 1> [error] [<0.1083.0>] streaming att. ended but more data requested {1279,225574,323477}
> 1> [info] [<0.1083.0>] request for "test/foo.txt" timed out, retrying in 0.5
seconds
> 1> [error] [<0.1083.0>] streaming att. ended but more data requested {1279,225575,24131}
> 1> [info] [<0.1083.0>] request for "test/foo.txt" timed out, retrying in 0.5
seconds
> 1> [error] [<0.1083.0>] streaming att. ended but more data requested {1279,225575,688384}
> 1> [info] [<0.1083.0>] request for "test/foo.txt" timed out, retrying in 0.5
seconds
> 1> [error] [<0.1083.0>] streaming att. ended but more data requested {1279,225576,382178}
> 1> [info] [<0.1083.0>] request for "test/foo.txt" timed out, retrying in 0.5
seconds

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message