Skip to content

Conversation

srikanthpadakanti
Copy link
Contributor

Description

This PR updates the documentation to include information about the new ForkJoinPool thread pool type in OpenSearch. It explains the purpose, configuration options, and use cases for ForkJoinPool, which is now supported as a thread pool type for components that benefit from parallelism, such as jVector.

Issues Resolved

Closes #18664
Closes opensearch-project/OpenSearch#18674

Version

Applies to OpenSearch version 3.2 and later.

Frontend features

N/A (documentation only)

Checklist

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

Signed-off-by: Srikanth Padakanti <srikanth_padakanti@apple.com>
Copy link

Thank you for submitting your PR. The PR states are In progress (or Draft) -> Tech review -> Doc review -> Editorial review -> Merged.

Before you submit your PR for doc review, make sure the content is technically accurate. If you need help finding a tech reviewer, tag a maintainer.

When you're ready for doc review, tag the assignee of this PR. The doc reviewer may push edits to the PR directly or leave comments and editorial suggestions for you to address (let us know in a comment if you have a preference). The doc reviewer will arrange for an editorial review.

Signed-off-by: Srikanth Padakanti <srikanth_padakanti@apple.com>
@kolchfa-aws kolchfa-aws added Doc review PR: Doc review in progress backport 3.2 labels Sep 24, 2025
Copy link
Collaborator

@kolchfa-aws kolchfa-aws left a comment

Choose a reason for hiding this comment

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

Thank you, @srikanthpadakanti! Please see my comments and let me know if you have any questions.


ForkJoin thread pools support the following settings:

- `thread_pool.<pool_name>.parallelism` (Static, integer): Sets the target parallelism level (number of worker threads) for the pool. This typically matches the number of available processors but can be tuned for specific workloads.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do any of these settings have defaults? If so, please list the defaults in the form "Default is <>".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes non zero. Minimum has to be 1. Thanks.

@kolchfa-aws
Copy link
Collaborator

@srikanthpadakanti Just checking in on this PR - could you update it so we can move it forward?

@srikanthpadakanti
Copy link
Contributor Author

srikanthpadakanti commented Oct 6, 2025

Hello @kolchfa-aws Apologies for the delayed response.
There were some PR comments that needs to be addressed. Also, it is already past the 3.3 freeze time. So this has to be going in to 3.4
Once I have enough information, I will make necessary changes to this PR.
Till then, this is on hold.

srikanthpadakanti and others added 7 commits October 6, 2025 11:03
…ings.md

Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Signed-off-by: Srikanth Padakanti <srikanth29.9@gmail.com>
…ings.md

Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Signed-off-by: Srikanth Padakanti <srikanth29.9@gmail.com>
…ings.md

Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Signed-off-by: Srikanth Padakanti <srikanth29.9@gmail.com>
…ings.md

Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Signed-off-by: Srikanth Padakanti <srikanth29.9@gmail.com>
…ings.md

Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Signed-off-by: Srikanth Padakanti <srikanth29.9@gmail.com>
…ings.md

Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Signed-off-by: Srikanth Padakanti <srikanth29.9@gmail.com>
…ings.md

Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Signed-off-by: Srikanth Padakanti <srikanth29.9@gmail.com>
@kolchfa-aws kolchfa-aws added v3.4.0 and removed backport 3.2 Doc review PR: Doc review in progress Awaiting response labels Oct 6, 2025
Copy link
Contributor

@Bukhtawar Bukhtawar left a comment

Choose a reason for hiding this comment

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

Thanks for the changes LGTM

@srikanthpadakanti
Copy link
Contributor Author

Thanks for the changes LGTM

Thank you @Bukhtawar and @kolchfa-aws
You can please go ahead with Merging. Thanks.

@kolchfa-aws
Copy link
Collaborator

Thanks! Moving to editorial review.

@kolchfa-aws
Copy link
Collaborator

@srikanthpadakanti Did this feature make it to 3.3?

@kolchfa-aws kolchfa-aws added the Editorial review PR: Editorial review in progress label Oct 9, 2025
…ings.md

Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Signed-off-by: Nathan Bower <nbower@amazon.com>
Copy link
Collaborator

@natebower natebower left a comment

Choose a reason for hiding this comment

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

LGTM

@natebower natebower added Done but waiting to merge PR: The work is done and ready to merge Awaiting response and removed Editorial review PR: Editorial review in progress labels Oct 9, 2025
@srikanthpadakanti
Copy link
Contributor Author

@srikanthpadakanti Did this feature make it to 3.3?

@kolchfa-aws Making it to 3.4.0
PR not merged yet. Thanks.

@natebower natebower removed their assignment Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Done but waiting to merge PR: The work is done and ready to merge v3.4.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] Add support for a ForkJoinPool type
4 participants