# Which part of cluster state will be written to disk?

**URL:** https://discuss.elastic.co/t/which-part-of-cluster-state-will-be-written-to-disk/46618
**Category:** Elasticsearch
**Created:** [April 7, 2016, 1:46am UTC](https://discuss.elastic.co/t/which-part-of-cluster-state-will-be-written-to-disk/46618 "2016-04-07T01:46:57Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![makeyang](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@makeyang](https://discuss.elastic.co/u/makeyang)
#### Post date: [April 7, 2016, 1:46am UTC](https://discuss.elastic.co/t/which-part-of-cluster-state-will-be-written-to-disk/46618/1 "2016-04-07T01:46:57Z")

</div>

cluster state contains many parts:  
version  
routingtable  
nodes  
metadata  
blocks  
customs  
clusterName  
routingNodes  
settingsFilter  
status  
I only find that metadata in dsik. so my question is: are other parts be written to disk or not? if yes, where to find them? if no, why?

---

<div class="post-metadata">

### Author: ![makeyang](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@makeyang](https://discuss.elastic.co/u/makeyang)
#### Post date: [April 7, 2016, 10:07am UTC](https://discuss.elastic.co/t/which-part-of-cluster-state-will-be-written-to-disk/46618/2 "2016-04-07T10:07:40Z")

</div>

anyone can help?  
I read source code(ES1.7) and met this problem which bothers me a lot.  
in my mind, all state part should be written to disk. but turns ont not so based on what I found in code.

---

<div class="post-metadata">

### Author: ![makeyang](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@makeyang](https://discuss.elastic.co/u/makeyang)
#### Post date: [April 8, 2016, 1:29am UTC](https://discuss.elastic.co/t/which-part-of-cluster-state-will-be-written-to-disk/46618/3 "2016-04-08T01:29:41Z")

</div>

can I get answer for serious question like this in the forum?

---

<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: [July 5, 2017, 11:01pm UTC](https://discuss.elastic.co/t/which-part-of-cluster-state-will-be-written-to-disk/46618/4 "2017-07-05T23:01:20Z")

</div>


