# Does index.translog.disable\_flush settings affect whole cluster or just specific node?

**URL:** <https://discuss.elastic.co/t/does-index-translog-disable-flush-settings-affect-whole-cluster-or-just-specific-node/7506>\
**Category:** Elasticsearch\
**Created:** [April 29, 2012, 10:30am UTC](https://discuss.elastic.co/t/does-index-translog-disable-flush-settings-affect-whole-cluster-or-just-specific-node/7506 "2012-04-29T10:30:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Piavlo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/piavlo/32/1214_2.png) [@Piavlo](https://discuss.elastic.co/u/Piavlo)\
**Post date:** [April 29, 2012, 10:30am UTC](https://discuss.elastic.co/t/does-index-translog-disable-flush-settings-affect-whole-cluster-or-just-specific-node/7506/1 "2012-04-29T10:30:04Z")

</div>

Hi,

I have a cluster in ec2 and I want to make cluster wide consistent  
backup by:  
1)set index.translog.disable\_flush=true  
2)make manual flush  
3)snapshot elastic search datadir EBS volume on each node.

The question the index.translog.disable\_flush and  
[http://localhost:9200/\_flush](http://localhost:9200/_flush) are per node actions which i need to run on  
each node or they are cluster wide and can be issued just once against  
any node in the cluster?

Thanks  
Alex

---

<div class="post-metadata">

**Author:** ![Igor\_Motov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igor_motov/32/45193_2.png) [@Igor\_Motov](https://discuss.elastic.co/u/Igor_Motov)\
**Post date:** [April 29, 2012, 3:26pm UTC](https://discuss.elastic.co/t/does-index-translog-disable-flush-settings-affect-whole-cluster-or-just-specific-node/7506/2 "2012-04-29T15:26:13Z")

</div>

Flush and update settings are per-index operations. If you will run them  
without specifying index name (using /\_flush and /\_settings) on any node in  
the cluster, they will run on all indices on all nodes.

On Sunday, April 29, 2012 6:30:04 AM UTC-4, Piavlo wrote:

> Hi,
> 
> I have a cluster in ec2 and I want to make cluster wide consistent  
> backup by:  
> 1)set index.translog.disable\_flush=true  
> 2)make manual flush  
> 3)snapshot Elasticsearch datadir EBS volume on each node.
> 
> The question the index.translog.disable\_flush and  
> [http://localhost:9200/\_flush](http://localhost:9200/_flush) are per node actions which i need to run on  
> each node or they are cluster wide and can be issued just once against  
> any node in the cluster?
> 
> Thanks  
> Alex

---

<div class="post-metadata">

**Author:** ![Piavlo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/piavlo/32/1214_2.png) [@Piavlo](https://discuss.elastic.co/u/Piavlo)\
**Post date:** [April 30, 2012, 3:31pm UTC](https://discuss.elastic.co/t/does-index-translog-disable-flush-settings-affect-whole-cluster-or-just-specific-node/7506/3 "2012-04-30T15:31:01Z")

</div>

Thanks for your reply Igor

And is there way to know if the /\_flush has finished on all cluster nodes?

Thanks

On 04/29/2012 06:26 PM, Igor Motov wrote:

> Flush and update settings are per-index operations. If you will run  
> them without specifying index name (using /\_flush and /\_settings) on  
> any node in the cluster, they will run on all indices on all nodes.
> 
> On Sunday, April 29, 2012 6:30:04 AM UTC-4, Piavlo wrote:
> 
> ```
> Hi,
> 
> I have a cluster in ec2 and I want to make cluster wide consistent
> backup by:
> 1)set index.translog.disable_flush=true
> 2)make manual flush
> 3)snapshot elastic search datadir EBS volume on each node.
> 
> The question the index.translog.disable_flush and
> http://localhost:9200/_flush are per node actions which i need to
> run on
> each node or they are cluster wide and can be issued just once
> against
> any node in the cluster?
> 
> Thanks
> Alex
> 
> ```

---

<div class="post-metadata">

**Author:** ![Igor\_Motov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igor_motov/32/45193_2.png) [@Igor\_Motov](https://discuss.elastic.co/u/Igor_Motov)\
**Post date:** [April 30, 2012, 8:21pm UTC](https://discuss.elastic.co/t/does-index-translog-disable-flush-settings-affect-whole-cluster-or-just-specific-node/7506/4 "2012-04-30T20:21:16Z")

</div>

The REST \_flush method is blocking. It returns when \_flush on all shards  
either finishes successfully or fails and returns corresponding numbers.

On Monday, April 30, 2012 11:31:27 AM UTC-4, Piavlo wrote:

> Thanks for your reply Igor
> 
> And is there way to know if the /\_flush has finished on all cluster nodes?
> 
> Thanks
> 
> On 04/29/2012 06:26 PM, Igor Motov wrote:
> 
> Flush and update settings are per-index operations. If you will run them  
> without specifying index name (using /\_flush and /\_settings) on any node in  
> the cluster, they will run on all indices on all nodes.
> 
> On Sunday, April 29, 2012 6:30:04 AM UTC-4, Piavlo wrote:
> 
> > Hi,
> > 
> > I have a cluster in ec2 and I want to make cluster wide consistent  
> > backup by:  
> > 1)set index.translog.disable\_flush=true  
> > 2)make manual flush  
> > 3)snapshot Elasticsearch datadir EBS volume on each node.
> > 
> > The question the index.translog.disable\_flush and  
> > [http://localhost:9200/\_flush](http://localhost:9200/_flush) are per node actions which i need to run on  
> > each node or they are cluster wide and can be issued just once against  
> > any node in the cluster?
> > 
> > Thanks  
> > Alex

---

<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 6, 2017, 3:30am UTC](https://discuss.elastic.co/t/does-index-translog-disable-flush-settings-affect-whole-cluster-or-just-specific-node/7506/5 "2017-07-06T03:30:31Z")

</div>


