Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Add pending cluster tasks api #3368
Add an api that shows how many cluster state related tasks (like create index, fail shard etc) are pending.
Usually this will return an empty lists of tasks, because cluster state related tasks execute fast. This api is useful for diagnostic purposes. Rest api:
curl -XGET 'localhost:9200/_cluster/pending_tasks'