Skip to content

[8.17] Workaround max name limit imposed by Jackson 2.17 (#126806) #126873

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 2 commits into from
Apr 18, 2025

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented Apr 15, 2025

Backports the following commits to 8.17:

In Jackson 2.15 a maximum string length of 50k characters was
introduced. We worked around that by override the length to max int on
all parsers created by xcontent. Jackson 2.17 introduced a similar limit
on field names. This commit mimics the workaround for string length by
overriding the max name length to be unlimited.

relates elastic#58952
@rjernst rjernst added :Core/Infra/Core Core issues without another label >bug auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Core/Infra Meta label for core/infra team labels Apr 15, 2025
@rjernst
Copy link
Member Author

rjernst commented Apr 15, 2025

@elasticmachine update branch

@elasticmachine
Copy link
Collaborator

There are no new commits on the base branch.

@rjernst
Copy link
Member Author

rjernst commented Apr 17, 2025

@elasticmachine update branch

@elasticsearchmachine elasticsearchmachine merged commit 2466f90 into elastic:8.17 Apr 18, 2025
16 checks passed
@rjernst rjernst deleted the backport/8.17/pr-126806 branch April 18, 2025 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >bug :Core/Infra/Core Core issues without another label Team:Core/Infra Meta label for core/infra team v8.17.6
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants