# Delete documents after split brain

**URL:** <https://discuss.elastic.co/t/delete-documents-after-split-brain/16776>\
**Category:** Elasticsearch\
**Created:** [April 2, 2014, 6:11pm UTC](https://discuss.elastic.co/t/delete-documents-after-split-brain/16776 "2014-04-02T18:11:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Greg\_4](https://avatars.discourse-cdn.com/v4/letter/g/e99b99/32.png) [@Greg\_4](https://discuss.elastic.co/u/Greg_4)\
**Post date:** [April 2, 2014, 6:11pm UTC](https://discuss.elastic.co/t/delete-documents-after-split-brain/16776/1 "2014-04-02T18:11:34Z")

</div>

Hi,

i am running a cluster of 5 servers. Elasticsearch version 0.90.5 .

Today we run into split brain. One of the server saw all server and was a  
master and another 4 server saw only 4 servers ans has another server as a  
master. We restarted "broken" server, so the problem was gone.

I need to delete a few documents from an index. Index has 5 shards and 1  
replica. But if i try delete by query, elasticsearch says 5 shards failed  
and documets stay there. If i try to delete document by id, elasticsearch  
says -\> document not exists. Do you have any ideas, how i can delete the  
documents?

Thanks

Greg

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/9d72fda0-6d44-465c-9357-4237ea7cae04%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9d72fda0-6d44-465c-9357-4237ea7cae04%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 1:38am UTC](https://discuss.elastic.co/t/delete-documents-after-split-brain/16776/2 "2017-07-06T01:38:42Z")

</div>


