Skip to content
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

[Backport 2.x] Fix bytes offset bug and duplicate readers and add uTs for derived source #2497

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport ab33538 from #2494

…urce (#2494)

Fixes a bug in the derived source writer where we are reading the entire
bytes array from the bytes ref instead of just the offset+length.

Also reuses readers to prevent memory leak

Along with that, touches up the ParentChildHelper (no prod impact) and
also adds some unit tests.

Signed-off-by: John Mazanec <[email protected]>
(cherry picked from commit ab33538)
@jmazanec15 jmazanec15 merged commit 55d3468 into 2.x Feb 6, 2025
96 of 115 checks passed
@github-actions github-actions bot deleted the backport/backport-2494-to-2.x branch February 6, 2025 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants