Fix backward compatibility of portable caches for 212 idea

Write zero to deletedCount value of counters map instead of removing it in context of LookupStorage performance improving
This commit is contained in:
Aleksei.Cherepanov
2021-07-26 16:02:40 +03:00
committed by teamcityserver
parent a24eab9745
commit 4003cd2832
@@ -126,7 +126,7 @@ open class LookupStorage(
countersFile.createNewFile()
}
countersFile.writeText("$size\n")
countersFile.writeText("$size\n0")
}
} finally {
super.flush(memoryCachesOnly)