Skip to content

Jackson 2.15: String length exceeds the maximum length (5000000) in SMILE #104009

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

Closed
stu-elastic opened this issue Jan 5, 2024 · 1 comment · Fixed by #103930
Closed

Jackson 2.15: String length exceeds the maximum length (5000000) in SMILE #104009

stu-elastic opened this issue Jan 5, 2024 · 1 comment · Fixed by #103930
Labels
>bug :Core/Infra/Core Core issues without another label Team:Core/Infra Meta label for core/infra team

Comments

@stu-elastic
Copy link
Contributor

Jackson 2.15 has a rough max limit on string length. In #96031 it was relaxed for JSON, but it appears in Smile, Yaml and CBOR as well.

This artificially limits certain field sizes.

@stu-elastic stu-elastic added >bug :Core/Infra/Core Core issues without another label labels Jan 5, 2024
@elasticsearchmachine elasticsearchmachine added the Team:Core/Infra Meta label for core/infra team label Jan 5, 2024
@elasticsearchmachine
Copy link
Collaborator

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

stu-elastic added a commit that referenced this issue Jan 8, 2024
Remove the rough limit on string length from Jackson 2.15. The limit was already relaxed for JSON in #96031, this extends that change to other XContent types.

Refs: #96031
Fixes: #104009
stu-elastic added a commit to stu-elastic/elasticsearch that referenced this issue Jan 8, 2024
Remove the rough limit on string length from Jackson 2.15. The limit was already relaxed for JSON in elastic#96031, this extends that change to other XContent types.

Refs: elastic#96031
Fixes: elastic#104009
(cherry picked from commit a359b1f)
elasticsearchmachine pushed a commit that referenced this issue Jan 8, 2024
Remove the rough limit on string length from Jackson 2.15. The limit was already relaxed for JSON in #96031, this extends that change to other XContent types.

Refs: #96031
Fixes: #104009
(cherry picked from commit a359b1f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Core/Infra/Core Core issues without another label Team:Core/Infra Meta label for core/infra team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants