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

Move parallel fetch config into index live settings #740

Conversation

aprudhomme
Copy link
Contributor

Move the configuration options for parallel fetch out of ThreadPoolConfiguration and into the index live settings.

There are two config options:

  • parallelFetchByField - if the work should be divided by fields instead of by document
  • parallelFetchChunkSize - the maximum number of fields/documents to process in a single fetch task

Enabling parallel fetch is still based on the fetch thread pool configuration. If the max threads is > 1, fetch is enabled. The maximum number of fetch tasks per query is limited by the thread pool max threads.

@aprudhomme aprudhomme merged commit 14e4421 into Yelp:main Oct 3, 2024
1 check passed
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