GitHub user nickva opened a pull request:
https://github.com/apache/couchdb-fabric/pull/89
Prevent attachment upload from timing out during update_docs fabric call
Currently if an attachment was large enough or the connection was slow
enough
such that it took more than fabric.request_timeout = 60000 milliseconds, the
fabric request would time out during attachment data transfer from
coordinator
node to other nodes and the whole request would fail.
This was most evident when replicating database with large attachments.
The fix is to periodically send `attachment_chunk_received` to coordinator
to
prevent the timeout.
COUCHDB-3302
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloudant/couchdb-fabric couchdb-3302
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-fabric/pull/89.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #89
----
commit 6e9074bc8778e00471d96191319ac67d6c78c05a
Author: Nick Vatamaniuc <[email protected]>
Date: 2017-02-21T22:46:57Z
Prevent attachment upload from timing out during update_docs fabric call
Currently if an attachment was large enough or the connection was slow
enough
such that it took more than fabric.request_timeout = 60000 milliseconds, the
fabric request would time out during attachment data transfer from
coordinator
node to other nodes and the whole request would fail.
This was most evident when replicating database with large attachments.
The fix is to periodically send `attachment_chunk_received` to coordinator
to
prevent the timeout.
COUCHDB-3302
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---