{
if (osm_db_restore(p_mgr->p_g2l))
{
+#ifndef __WIN__
+ /*
+ * When Windows is BSODing, it might corrupt files that were
+ * previously opened for writing, even if the files are closed.
+ * This is because of Windows write caching option.
+ * As a result, we might see corrupted guid2lid file.
+ */
if (p_subn->opt.exit_on_fatal)
- {
+ {
osm_log( p_mgr->p_log, OSM_LOG_SYS,
"FATAL: Error restoring Guid-to-Lid persistent database\n" );
status = IB_ERROR;
goto Exit;
}
else
+#endif
{
osm_log( p_mgr->p_log, OSM_LOG_ERROR,
"osm_lid_mgr_init: ERR 0317: "