-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Fail demoted primary shards and retry request #16415
Fail demoted primary shards and retry request #16415
Commits on Feb 3, 2016
-
Fail demoted primary shards and retry request
This commit handles the scenario where a replication action fails on a replica shard, the primary shard attempts to fail the replica shard but the primary shard is notified of demotion by the master. In this scenario, the demoted primary shard must be failed, and then the request rerouted again to the new primary shard.
Configuration menu - View commit details
-
Copy full SHA for e751dbb - Browse repository at this point
Copy the full SHA e751dbbView commit details
Commits on Feb 9, 2016
-
Duplicate log entry in TransportReplicationAction
This commit removes a logging statement from TransportReplicationAction that occurs when handling a catastrophic non-channel failure while failing a shard. The same information is also logged from ShardStateAction when the master responds to the shard failure request there.
Configuration menu - View commit details
-
Copy full SHA for 0aff805 - Browse repository at this point
Copy the full SHA 0aff805View commit details -
Simplify retry after demoted primary
This commit significantly simplifies the retry logic upon a demoted primary shard. In particular, rather failing the demoted primary via shard state action and starting a new reroute phase, this commit simplifies this logic by failing the demoted primary via an index shard reference, and sending a retry on primary exception back to the original reroute phase.
Configuration menu - View commit details
-
Copy full SHA for b6fa2d6 - Browse repository at this point
Copy the full SHA b6fa2d6View commit details -
Dedicated test upon demoted primary
This commit adds a dedicated test for handling the situation of a demoted primary shard that was trying to fail a replica shard during a replication action.
Configuration menu - View commit details
-
Copy full SHA for 2b3f87f - Browse repository at this point
Copy the full SHA 2b3f87fView commit details -
Remove dead parameter in ReplicationPhase
This commit removes a dead request parameter from the constructor of TransportReplicationAction.ReplicationPhase.
Configuration menu - View commit details
-
Copy full SHA for 2746be7 - Browse repository at this point
Copy the full SHA 2746be7View commit details -
Merge branch 'master' into waiting-is-the-hardest-part
* master: (85 commits) Rename variables. BootstrapSettings final with private constructor simplify method signature Register bootstrap settings Fix asciidoc typo Log warning if max file descriptors too low Require that relocation source is marked as relocating before starting recovery to relocation target apply feedback from @colings86 Speedup MessageDigestTests#testToHexString Fix serialization of `search_analyzer`. Cleanup JavaVersion Detach QueryShardContext from IndexShard and remove obsolete threadlocals Move sorting tests w/o scripting back to core Fix recovery translog stats totals when recovering from store [TEST] Don't assert on null value. It's fine to not always see an exception in this part of the test. Objects#requireNonNull guard in MessageDigests Fix trace logging statement in ZenDiscovery Avoid cloning MessageDigest instances Minor clean up. Make IndicesWarmer a private class of IndexService ...
Configuration menu - View commit details
-
Copy full SHA for c79a368 - Browse repository at this point
Copy the full SHA c79a368View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cd730b - Browse repository at this point
Copy the full SHA 6cd730bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2645039 - Browse repository at this point
Copy the full SHA 2645039View commit details
Commits on Feb 10, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 29643b7 - Browse repository at this point
Copy the full SHA 29643b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2912da0 - Browse repository at this point
Copy the full SHA 2912da0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef2ec7c - Browse repository at this point
Copy the full SHA ef2ec7cView commit details