# Shrink How to avoid stop writing

**URL:** <https://discuss.elastic.co/t/shrink-how-to-avoid-stop-writing/269154>\
**Category:** Elasticsearch\
**Created:** [April 3, 2021, 3:40pm UTC](https://discuss.elastic.co/t/shrink-how-to-avoid-stop-writing/269154 "2021-04-03T15:40:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![asasas234](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/asasas234/32/113152_2.png) [@asasas234](https://discuss.elastic.co/u/asasas234)\
**Post date:** [April 3, 2021, 3:40pm UTC](https://discuss.elastic.co/t/shrink-how-to-avoid-stop-writing/269154/1 "2021-04-03T15:40:17Z")

</div>

I have 1 index with 2 primary shards, I want to narrow it down to 1 shard, I learned through search that it is recommended to achieve through shrink api, but shrink will stop writing, is there any solution to stop writing?

---

<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:** [April 3, 2021, 7:20pm UTC](https://discuss.elastic.co/t/shrink-how-to-avoid-stop-writing/269154/2 "2021-04-03T19:20:07Z")

</div>

You can't.

You need to make your users write to another index if you can't stop writing.

---

<div class="post-metadata">

**Author:** ![asasas234](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/asasas234/32/113152_2.png) [@asasas234](https://discuss.elastic.co/u/asasas234)\
**Post date:** [April 4, 2021, 2:27am UTC](https://discuss.elastic.co/t/shrink-how-to-avoid-stop-writing/269154/3 "2021-04-04T02:27:30Z")

</div>

@dadoonet thanks Just as I thought

---

<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:** [May 2, 2021, 2:28am UTC](https://discuss.elastic.co/t/shrink-how-to-avoid-stop-writing/269154/4 "2021-05-02T02:28:22Z")

</div>

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