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

Concurrency optimization for graph native loading update #2441

Merged

Conversation

Gankris96
Copy link

Description

Fixes #2265

Refactors the graph load into a 2 step approach detailed here - #2265 (comment)

This will help to move out the opening of indexInput file outside of the synchronized block so that the graphfile can be downloaded in parallel even if the graph load and createIndexAllocation are inside synchronized block.

Related Issues

Resolves #2265

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

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.

@Gankris96 Gankris96 force-pushed the concurrent-graph-load-2.x branch from 28b0ef3 to c1c693f Compare January 25, 2025 01:10
Signed-off-by: Ganesh Ramadurai <gramadur@icloud.com>
Copy link
Member

@kotwanikunal kotwanikunal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Folks - can we get some reviews here?
@navneet1v / @shatejas / @jmazanec15

@Gankris96
Copy link
Author

I need some help to add the backport-main tag to this PR

@navneet1v navneet1v merged commit 7e4a2bd into opensearch-project:2.x Jan 27, 2025
115 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 27, 2025
Signed-off-by: Ganesh Ramadurai <gramadur@icloud.com>
(cherry picked from commit 7e4a2bd)
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.

5 participants