# Data Replication

**URL:** <https://discuss.elastic.co/t/data-replication/163249>\
**Category:** Elasticsearch\
**Created:** [January 7, 2019, 5:05pm UTC](https://discuss.elastic.co/t/data-replication/163249 "2019-01-07T17:05:57Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![amarender](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@amarender](https://discuss.elastic.co/u/amarender)\
**Post date:** [January 7, 2019, 5:05pm UTC](https://discuss.elastic.co/t/data-replication/163249/1 "2019-01-07T17:05:58Z")

</div>

I have a three node cluster as master and data nodes. I need help in uderstanding the below situation.

A repo is created when node 1 is running and node2,3 are shutdown. What happens when node2/node 3 becomes active and node 1 goes down? Will the data is available on node3 which is created when node 1 is in active state?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 7, 2019, 6:02pm UTC](https://discuss.elastic.co/t/data-replication/163249/2 "2019-01-07T18:02:07Z")

</div>

> A repo is created when node 1 is running and node2,3 are shutdown

Did you mean repository or index?

---

<div class="post-metadata">

**Author:** ![amarender](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@amarender](https://discuss.elastic.co/u/amarender)\
**Post date:** [January 8, 2019, 1:49am UTC](https://discuss.elastic.co/t/data-replication/163249/3 "2019-01-08T01:49:36Z")

</div>

Yes..it's repository in bitbucket

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 8, 2019, 3:26am UTC](https://discuss.elastic.co/t/data-replication/163249/4 "2019-01-08T03:26:46Z")

</div>

I don't think I understood the question then.  
Could you clarify?

For example, what command do you use to create the repository?

---

<div class="post-metadata">

**Author:** ![amarender](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@amarender](https://discuss.elastic.co/u/amarender)\
**Post date:** [January 8, 2019, 4:59am UTC](https://discuss.elastic.co/t/data-replication/163249/5 "2019-01-08T04:59:14Z")

</div>

We have configured elastic search with bitbucket and created repository in bitbucket. We are running some testcases like node 1 is up node 2,3 are down created a repository in bitbucket. Tried searching for a keyword created in repository it works but when we bring down node 1 and bring up node 2/3 it doesn't search the same keyword??so just want to know why it didn't able to fetch the results. As per my understanding node 1 should replicate data on to node2/3. So search should work

---

<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:** [January 8, 2019, 5:37am UTC](https://discuss.elastic.co/t/data-replication/163249/6 "2019-01-08T05:37:57Z")

</div>

> [@amarender](#):
>
> We have configured Elasticsearch with bitbucket and created repository in bitbucket

Do you mean a snapshot repository?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 8, 2019, 6:06am UTC](https://discuss.elastic.co/t/data-replication/163249/7 "2019-01-08T06:06:36Z")

</div>

I think you meant index. But I don't understand what is the link with bitbucket.

Are you really speaking about Elasticsearch?

what command do you use to create the repository?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [January 8, 2019, 7:23am UTC](https://discuss.elastic.co/t/data-replication/163249/8 "2019-01-08T07:23:39Z")

</div>

Elasticsearch is designed to run in a cluster where a majority of nodes are available at any point in time and each node has access to its own dedicated storage. Running multiple nodes which shares data on a shared file system is not supported. I also do not believe using bitbucket for storage is supported.

---

<div class="post-metadata">

**Author:** ![amarender](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@amarender](https://discuss.elastic.co/u/amarender)\
**Post date:** [January 8, 2019, 3:25pm UTC](https://discuss.elastic.co/t/data-replication/163249/9 "2019-01-08T15:25:43Z")

</div>

we are trying to fetch data which was created when node 1 is active and results are not same on node2/3 when node1 is down.

---

<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 5, 2019, 3:25pm UTC](https://discuss.elastic.co/t/data-replication/163249/10 "2019-02-05T15:25:44Z")

</div>

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