couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Kocoloski (JIRA)" <>
Subject [jira] Updated: (COUCHDB-174) Docs with lots of revisions break replication
Date Wed, 10 Dec 2008 05:18:44 GMT


Adam Kocoloski updated COUCHDB-174:

    Attachment: couch_rep.diff

> Docs with lots of revisions break replication
> ---------------------------------------------
>                 Key: COUCHDB-174
>                 URL:
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>            Reporter: Adam Kocoloski
>         Attachments: couch_rep.diff
> When replicating from a remote source CouchDB uses the open_revs query string parameter
in a document request and supplies a list of revisions that are present on the source but
not on the target.  If this list is very large the resulting URL might exceed 8 KB, in which
case MochiWeb/gen_tcp will not serve the request.
> I'm sure there are a number of ways to work around this limitation.  I'm attaching a
patch that checks if the URL formed from the list of revs to open will be larger than 8 KB,
and if so chunks the list and makes multiple smaller requests.  Best,
> Adam

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

View raw message