# Priming data for a new node

**URL:** https://discuss.elastic.co/t/priming-data-for-a-new-node/20857
**Category:** Elasticsearch
**Created:** [November 20, 2014, 6:20am UTC](https://discuss.elastic.co/t/priming-data-for-a-new-node/20857 "2014-11-20T06:20:40Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Yves\_Dorfsman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yves_dorfsman/32/1106_2.png) [@Yves\_Dorfsman](https://discuss.elastic.co/u/Yves_Dorfsman)
#### Post date: [November 20, 2014, 6:20am UTC](https://discuss.elastic.co/t/priming-data-for-a-new-node/20857/1 "2014-11-20T06:20:40Z")

</div>

When adding a new node to a cluster, is there a way to prevent it from having  
to copy all the data from the other nodes?

We tried to copy the data on disk from an existing node (one that had all the  
data for the given indices), but it still copied everything. Is there a way to  
make it update what is new only?

Thanks.

--  
[http://yves.zioup.com](http://yves.zioup.com)  
gpg: 4096R/32B0F416

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/546D8838.5070405%40zioup.com](https://groups.google.com/d/msgid/elasticsearch/546D8838.5070405%40zioup.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [November 20, 2014, 6:33am UTC](https://discuss.elastic.co/t/priming-data-for-a-new-node/20857/2 "2014-11-20T06:33:10Z")

</div>

It doesn't copy everything, only what it needs to balance the shards.

On 20 November 2014 17:20, Yves Dorfsman [yves@zioup.com](mailto:yves@zioup.com) wrote:

> When adding a new node to a cluster, is there a way to prevent it from  
> having  
> to copy all the data from the other nodes?
> 
> We tried to copy the data on disk from an existing node (one that had all  
> the  
> data for the given indices), but it still copied everything. Is there a  
> way to  
> make it update what is new only?
> 
> Thanks.
> 
> --  
> [http://yves.zioup.com](http://yves.zioup.com)  
> gpg: 4096R/32B0F416
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/546D8838.5070405%40zioup.com](https://groups.google.com/d/msgid/elasticsearch/546D8838.5070405%40zioup.com)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAF3ZnZ%3DSu7TQf9zkhzAR8LJzYeq\_7k%3Dkc4\_SskQK\_5A01sNzqg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAF3ZnZ%3DSu7TQf9zkhzAR8LJzYeq_7k%3Dkc4_SskQK_5A01sNzqg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Yves\_Dorfsman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yves_dorfsman/32/1106_2.png) [@Yves\_Dorfsman](https://discuss.elastic.co/u/Yves_Dorfsman)
#### Post date: [November 21, 2014, 3:55am UTC](https://discuss.elastic.co/t/priming-data-for-a-new-node/20857/3 "2014-11-21T03:55:57Z")

</div>

So if a shard has been updated since the data copy, will it copy the entire  
shard, or just update it?

On Wednesday, 19 November 2014 23:34:01 UTC-7, Mark Walkom wrote:

> It doesn't copy everything, only what it needs to balance the shards.
> 
> On 20 November 2014 17:20, Yves Dorfsman \<[yv...@zioup.com](mailto:yv...@zioup.com) \<javascript:\>\>  
> wrote:
> 
> > When adding a new node to a cluster, is there a way to prevent it from  
> > having  
> > to copy all the data from the other nodes?
> > 
> > We tried to copy the data on disk from an existing node (one that had all  
> > the  
> > data for the given indices), but it still copied everything. Is there a  
> > way to  
> > make it update what is new only?
> > 
> > Thanks.
> > 
> > --  
> > [http://yves.zioup.com](http://yves.zioup.com)  
> > gpg: 4096R/32B0F416

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/b7b30007-972b-40cb-a5b0-5eb1c1b738c5%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b7b30007-972b-40cb-a5b0-5eb1c1b738c5%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 12:48am UTC](https://discuss.elastic.co/t/priming-data-for-a-new-node/20857/4 "2017-07-06T00:48:29Z")

</div>


