-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] GET {index}/_settings does not list number_of_routing_shards as setting #14199
Comments
Hello, do you mind if I take a stab at this issue? |
Go ahead! @PeacefulTortoise. I don't see anyone working on it. I've assigned to you. |
I've put up an initial PR! I'm not sure if that line of code that I removed was intentionally put there or not. Could you let me know if this fix looks good? |
is this bug closed? |
Hi, @srikanthpadakanti I don't think any PR related to the issue was merged. You can see the steps to reproduce the bug. Feel free to pick it up if you are interested :) |
Describe the bug
Number of routing shards is a user definable setting which is used during splitting of shard to determine valid splits and number of splits possible. The setting itself is persisted in the
IndexMetadata
.Although, we can get the value from
_cluster/state
under the index's metadata asrouting_num_shards
field, but, it isn't listed while callingGET {index}/_settings
. Naturally, users expect it to be present in the output ofGET {index}/_settings
.Related component
Indexing
To Reproduce
Click to see detailed steps:
Checkout
4c25257
fromopensearch:main
.Expected behavior
User should not delve into the
_cluster/state
to figure outrouting_num_shards
information. Insteadindex.routing_number_of_shards
should be listed in the{index}/_settings
response.Additional Details
Plugins
N/A
Screenshots
N/A
Host/Environment (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: