# About "IndexNotFoundException" after replica set

**URL:** <https://discuss.elastic.co/t/about-indexnotfoundexception-after-replica-set/213303>\
**Category:** Elasticsearch\
**Created:** [December 30, 2019, 2:02am UTC](https://discuss.elastic.co/t/about-indexnotfoundexception-after-replica-set/213303 "2019-12-30T02:02:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hyunsoo\_Shim](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hyunsoo_shim/32/55197_2.png) [@Hyunsoo\_Shim](https://discuss.elastic.co/u/Hyunsoo_Shim)\
**Post date:** [December 30, 2019, 2:02am UTC](https://discuss.elastic.co/t/about-indexnotfoundexception-after-replica-set/213303/1 "2019-12-30T02:02:16Z")

</div>

[System Info]  
instance : 6ea (node : 6ea)

- cpu : 16core
- ram : 64GB
- jvm heap : 16GB

We have created one index and done full indexing like the below steps.

[Steps]

1. create index (refresh interval : -1, replica : 0)
2. full indexing with bulk (total index size is 1.8GB)
3. \_flush
4. check "commited" is true for all segments of created index (GET index\_name/\_segments)
5. refresh and set refresh interval to 30s
6. set replica to 5

When we do the last step(set replica to 5), there are so many logs "IndexNotFoundException: no segments" from master node.  
And then we can't access master node because of those errors for long time..  
As I described from step 4, We have checked commited status for all segments to prevent uncommited segments after \_flush.  
Could we know why this issue was happened and how to handle it?

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [December 30, 2019, 6:24am UTC](https://discuss.elastic.co/t/about-indexnotfoundexception-after-replica-set/213303/2 "2019-12-30T06:24:52Z")

</div>

> [@Hyunsoo\_Shim](#):
>
> IndexNotFoundException: no segments

This is not the whole message. It's hard to say what it means from this fragment alone. Please share exactly what you're seeing.

Also what version are you using?

---

<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:** [January 27, 2020, 6:25am UTC](https://discuss.elastic.co/t/about-indexnotfoundexception-after-replica-set/213303/3 "2020-01-27T06:25:00Z")

</div>

Closed on January 27, 2020, 6:25am UTC

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