We use Elasticsearch 1.7.0.
Currently, we have problems with big number of pending tasks (~17K pending tasks). Some of the tasks have been in the queue for >5 hours. We know it is most likely because of a dynamic mapping implemented to an index that causes really big index mapping.
The cluster health is still green. But, the cluster cannot accept any search requests. Elasticsearch-head plugin also doesn't work.
Is there any API to remove/clear pending tasks? How do you normally deal with very high pending tasks?
Thank you very much.