Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-827

Replication hangs on streeming documents with inline attachments.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.11.1, 1.0
    • None
    • None
    • CouchDB 1.0 Mac OSX 10.6 , Win XP

    • Committers Level (Medium to Hard)

    Description

      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

      Attachments

        Activity

          People

            fdmanana Filipe David Borba Manana
            koleto Nikolai Teofilov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: