Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the timeout for receiving requests from attachment writers configurable #3952

Merged
merged 1 commit into from Mar 8, 2022

Conversation

jcoglan
Copy link
Contributor

@jcoglan jcoglan commented Mar 7, 2022

Overview

The code that forwards attachment data to cluster nodes via fabric has a
hard-coded timeout of five minutes for nodes to request the data. Making
this configurable lets us mitigate the impact of issue #3939, which
causes requests to block if one of the nodes already has the given
attachment and doesn't end up requesting the data for it.

Related Issues or Pull Requests

Checklist

  • Code is written and works correctly
  • Changes are covered by tests
  • Any new configurable parameters are documented in rel/overlay/etc/default.ini
  • A PR for documentation changes has been made in https://github.com/apache/couchdb-documentation

@jcoglan jcoglan force-pushed the configurable-mp-att-timeout branch from 4f06a80 to 8ca5234 Compare March 7, 2022 19:10
… configurable

The code that forwards attachment data to cluster nodes via fabric has a
hard-coded timeout of five minutes for nodes to request the data. Making
this configurable lets us mitigate the impact of issue apache#3939 [1], which
causes requests to block if one of the nodes already has the given
attachment and doesn't end up requesting the data for it.

[1]: apache#3939
@jcoglan jcoglan force-pushed the configurable-mp-att-timeout branch from 8ca5234 to fdba274 Compare March 8, 2022 11:29
@janl janl merged commit b9a3223 into apache:3.x Mar 8, 2022
@janl janl deleted the configurable-mp-att-timeout branch March 9, 2022 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants