quickwit-oss / quickwit-oss/quickwit

RAYON_NUM_THREADS affects the size of our search thread pool

Open
#1,713 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
11.7k
Forks
597
Avg merge
2d 22h
Merged PRs (30d)
37

Description

That could be quite misleading for users who have randomly set this environment variable.
We probably want to hardcode it to the number given by num_cpus available.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the codebase for RAYON_NUM_THREADS, num_cpus, and the search thread-pool setup, then inspect how the pool size is selected. Confirm that the pool size is based on the available num_cpus value rather than the environment variable, and run the relevant search or thread-pool tests if present.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.