-
Notifications
You must be signed in to change notification settings - Fork 24.7k
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
Avoid sending duplicate remote failed shard requests #31313
Merged
Merged
Commits on Jun 14, 2018
-
TEST: getCapturedRequestsAndClear should be atomic
We might lose messages between getCapturedRequestsAndClear calls. This commit makes sure that both getCapturedRequestsAndClear and getCapturedRequestsByTargetNodeAndClear are atomic.
Configuration menu - View commit details
-
Copy full SHA for 99562c0 - Browse repository at this point
Copy the full SHA 99562c0View commit details -
Avoid sending duplicate remote failed shard requests
Today if a replica fails, we will send a shard failed request for each replication request to the master node until that primary receives the new cluster state. However, if a bulk requests are large and the master node is busy, we might overwhelm the cluster with shard failed requests. This commit tries to minimize the shard failed requests in the above scenario by caching the ongoing requests. This was discussed at https://discuss.elastic.co/t/half-dead-node-lead-to-cluster-hang/113658/25
Configuration menu - View commit details
-
Copy full SHA for 251d44c - Browse repository at this point
Copy the full SHA 251d44cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71a2db4 - Browse repository at this point
Copy the full SHA 71a2db4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a704c7 - Browse repository at this point
Copy the full SHA 6a704c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7601a13 - Browse repository at this point
Copy the full SHA 7601a13View commit details
Commits on Jun 15, 2018
-
Revert "TEST: getCapturedRequestsAndClear should be atomic"
This reverts commit 99562c0.
Configuration menu - View commit details
-
Copy full SHA for 19baf31 - Browse repository at this point
Copy the full SHA 19baf31View commit details -
Configuration menu - View commit details
-
Copy full SHA for dcdaba7 - Browse repository at this point
Copy the full SHA dcdaba7View commit details
Commits on Jun 18, 2018
-
Configuration menu - View commit details
-
Copy full SHA for a102531 - Browse repository at this point
Copy the full SHA a102531View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56da910 - Browse repository at this point
Copy the full SHA 56da910View commit details -
Configuration menu - View commit details
-
Copy full SHA for 496a6bd - Browse repository at this point
Copy the full SHA 496a6bdView commit details
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.