opensearch-project / opensearch-project/OpenSearch

Add stats for operation permit queue

Open
#4,635 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement Indexing & Search
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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.