TIL: Close button on the RavenDB console simulates a crash

RavenDB 30 April 2012 | 0 Comments

TIL (Today I learnt) pressing the close button on the RavenDB console simulates a crash/unclean shutdown of RavenDB.

This is quite interesting as you test what happens when this scenario occurs.

If you keep pressing the close button on your console, you might end up with the following scary looking purple warning messages:

(Unclean shutdown detected on Index checking the index took X, checking the index for errors. This may take a while.
Checking index X took X, clean: true)

You can help “fix” these errors via having:

<add key=”Raven/ResetIndexOnUncleanShutdown” value=”true”/>

In your “Raven.Server.exe.config” file.

Leave a Reply