diff options
author | Simon Willnauer <simonw@apache.org> | 2017-06-01 22:23:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-01 22:23:41 +0200 |
commit | 39e59b49b16a8f82b174ba8066c4769b06a37eb0 (patch) | |
tree | 70decb5ee46db8cac408a4eb1591401b1b63ba6e /core/src/test/java/org/elasticsearch/action/admin/cluster | |
parent | a301bbbe8b34e3de12a3e59ff82a70c6613e6e03 (diff) |
Extract a common base class for scroll executions (#24979)
Today there is a lot of code duplication and different handling of errors
in the two different scroll modes. Yet, it's not clear if we keep both of
them but this simplification will help to further refactor this code to also
add cross cluster search capabilities.
This refactoring also fixes bugs when shards failed due to the node dropped out of the cluster in between scroll requests and failures during the fetch phase of the scroll. Both places where simply ignoring the failure and logging to debug. This can cause issues like #16555
Diffstat (limited to 'core/src/test/java/org/elasticsearch/action/admin/cluster')
0 files changed, 0 insertions, 0 deletions