Skip to content

[Backport 7.7] ISO8601TimeSpanFormatter to use local byte[] array, as opposed to renting from pool. #4522

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
Mar 27, 2020

Conversation

github-actions[bot]
Copy link
Contributor

Backport 12cb326 from #4503

…om pool. (#4503)

The minimum buffer size that can be rented from the shared memory pool is 65535 bytes. This amount of memory for the purposes of deserialising the day component of a string timespan is excessive. This commit changes the procedure to use a local byte array.
@elasticmachine
Copy link
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@codebrain codebrain merged commit de53919 into 7.7 Mar 27, 2020
@codebrain codebrain deleted the backport-4503-to-7.7 branch March 27, 2020 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants