[Transform] Add test logging regarding conflict on start (#63383)
add extra logging for investigation of #63365
This commit is contained in:
parent
eadd69e1e4
commit
d45f7de3fb
|
@ -149,6 +149,14 @@ abstract class TransformIntegTestCase extends ESRestTestCase {
|
|||
try (RestHighLevelClient restClient = new TestRestHighLevelClient()) {
|
||||
return restClient.transform().startTransform(new StartTransformRequest(id), options);
|
||||
} catch (ElasticsearchStatusException e) {
|
||||
logger.warn(
|
||||
"Failed to start transform [{}], remaining retries [{}], error: [{}], status: [{}]",
|
||||
id,
|
||||
retries,
|
||||
e.getDetailedMessage(),
|
||||
e.status()
|
||||
);
|
||||
|
||||
if (RestStatus.CONFLICT.equals(e.status()) == false) {
|
||||
throw e;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue