Issues upgrading RavenDB 3.0 to 3.5 (ESENT errors and Lucene errors in log)

59 views
Skip to first unread message

Tom Cabanski

unread,
Jul 21, 2016, 6:15:49 AM7/21/16
to RavenDB - 2nd generation document database
I have an application that uses an embedded RavenDB database that I am trying to upgrade from 3.0.30000 to RavenDB 3.5 (tried 35142-Unstable, rc-35157 and rc-35158). I am seeing repeated groups of errors in the log files from Raven.  These repeat every few seconds and don't seem to stop. I see an ESENT error and then a bunch of Lucene errors over and over again.  The app does seem to work at least for search and RavenDB console isn't showing any errors.  Section of the log below.  What is going on here?  

 2016-07-21 05:02:18.8822|ERROR|Raven.Storage.Esent.TransactionalStorage|Failed to execute transaction. Most likely something is really wrong here. Exception: System.OperationCanceledException: The operation was canceled.
   at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at Raven.Database.Storage.Esent.StorageActions.DocumentStorageActions.<GetDocumentsAfterWithIdStartingWith>d__12.MoveNext() in C:\Builds\RavenDB-3.5-Unstable\Raven.Database\Storage\Esent\StorageActions\Documents.cs:line 315
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Raven.Database.Prefetching.PrefetchingBehavior.<>c__DisplayClass80_0.<GetJsonDocsFromDisk>b__0(IStorageActionsAccessor actions) in C:\Builds\RavenDB-3.5-Unstable\Raven.Database\Prefetching\PrefetchingBehavior.cs:line 646
   at Raven.Storage.Esent.TransactionalStorage.ExecuteBatch(Action`1 action, EsentTransactionContext transactionContext) in C:\Builds\RavenDB-3.5-Unstable\Raven.Database\Storage\Esent\TransactionalStorage.cs:line 884|
2016-07-21 05:02:22.3804|ERROR|Raven.Database.Indexing.LuceneCodecDirectory+CodecIndexOutput|~CodecIndexOutput() C:\development\ServerRabbit\RabbitOperations - Copy\Databases\RabbitOperations\Indexes\15\_t82b6.fdt!|
2016-07-21 05:02:22.3804|ERROR|Raven.Database.Indexing.LuceneCodecDirectory+CodecIndexOutput|~CodecIndexOutput() C:\development\ServerRabbit\RabbitOperations - Copy\Databases\RabbitOperations\Indexes\15\_t82b6.fdx!|
2016-07-21 05:02:22.3804|ERROR|Raven.Database.Indexing.LuceneCodecDirectory+CodecIndexOutput|~CodecIndexOutput() C:\development\ServerRabbit\RabbitOperations - Copy\Databases\RabbitOperations\Indexes\15\_t82b5.fdx!|
2016-07-21 05:02:22.3804|ERROR|Raven.Database.Indexing.LuceneCodecDirectory+CodecIndexOutput|~CodecIndexOutput() C:\development\ServerRabbit\RabbitOperations - Copy\Databases\RabbitOperations\Indexes\15\_t82b5.fdt!|
2016-07-21 05:02:28.0353|ERROR|Raven.Database.Indexing.LuceneCodecDirectory+CodecIndexOutput|~CodecIndexOutput() C:\development\ServerRabbit\RabbitOperations - Copy\Databases\RabbitOperations\Indexes\15\_t82b7.fdx!|
2016-07-21 05:02:28.0443|ERROR|Raven.Database.Indexing.LuceneCodecDirectory+CodecIndexOutput|~CodecIndexOutput() C:\development\ServerRabbit\RabbitOperations - Copy\Databases\RabbitOperations\Indexes\15\_t82b7.tis!|
2016-07-21 05:02:28.0443|ERROR|Raven.Database.Indexing.LuceneCodecDirectory+CodecIndexOutput|~CodecIndexOutput() C:\development\ServerRabbit\RabbitOperations - Copy\Databases\RabbitOperations\Indexes\15\_t82b7.prx!|
2016-07-21 05:02:28.0443|ERROR|Raven.Database.Indexing.LuceneCodecDirectory+CodecIndexOutput|~CodecIndexOutput() C:\development\ServerRabbit\RabbitOperations - Copy\Databases\RabbitOperations\Indexes\15\_t82b7.tii!|
2016-07-21 05:02:28.0443|ERROR|Raven.Database.Indexing.LuceneCodecDirectory+CodecIndexOutput|~CodecIndexOutput() C:\development\ServerRabbit\RabbitOperations - Copy\Databases\RabbitOperations\Indexes\15\_t82b7.nrm!|
2016-07-21 05:02:28.0443|ERROR|Raven.Database.Indexing.LuceneCodecDirectory+CodecIndexOutput|~CodecIndexOutput() C:\development\ServerRabbit\RabbitOperations - Copy\Databases\RabbitOperations\Indexes\15\_t82b7.frq!|
2016-07-21 05:02:28.0443|ERROR|Raven.Database.Indexing.LuceneCodecDirectory+CodecIndexOutput|~CodecIndexOutput() C:\development\ServerRabbit\RabbitOperations - Copy\Databases\RabbitOperations\Indexes\15\_t82b7.fdt!|
2016-07-21 05:02:28.0774|ERROR|Raven.Database.Indexing.LuceneCodecDirectory+CodecIndexOutput|~CodecIndexOutput() C:\development\ServerRabbit\RabbitOperations - Copy\Databases\RabbitOperations\Indexes\15\_t82b7.fnm!|
2016-07-21 05:02:31.0900|ERROR|Raven.Database.Indexing.LuceneCodecDirectory+CodecIndexOutput|~CodecIndexOutput() C:\development\ServerRabbit\RabbitOperations - Copy\Databases\RabbitOperations\Indexes\15\_t82b8.tis!|
2016-07-21 05:02:31.0900|ERROR|Raven.Database.Indexing.LuceneCodecDirectory+CodecIndexOutput|~CodecIndexOutput() C:\development\ServerRabbit\RabbitOperations - Copy\Databases\RabbitOperations\Indexes\15\_t82b8.cfs!|
2016-07-21 05:02:31.1005|ERROR|Raven.Database.Indexing.LuceneCodecDirectory+CodecIndexOutput|~CodecIndexOutput() C:\development\ServerRabbit\RabbitOperations - Copy\Databases\RabbitOperations\Indexes\15\_t82b8.tii!|
2016-07-21 05:02:31.1005|ERROR|Raven.Database.Indexing.LuceneCodecDirectory+CodecIndexOutput|~CodecIndexOutput() C:\development\ServerRabbit\RabbitOperations - Copy\Databases\RabbitOperations\Indexes\15\_t82b8.fnm!|

Tom Cabanski

unread,
Jul 21, 2016, 7:21:45 AM7/21/16
to RavenDB - 2nd generation document database
This looks to be related to 3.5 for sure. I just upgraded from 3.0.30000 to 3.0.30150 without trouble.

Oren Eini (Ayende Rahien)

unread,
Jul 21, 2016, 7:22:19 AM7/21/16
to ravendb, Grisha Kotler
I think that this is because the prefetcher is taking enough time to run that we abort it, but it shouldn't generate an error in the log.



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+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Idan Shalom

unread,
Jul 21, 2016, 7:44:09 AM7/21/16
to rav...@googlegroups.com
Hi Tom.
You can Ignore those exception,
Going to change the location we write them to the logs

Hibernating Rhinos Ltd  cid:image001.png@01CF95E2.8ED1B7D0

Idan Haim Shalom l Core Team Developer Mobile:+972-50-488-2562

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

RavenDB paving the way to "Data Made Simplehttp://ravendb.net

Reply all
Reply to author
Forward
0 new messages