Skip to content

Commit f99f088

Browse files
author
Hendrik Muhs
authored
[Transform] add actual timeout in message (#50140)
add the timeout to the message if stopping a transform times out
1 parent b6d8a7e commit f99f088

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

x-pack/plugin/transform/src/main/java/org/elasticsearch/xpack/transform/action/TransportStopTransformAction.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,9 @@ private void waitForTransformStopped(
398398
if (stillRunningTasks.size() > 0) {
399399
message.append("Could not stop the transforms ");
400400
message.append(stillRunningTasks);
401-
message.append(" as they timed out.");
401+
message.append(" as they timed out [");
402+
message.append(timeout.toString());
403+
message.append("].");
402404
}
403405

404406
listener.onFailure(new ElasticsearchStatusException(message.toString(), RestStatus.REQUEST_TIMEOUT));

0 commit comments

Comments
 (0)