# Lock any Shard?

**URL:** <https://discuss.elastic.co/t/lock-any-shard/7230>\
**Category:** Elasticsearch\
**Created:** [April 4, 2012, 7:04pm UTC](https://discuss.elastic.co/t/lock-any-shard/7230 "2012-04-04T19:04:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gustavo\_Maia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gustavo_maia/32/2183_2.png) [@Gustavo\_Maia](https://discuss.elastic.co/u/Gustavo_Maia)\
**Post date:** [April 4, 2012, 7:04pm UTC](https://discuss.elastic.co/t/lock-any-shard/7230/1 "2012-04-04T19:04:35Z")

</div>

Hi,

Have possible to lock any shard to writer.  
Example. I have 3 server, and i would like to add new document only in  
one server. Today have this feature ?

--  
Gustavo Maia

---

<div class="post-metadata">

**Author:** ![Lukas\_Vlcek1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas_vlcek1/32/819_2.png) [@Lukas\_Vlcek1](https://discuss.elastic.co/u/Lukas_Vlcek1)\
**Post date:** [April 4, 2012, 9:16pm UTC](https://discuss.elastic.co/t/lock-any-shard/7230/2 "2012-04-04T21:16:11Z")

</div>

Hi,

I do not think there is such feature. Why do you need it? (sounds like you  
are trying to solve different problem then shard locking IMO)

Regards,  
Lukas

On Wed, Apr 4, 2012 at 9:04 PM, Gustavo Maia [gustavobbmaia@gmail.com](mailto:gustavobbmaia@gmail.com)wrote:

> Hi,
> 
> Have possible to lock any shard to writer.  
> Example. I have 3 server, and i would like to add new document only in  
> one server. Today have this feature ?
> 
> --  
> Gustavo Maia

---

<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:33am UTC](https://discuss.elastic.co/t/lock-any-shard/7230/3 "2017-07-06T03:33:33Z")

</div>

Closed on July 6, 2017, 3:33am UTC


