apache / apache/lucene

Check Current System Pressure Before Allocating a New Thread In Concurrent Search [LUCENE-9075]

Open
#10,117 0 comments 0 reactions 0 assignees View on GitHub
legacy-jira-priority:Major type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

When executing slices for a concurrent query, we should check the current status of the system before allocating since that can contribute to the pressure on the system and further degrade the situation

---
Migrated from [LUCENE-9075](https://issues.apache.org/jira/browse/LUCENE-9075) by Atri Sharma (@atris)
Linked issues:
- #10108

Contributor guide

Open the contributing guide

Research direction

Start by locating the concurrent query code that executes slices and allocates new threads. Review the linked issue #10108 for related context before tracing the allocation path. Done means the system's current pressure is checked before each new thread is allocated, with behavior that avoids worsening pressure during concurrent search.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.