opensearch-project / opensearch-project/OpenSearch
Add stats for operation permit queue
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 13.7k
- Forks
- 3k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 108
Description
The operation permits are acquired once the indexing operation is picked up for execution. We should be able to identify how old an operation resides in the operation permit queue. There are many side effects for an operation lying around in the permit queue. One of them being not allowing relocation handoff to progress. Can we add a stat that would help me identify what is the oldest operation that lies in the permit queue?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the operation permit queue and the existing statistics for indexing or permit handling. Trace where queued operations are recorded and review nearby tests; done means exposing a statistic that identifies the age of the oldest queued operation and validating it with coverage for queue age reporting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100