couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson (JIRA)" <>
Subject [jira] Resolved: (COUCHDB-174) Docs with lots of revisions break replication
Date Tue, 16 Dec 2008 22:24:44 GMT


Chris Anderson resolved COUCHDB-174.

    Resolution: Fixed

fixed in r727182

> 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