Skip to content

Conversation

@jasontedor
Copy link
Member

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

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in generation, this should be a variable that's resolved and cached. We shouldn't do settings lookups with each op.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in 58fb561c45f4fd9446895adb5f82bdffb26f3cc9.

@bleskes
Copy link
Contributor

bleskes commented Nov 13, 2015

Left some comments.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit - why not initialize the options to EMPTY and only create a new object under the if?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call. Changed in d1dd9d2d2a1e18afe4454c7adaa18098f55c9e1b.

@bleskes
Copy link
Contributor

bleskes commented Nov 13, 2015

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 jasontedor removed the review label Nov 17, 2015
jasontedor added a commit that referenced this pull request Nov 17, 2015
Add timeout mechanism for sending shard failures
@jasontedor jasontedor merged commit 4f3eec9 into elastic:master Nov 17, 2015
@jasontedor jasontedor deleted the shard-failure-timeout branch November 17, 2015 21:42
@jasontedor jasontedor mentioned this pull request Nov 24, 2015
9 tasks
@clintongormley clintongormley added :Distributed Indexing/Distributed A catch all label for anything in the Distributed Indexing Area. Please avoid if you can. and removed :Cluster labels Feb 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Indexing/Distributed A catch all label for anything in the Distributed Indexing Area. Please avoid if you can. >enhancement resiliency v5.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants