Skip to content

Prevent derived source from open reader per transform #2652

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 14, 2025

Conversation

jmazanec15
Copy link
Member

Description

Fixes a bug that was already fixed in #2494 but was then reverted by accident in a refactor. It makes it so that instead of opening up readers for each transform request, it opens up once per reader.

This was caught in a 100M perf test I was running. Im thinking we should maybe upgrade our nightlies to use this to prevent in future.

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • Commits are signed per the DCO using --signoff.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@jmazanec15 jmazanec15 force-pushed the derived-dup-fix branch 3 times, most recently from b2a5fc7 to e23b7f2 Compare April 9, 2025 03:14
0ctopus13prime
0ctopus13prime previously approved these changes Apr 9, 2025
0ctopus13prime
0ctopus13prime previously approved these changes Apr 9, 2025
shatejas
shatejas previously approved these changes Apr 9, 2025
@jmazanec15 jmazanec15 dismissed stale reviews from shatejas and 0ctopus13prime via 11dec2e April 9, 2025 18:19
@jmazanec15 jmazanec15 force-pushed the derived-dup-fix branch 2 times, most recently from 11dec2e to 947204a Compare April 9, 2025 18:20
@reta
Copy link
Contributor

reta commented Apr 10, 2025

@jmazanec15 #2657 to fix the builds, ty

Fixes a bug that was already fixed in
opensearch-project#2494 but was then
reverted by accident in a refactor. It makes it so that instead of
opening up readers for each transform request, it opens up once per
reader.

Signed-off-by: John Mazanec <[email protected]>
@jmazanec15 jmazanec15 merged commit 7cbc3b3 into opensearch-project:main Apr 14, 2025
36 checks passed
oaganesh pushed a commit to oaganesh/k-NN that referenced this pull request Apr 24, 2025
…ject#2652)

Fixes a bug that was already fixed in
opensearch-project#2494 but was then
reverted by accident in a refactor. It makes it so that instead of
opening up readers for each transform request, it opens up once per
reader.

Signed-off-by: John Mazanec <[email protected]>
oaganesh added a commit to oaganesh/k-NN that referenced this pull request Apr 29, 2025
luyuncheng pushed a commit to luyuncheng/k-NN-1 that referenced this pull request Jun 18, 2025
…ject#2652)

Fixes a bug that was already fixed in
opensearch-project#2494 but was then
reverted by accident in a refactor. It makes it so that instead of
opening up readers for each transform request, it opens up once per
reader.

Signed-off-by: John Mazanec <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Fixes Changes to a system or product designed to handle a programming bug/glitch skip-changelog v3.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants