opensearch-project / OpenSearch

🔎 Open source distributed and RESTful search engine.
https://opensearch.org/docs/latest/opensearch/index/
Apache License 2.0
9.44k stars 1.73k forks source link

[BUG] New AllocationStatus during Allocator timeout #14940

Open imRishN opened 1 month ago

imRishN commented 1 month ago

Describe the bug

With this https://github.com/opensearch-project/OpenSearch/pull/14848 we added timeout mechanism to time bound large shard allocations. And currently, we are marking the unassigned shards THROTTLED which fails to be allocated to during a reroute round. We would want to add new AllocationStatus which would convey the decision of an unassigned shard better.

Related PR Comments -

  1. https://github.com/opensearch-project/OpenSearch/pull/14848#discussion_r1687421542

Related component

Other

To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

New Allocation Status for allocator timeout

Additional Details

Plugins Please list all plugins currently enabled.

Screenshots If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

Additional context Add any other context about the problem here.

peternied commented 1 month ago

[Triage - attendees 1 2] @imRishN Thanks for creating this issue, could you make a pull request to address this or update the description to remove to make it clearer what should be done for another community member?