Commit 7abd5060 authored by Dmitry Batkovich's avatar Dmitry Batkovich Committed by intellij-monorepo-bot
Browse files

do not create corruption marker on ide initialization IDEA-275337

(cherry picked from commit 8fb132ec5cfbed9b4ade15fb66051be390a42860)

IJ-CR-14459

GitOrigin-RevId: 8bb09c9ef6a0faf708edc57f9678f89caee9d9a0
parent 1df70527
Branches unavailable Tags unavailable
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
......@@ -157,7 +157,7 @@ final class FileBasedIndexDataInitialization extends IndexDataInitializer<IndexC
return myState;
}
finally {
CorruptionMarker.markIndexesAsDirty();
//CorruptionMarker.markIndexesAsDirty();
myFileBasedIndex.addStaleIds(myStaleIds);
myFileBasedIndex.setUpFlusher();
myRegisteredIndexes.ensureLoadedIndexesUpToDate();
......
......@@ -642,7 +642,7 @@ public final class FileBasedIndexImpl extends FileBasedIndexEx {
myConnection.disconnect();
}
CorruptionMarker.markIndexesAsClosed();
//CorruptionMarker.markIndexesAsClosed();
}
catch (Throwable e) {
LOG.error("Problems during index shutdown", e);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment