# Corrupt index removal

**URL:** <https://discuss.elastic.co/t/corrupt-index-removal/347316>\
**Category:** Elasticsearch\
**Created:** [November 16, 2023, 10:08am UTC](https://discuss.elastic.co/t/corrupt-index-removal/347316 "2023-11-16T10:08:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jack123](https://avatars.discourse-cdn.com/v4/letter/j/c37758/32.png) [@Jack123](https://discuss.elastic.co/u/Jack123)\
**Post date:** [November 16, 2023, 10:08am UTC](https://discuss.elastic.co/t/corrupt-index-removal/347316/1 "2023-11-16T10:08:26Z")

</div>

Hello  
I've a small index that contains only a time stamp on a three node ES deployment.  
However its stuck initializing and there are no allocated secondary's.  
As the data in this index is unimportant I planed to just remove it and recreate the index.  
However I was unable to delete this index

> [2023-11-15T13:37:04,385][DEBUG][o.e.a.a.i.d.TransportDeleteIndexAction] [masterserver1] failed to delete indices [[[mysmallindex/2GqYWer0T4igq8FNVKSnkA]]]  
> org.elasticsearch.cluster.metadata.ProcessClusterEventTimeoutException: failed to process cluster event (delete-index [[mysmallindex/2GqYWer0T4igq8FNVKSnkA]]) within 30s

I tried the delete command with a time out of 120 with the same result.

Any advice on how to remove a index/shard which is initializing welcomed. I am not concerned about data loss in this situation.

Thanks

---

<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:** [November 16, 2023, 10:16am UTC](https://discuss.elastic.co/t/corrupt-index-removal/347316/2 "2023-11-16T10:16:03Z")

</div>

What is the full output of the [cluster stats API](https://www.elastic.co/guide/en/elasticsearch/reference/8.11/cluster-stats.html)? What is the size and specification of the cluster?

---

<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:** [December 14, 2023, 10:16am UTC](https://discuss.elastic.co/t/corrupt-index-removal/347316/3 "2023-12-14T10:16:14Z")

</div>

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