Skip to content

Commit 1c3ce11

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

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,9 @@ private void waitForTransformStopped(
397397
if (stillRunningTasks.size() > 0) {
398398
message.append("Could not stop the transforms ");
399399
message.append(stillRunningTasks);
400-
message.append(" as they timed out.");
400+
message.append(" as they timed out [");
401+
message.append(timeout.toString());
402+
message.append("].");
401403
}
402404

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

0 commit comments

Comments
 (0)