# Search rejection when a shard relocation is complete

**URL:** <https://discuss.elastic.co/t/search-rejection-when-a-shard-relocation-is-complete/258829>\
**Category:** Elasticsearch\
**Created:** [December 16, 2020, 9:23am UTC](https://discuss.elastic.co/t/search-rejection-when-a-shard-relocation-is-complete/258829 "2020-12-16T09:23:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wangxr1985](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wangxr1985/32/117798_2.png) [@wangxr1985](https://discuss.elastic.co/u/wangxr1985)\
**Post date:** [December 16, 2020, 9:23am UTC](https://discuss.elastic.co/t/search-rejection-when-a-shard-relocation-is-complete/258829/1 "2020-12-16T09:23:03Z")

</div>

There was a rare issue when I tried to add several data nodes to my online ES cluster yesterday.  
When the new data nodes joined to the cluster, it began to rebalance shards to these new data nodes.  
Most of the shard relocations completed with no error, as I did before. Just one new data node has several search rejections after a shard relocation, lasted nearly 1 minute.  
I have never encountered this issue before, I think shard relocation should not cause search rejection.  
Is this a bug? My ES version is 7.5.2.

---

<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:** [December 21, 2020, 3:25am UTC](https://discuss.elastic.co/t/search-rejection-when-a-shard-relocation-is-complete/258829/2 "2020-12-21T03:25:11Z")

</div>

Do you have the full rejection error?  
Is there anything in the logs of that Elasticsearch node or the master node?

---

<div class="post-metadata">

**Author:** ![wangxr1985](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wangxr1985/32/117798_2.png) [@wangxr1985](https://discuss.elastic.co/u/wangxr1985)\
**Post date:** [December 22, 2020, 3:44am UTC](https://discuss.elastic.co/t/search-rejection-when-a-shard-relocation-is-complete/258829/3 "2020-12-22T03:44:22Z")

</div>

I use the default log4j2.properties file and there is nothing in the log files.  
It seems that shard relocation will not be recorded in the log

---

<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 19, 2021, 3:44am UTC](https://discuss.elastic.co/t/search-rejection-when-a-shard-relocation-is-complete/258829/4 "2021-01-19T03:44:28Z")

</div>

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