). I suspect it's related to the checks done as a result of this issue [
]. However, the
masks the location where the original error occurred.
Since sending the database to the support for investigation for the earlier issue, I recovered it (as per Maxim's instructions) and it ran for some time, there were imports running, data manipulation so quite a lot of data manipulation. I have one other database, holding around 1 % of the data of the production database and this database started up correctly.
Raven.Client.Exceptions.Database.DatabaseLoadFailureException: Failed to start database data-prod
At D:\Raven\Databases\data-prod ---> Voron.Exceptions.VoronUnrecoverableErrorException: Object reference not set to an instance of an object.
at Voron.Exceptions.VoronUnrecoverableErrorException.Raise(StorageEnvironment env, String message) in C:\Builds\RavenDB-4.0-Nightly\src\Voron\Exceptions\VoronUnrecoverableErrorException.cs:line 23
at Voron.StorageEnvironment.UpgradeSchemaIfRequired() in C:\Builds\RavenDB-4.0-Nightly\src\Voron\StorageEnvironment.cs:line 350
at Voron.StorageEnvironment.LoadExistingDatabase() in C:\Builds\RavenDB-4.0-Nightly\src\Voron\StorageEnvironment.cs:line 313
at Voron.StorageEnvironment..ctor(StorageEnvironmentOptions options) in C:\Builds\RavenDB-4.0-Nightly\src\Voron\StorageEnvironment.cs:line 145
at Raven.Server.Documents.DocumentsStorage.Initialize(StorageEnvironmentOptions options) in C:\Builds\RavenDB-4.0-Nightly\src\Raven.Server\Documents\DocumentsStorage.cs:line 308
at Raven.Server.Documents.DocumentsStorage.Initialize(Boolean generateNewDatabaseId) in C:\Builds\RavenDB-4.0-Nightly\src\Raven.Server\Documents\DocumentsStorage.cs:line 236
at Raven.Server.Documents.DocumentDatabase.Initialize(InitializeOptions options) in C:\Builds\RavenDB-4.0-Nightly\src\Raven.Server\Documents\DocumentDatabase.cs:line 264
at Raven.Server.Documents.DatabasesLandlord.CreateDocumentsStorage(StringSegment databaseName, RavenConfiguration config) in C:\Builds\RavenDB-4.0-Nightly\src\Raven.Server\Documents\DatabasesLandlord.cs:line 480
--- End of inner exception stack trace ---
at Raven.Server.Documents.DatabasesLandlord.CreateDocumentsStorage(StringSegment databaseName, RavenConfiguration config) in C:\Builds\RavenDB-4.0-Nightly\src\Raven.Server\Documents\DatabasesLandlord.cs:line 494
at Raven.Server.Documents.DatabasesLandlord.ActuallyCreateDatabase(StringSegment databaseName, RavenConfiguration config) in C:\Builds\RavenDB-4.0-Nightly\src\Raven.Server\Documents\DatabasesLandlord.cs:line 454
at Raven.Server.Documents.DatabasesLandlord.<>c__DisplayClass27_0.<CreateDatabaseUnderResourceSemaphore>b__0() in C:\Builds\RavenDB-4.0-Nightly\src\Raven.Server\Documents\DatabasesLandlord.cs:line 406
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Raven.Server.Routing.RouteInformation.<UnlikelyWaitForDatabaseToLoad>d__14.MoveNext() in C:\Builds\RavenDB-4.0-Nightly\src\Raven.Server\Routing\RouteInformation.cs:line 111
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Raven.Server.Routing.RouteInformation.<WaitForDb>d__18.MoveNext() in C:\Builds\RavenDB-4.0-Nightly\src\Raven.Server\Routing\RouteInformation.cs:line 144
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Raven.Server.Routing.RequestRouter.<HandlePath>d__5.MoveNext() in C:\Builds\RavenDB-4.0-Nightly\src\Raven.Server\Routing\RequestRouter.cs:line 73
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at System.Runtime.CompilerServices.ValueTaskAwaiter`1.GetResult()
at Raven.Server.RavenServerStartup.<RequestHandler>d__11.MoveNext() in C:\Builds\RavenDB-4.0-Nightly\src\Raven.Server\RavenServerStartup.cs:line 159