Keep having IndexOutOfRange execption

19 views
Skip to first unread message

paulb...@gmail.com

unread,
Aug 14, 2017, 4:13:01 AM8/14/17
to RavenDB - 2nd generation document database
Hi,

We have raven db running in about 300 installations, and we keep running into index issues.
Every day, at least 1 of the installations starts logging index problems. We get the following message every 5 minutes, until we manually reset the index.

2017-08-14 09:55:51.2641;Raven.Database.Server.WebApi.RequestManager;Warn;;142;Error during idle operation run for <Database>;"System.IO.IOException: Error during flush for <IndexName>/Index ---> System.IndexOutOfRangeException: Index of bound 0
   at Lucene.Net.Util.BitVector.GetAndSet(Int32 bit)
   at Lucene.Net.Index.SegmentReader.DoDelete(Int32 docNum)
   at Lucene.Net.Index.IndexReader.DeleteDocument(Int32 docNum)
   at Lucene.Net.Index.DocumentsWriter.ApplyDeletes(IndexReader reader, Int32 docIDStart)
   at Lucene.Net.Index.DocumentsWriter.ApplyDeletes(SegmentInfos infos)
   at Lucene.Net.Index.IndexWriter.ApplyDeletes()
   at Lucene.Net.Index.IndexWriter.DoFlushInternal(Boolean flushDocStores, Boolean flushDeletes)
   at Lucene.Net.Index.IndexWriter.DoFlush(Boolean flushDocStores, Boolean flushDeletes)
   at Lucene.Net.Index.IndexWriter.PrepareCommit(IDictionary`2 commitUserData)
   at Lucene.Net.Index.IndexWriter.Commit(IDictionary`2 commitUserData)
   at Raven.Database.Indexing.RavenIndexWriter.Commit(Etag lastEtag)
   at Raven.Database.Indexing.Index.Flush(Etag highestETag)
   --- End of inner exception stack trace ---
   at Raven.Database.Indexing.Index.Flush(Etag highestETag)
   at Raven.Database.Indexing.IndexStorage.RunIdleOperations()
   at Raven.Database.DocumentDatabase.RunIdleOperations()
   at Raven.Database.Server.WebApi.RequestManager.IdleOperations(Object state)"

We get similar loggings on the Raven.Database.Indexing.IndexStorage and on the Raven.Database.Indexing.IndexingExecuter

The problems differs between one index giving errors in the raven studio, and all indexes giving errors in the raven studio.

The ravenDB server version is 3.0 (30172)

Is there something we can try so this will not occur anymore?

Thanks,
Paul 

Oren Eini (Ayende Rahien)

unread,
Aug 14, 2017, 4:49:44 AM8/14/17
to ravendb
You need to open a support incident for this. Please send full details to sup...@ravendb.net

Hibernating Rhinos Ltd  

Oren Eini l CEO Mobile: + 972-52-548-6969

Office: +972-4-622-7811 l Fax: +972-153-4-622-7811

 


--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages