- Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Search/SearchSearch-related issues that do not fall into other categoriesSearch-related issues that do not fall into other categoriesbug"" muted="" aria-describedby="MDU6TGFiZWwyMzE3Mw==-tooltip :R5b96b:">>bugTeam:SearchMeta label for search teamMeta label for search team
Description
Elasticsearch Version
master branch
Installed Plugins
none
Java Version
bundled
OS Version
Linux porco 5.16.10-arch1-1 #1 SMP PREEMPT Wed, 16 Feb 2022 19:35:18 +0000 x86_64 GNU/Linux
Problem Description
_disk_usage fails on indices with more than 16 shards.
Steps to Reproduce
curl -uelastic:password -XDELETE localhost:9200/test curl -uelastic:password -XPUT -HContent-Type:application/json localhost:9200/test -d'{ "settings": { "number_of_shards": 32, "number_of_replicas": 0 } }' curl -uelastic:password -XPOST -HContent-Type:application/json localhost:9200/test/_doc?refresh -d'{"test": "test"}' curl -uelastic:password -XPOST -HContent-Type:application/json localhost:9200/test/_doc?refresh -d'{"test": "test"}' curl -uelastic:password -XPOST -HContent-Type:application/json localhost:9200/test/_doc?refresh -d'{"test": "test"}' curl -uelastic:password -XPOST -HContent-Type:application/json localhost:9200/test/_doc?refresh -d'{"test": "test"}' curl -uelastic:password -XPOST -HContent-Type:application/json localhost:9200/test/_doc?refresh -d'{"test": "test"}' curl -s -uelastic:password -XPOST localhost:9200/test/_disk_usage?run_expensive_tasks=true | jq ._shards replies with:
"reason": { "type": "es_rejected_execution_exception", "reason": "rejected execution of org.elasticsearch.action.ActionRunnable$2/WrappedActionListener{org.elasticsearch.action.support.broadcast.TransportBroadcastAction$ShardTransportHandler$$Lambda$7347/0x0000000801cade20@372b5d49}{org.elasticsearch.action.support.broadcast.TransportBroadcastAction$ShardTransportHandler$$Lambda$7348/0x0000000801cae048@2338a214} on EsThreadPoolExecutor[name = runTask-0/analyze, queue capacity = 16, org.elasticsearch.common.util.concurrent.EsThreadPoolExecutor@305bff3e[Running, pool size = 1, active threads = 1, queued tasks = 16, completed tasks = 45]]" } Logs (if relevant)
No response
Metadata
Metadata
Assignees
Labels
:Search/SearchSearch-related issues that do not fall into other categoriesSearch-related issues that do not fall into other categoriesbug"" muted="" aria-describedby="MDU6TGFiZWwyMzE3Mw==-tooltip :Ra5pmb:">>bugTeam:SearchMeta label for search teamMeta label for search team