Docs with lots of revisions break replication
---------------------------------------------
Key: COUCHDB-174
URL: https://issues.apache.org/jira/browse/COUCHDB-174
Project: CouchDB
Issue Type: Bug
Components: Database Core
Reporter: Adam Kocoloski
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.