# "failed to merge" errors

**URL:** <https://discuss.elastic.co/t/failed-to-merge-errors/13219>\
**Category:** Elasticsearch\
**Created:** [August 14, 2013, 9:50pm UTC](https://discuss.elastic.co/t/failed-to-merge-errors/13219 "2013-08-14T21:50:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![J\_Mora](https://avatars.discourse-cdn.com/v4/letter/j/c68b51/32.png) [@J\_Mora](https://discuss.elastic.co/u/J_Mora)\
**Post date:** [August 14, 2013, 9:50pm UTC](https://discuss.elastic.co/t/failed-to-merge-errors/13219/1 "2013-08-14T21:50:32Z")

</div>

Hi Everyone,

We have a cluster of 3 servers with 5 indices each with 5 shards and 1  
replica, we have been experiencing some weird error, this is taken from the  
logs:

[2013-08-12 15:02:42,156][WARN][index.merge.scheduler] [Strongarm]  
[index3][3] failed to merge  
java.io.FileNotFoundException: \_10va\_e.del  
at  
org.elasticsearch.index.store.Store$StoreDirectory.fileLength(Store.java:448)  
at org.apache.lucene.index.SegmentInfo.sizeInBytes(SegmentInfo.java:303)  
at  
org.apache.lucene.index.MergePolicy$OneMerge.totalBytesSize(MergePolicy.java:174)  
at  
org.apache.lucene.index.TrackingConcurrentMergeScheduler.doMerge(TrackingConcurrentMergeScheduler.java:81)  
at  
org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:456)

Once this error happens the affected index cannot receive new documents to  
be indexed, we have to restart the server in order for the server to work  
again,  
We are running ES "0.19.11", with

Java(TM) SE Runtime Environment (build 1.7.0\_21-b11)  
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)

Can anyone point us in the right direction on how to solve this?

Thanks!

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![simonw\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simonw_2/32/1130_2.png) [@simonw\_2](https://discuss.elastic.co/u/simonw_2)\
**Post date:** [August 15, 2013, 6:31pm UTC](https://discuss.elastic.co/t/failed-to-merge-errors/13219/2 "2013-08-15T18:31:38Z")

</div>

I think what you are seeing is a result of this lucene bug:

[https://issues.apache.org/jira/browse/LUCENE-3051](https://issues.apache.org/jira/browse/LUCENE-3051)

it has been fixed eventually  
here: [[LUCENE-4775] OneMerge.totalBytesSize is trappy - ASF JIRA](https://issues.apache.org/jira/browse/LUCENE-4775)

afaik all 0.19 releases are prone to this bug. I can only recommend to move  
to a newer version of ES preferably to 0.90

simon

On Wednesday, August 14, 2013 11:50:32 PM UTC+2, J. Mora wrote:

> Hi Everyone,
> 
> We have a cluster of 3 servers with 5 indices each with 5 shards and 1  
> replica, we have been experiencing some weird error, this is taken from the  
> logs:
> 
> [2013-08-12 15:02:42,156][WARN][index.merge.scheduler] [Strongarm]  
> [index3][3] failed to merge  
> java.io.FileNotFoundException: \_10va\_e.del  
> at  
> org.elasticsearch.index.store.Store$StoreDirectory.fileLength(Store.java:448)  
> at org.apache.lucene.index.SegmentInfo.sizeInBytes(SegmentInfo.java:303)  
> at  
> org.apache.lucene.index.MergePolicy$OneMerge.totalBytesSize(MergePolicy.java:174)  
> at  
> org.apache.lucene.index.TrackingConcurrentMergeScheduler.doMerge(TrackingConcurrentMergeScheduler.java:81)  
> at  
> org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:456)
> 
> Once this error happens the affected index cannot receive new documents to  
> be indexed, we have to restart the server in order for the server to work  
> again,  
> We are running ES "0.19.11", with
> 
> Java(TM) SE Runtime Environment (build 1.7.0\_21-b11)  
> Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
> 
> Can anyone point us in the right direction on how to solve this?
> 
> Thanks!

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:20am UTC](https://discuss.elastic.co/t/failed-to-merge-errors/13219/3 "2017-07-06T02:20:58Z")

</div>


