# Local Gateway: What's the difference between gateway.recover\_from\_nodes and gateway.recover\_from\_master\_nodes?

**URL:** <https://discuss.elastic.co/t/local-gateway-whats-the-difference-between-gateway-recover-from-nodes-and-gateway-recover-from-master-nodes/3396>\
**Category:** Elasticsearch\
**Created:** [October 1, 2010, 3:45pm UTC](https://discuss.elastic.co/t/local-gateway-whats-the-difference-between-gateway-recover-from-nodes-and-gateway-recover-from-master-nodes/3396 "2010-10-01T15:45:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pablo\_Borges](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pablo_borges/32/3313_2.png) [@Pablo\_Borges](https://discuss.elastic.co/u/Pablo_Borges)\
**Post date:** [October 1, 2010, 3:45pm UTC](https://discuss.elastic.co/t/local-gateway-whats-the-difference-between-gateway-recover-from-nodes-and-gateway-recover-from-master-nodes/3396/1 "2010-10-01T15:45:57Z")

</div>

It's unclear to me. The docs didn't help much. 🙂

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [October 1, 2010, 6:16pm UTC](https://discuss.elastic.co/t/local-gateway-whats-the-difference-between-gateway-recover-from-nodes-and-gateway-recover-from-master-nodes/3396/2 "2010-10-01T18:16:25Z")

</div>

Yea, I am working on a complete high level docs of the gateway concepts, to  
tie things together. I plan to explain all of that there.

In general, a (yet undocumented) feature of elasticsearch is the ability to  
start specific master nodes (node.master=true, node.data=false) and data  
nodes (node.master=false, node.data=true). Cluster level state recovery  
(indices created, mappings and so on) only matter for master nodes count.  
Thats why that setting is there.

Data recovery (actual index and transaction log) differs a bit between  
shared gateway and local gateway. With local gateway, there is  
a quorum based recovery, and once a quorum of shard + replica is found for  
each shard, then the index is recovered.

-shay.banon

On Fri, Oct 1, 2010 at 5:45 PM, Pablo Borges [pablort@gmail.com](mailto:pablort@gmail.com) wrote:

> It's unclear to me. The docs didn't help much. 🙂

---

<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, 4:18am UTC](https://discuss.elastic.co/t/local-gateway-whats-the-difference-between-gateway-recover-from-nodes-and-gateway-recover-from-master-nodes/3396/3 "2017-07-06T04:18:35Z")

</div>

Closed on July 6, 2017, 4:18am UTC


