[BUG] GET {index}/_settings does not list number_of_routing_shards as setting #14199
Labels
bug
Something isn't working
good first issue
Good for newcomers
Indexing
Indexing, Bulk Indexing and anything related to indexing
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: