Add timeout mechanism for sending shard failures#14707
Merged
jasontedor merged 1 commit intoelastic:masterfrom Nov 17, 2015
jasontedor:shard-failure-timeout
Merged
Add timeout mechanism for sending shard failures#14707jasontedor merged 1 commit intoelastic:masterfrom jasontedor:shard-failure-timeout
jasontedor merged 1 commit intoelastic:masterfrom
jasontedor:shard-failure-timeout
Conversation
Contributor
There was a problem hiding this comment.
in generation, this should be a variable that's resolved and cached. We shouldn't do settings lookups with each op.
Member
Author
There was a problem hiding this comment.
Addressed in 58fb561c45f4fd9446895adb5f82bdffb26f3cc9.
Contributor
|
Left some comments. |
Contributor
There was a problem hiding this comment.
nit - why not initialize the options to EMPTY and only create a new object under the if?
Member
Author
There was a problem hiding this comment.
Good call. Changed in d1dd9d2d2a1e18afe4454c7adaa18098f55c9e1b.
Contributor
|
LGTM |
This commit adds a timeout mechanism for sending shard failures. The requesting thread can attach a listener to the timeout event so that handling it is part of the event chain. Relates #14252
jasontedor
added a commit
that referenced
this pull request
Nov 17, 2015
Add timeout mechanism for sending shard failures
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit adds a timeout mechanism for sending shard failures. The
requesting thread can attach a listener to the timeout event so that
handling it is part of the event chain.
Relates #14252