[ 
https://issues.apache.org/jira/browse/COUCHDB-174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Bisbee closed COUCHDB-174.
------------------------------


Resolved for a while. Closing.
                
> 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
>         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.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to