OpenSearch/x-pack/plugin/enrich
Martijn van Groningen f8ebb75fcf
Reuse OperationRouting#searchShards(...) to select local enrich shard (#47359)
The currently logic shard selecting logic selects a random shard copy
instead of selecting the local shard copy and if local copy is not
available then selecting a random shard copy. The latter is desired
behaviour for enrich.

By reusing `OperationRouting#searchShards(...)` we get the desired
behaviour and reuse the same logic that the search api is using.
2019-10-09 17:31:43 +02:00
..
qa Don't remove indices to avoid monitoring from intermittently failing 2019-10-08 17:10:42 +02:00
src Reuse OperationRouting#searchShards(...) to select local enrich shard (#47359) 2019-10-09 17:31:43 +02:00
build.gradle required change after merging in 7 dot x branch 2019-10-09 09:16:23 +02:00