- Notifications
You must be signed in to change notification settings - Fork 25.6k
[Transform] Make transform _preview
request cancellable #91313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Transform] Make transform _preview
request cancellable #91313
Conversation
a715548
to 0940a6b
Compare Pinging @elastic/ml-core (Team:ML) |
Hi @przemekwitek, I've created a changelog YAML for you. |
.../src/main/java/org/elasticsearch/xpack/transform/action/TransportPreviewTransformAction.java Outdated Show resolved Hide resolved
a1f5504
to e9c4fb5
Compare There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Hi @przemekwitek, I've created a changelog YAML for you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM2
ec96fff
to 9010efc
Compare Hi @przemekwitek, I've created a changelog YAML for you. |
💔 Backport failed
You can use sqren/backport to manually backport by running |
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
) (cherry picked from commit a8a684e) # Conflicts: # x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/transform/preview_transforms.yml # x-pack/plugin/transform/src/main/java/org/elasticsearch/xpack/transform/action/TransportPreviewTransformAction.java # x-pack/plugin/transform/src/main/java/org/elasticsearch/xpack/transform/rest/action/RestPreviewTransformAction.java # x-pack/plugin/transform/src/main/java/org/elasticsearch/xpack/transform/transforms/Function.java # x-pack/plugin/transform/src/main/java/org/elasticsearch/xpack/transform/transforms/common/AbstractCompositeAggFunction.java
This PR improves the way
_preview
request is handled in Transform API:_preview
call cancellable by passing parent task id around_preview
time-bounded by passingtimeout
parameter aroundCloses #91286