# What is blocks in \_cluster/state response?

**URL:** <https://discuss.elastic.co/t/what-is-blocks-in-cluster-state-response/116710>\
**Category:** Elasticsearch\
**Created:** [January 23, 2018, 4:22pm UTC](https://discuss.elastic.co/t/what-is-blocks-in-cluster-state-response/116710 "2018-01-23T16:22:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhondup](https://avatars.discourse-cdn.com/v4/letter/d/f1d935/32.png) [@dhondup](https://discuss.elastic.co/u/dhondup)\
**Post date:** [January 23, 2018, 4:22pm UTC](https://discuss.elastic.co/t/what-is-blocks-in-cluster-state-response/116710/1 "2018-01-23T16:22:19Z")

</div>

Can someone please explain what the 'blocks' section of the response in cluster status?

```
# Return only blocks data
$ curl -XGET 'http://localhost:9200/_cluster/state/blocks'

```

The doc does not say what it is.

---

<div class="post-metadata">

**Author:** ![jpountz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jpountz/32/45836_2.png) [@jpountz](https://discuss.elastic.co/u/jpountz)\
**Post date:** [January 23, 2018, 5:55pm UTC](https://discuss.elastic.co/t/what-is-blocks-in-cluster-state-response/116710/2 "2018-01-23T17:55:40Z")

</div>

This describes which operations are blocked and why. For instance, an index needs to be recovered in order to be written to, a cluster needs to have a master in order to have its metadata updated, etc.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 20, 2018, 6:21pm UTC](https://discuss.elastic.co/t/what-is-blocks-in-cluster-state-response/116710/4 "2018-02-20T18:21:55Z")

</div>

Closed on February 20, 2018, 6:21pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
