Skip to content

Change script context names for run time fields to type_field (#71581) #71586

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

Merged
merged 1 commit into from
Apr 12, 2021

Conversation

jdconrad
Copy link
Contributor

Test #71581 for backport to 7.x.

…c#71581)

This changes all the script context names specifically for runtime fields to be *_field such as long_field 
and geo_point_field, etc. This change is internal detail that will only be exposed through the Painless 
execute API as part of (elastic#71374) and should not have bwc issues. I tested this change locally on a 
mixed cluster to ensure scripts stored with the old runtime fields context names are both still 
retrievable and delete-able. This works because the context name is only used during the request to 
check for valid compilation, but never actually stored as part of the cluster state.
@jdconrad jdconrad added :Core/Infra/Scripting Scripting abstractions, Painless, and Mustache backport labels Apr 12, 2021
@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Apr 12, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@jdconrad jdconrad merged commit 27892c3 into elastic:7.x Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :Core/Infra/Scripting Scripting abstractions, Painless, and Mustache Team:Core/Infra Meta label for core/infra team v7.13.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants