OpenSearch/x-pack/plugin/ml/qa
Dimitris Athanasiou fe3c9e71d1
[7.x][ML] Fix DFA explain API timeout when source index is missing (#50176) (#50180)
This commit fixes a bug that caused the data frame analytics
_explain API to time out in a multi-node setup when the source
index was missing. When we try to create the extracted fields detector,
we check the index settings. If the index is missing that responds
with a failure that could be wrapped as a remote exception.
While we unwrapped correctly to check if the cause was an
`IndexNotFoundException`, we then proceeded to cast the original
exception instead of the cause.

Backport of #50176
2019-12-13 17:00:55 +02:00
..
basic-multi-node Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
disabled Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
ml-with-security [7.x][ML] Add optional source filtering during data frame reindexing (#49690) (#49718) 2019-11-29 16:10:44 +02:00
native-multi-node-tests [7.x][ML] Fix DFA explain API timeout when source index is missing (#50176) (#50180) 2019-12-13 17:00:55 +02:00
no-bootstrap-tests Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
single-node-tests Convert most awaitBusy calls to assertBusy (#45794) (#47112) 2019-09-29 12:21:46 +01:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00