Fix for value storage corruption in short-lived process that performed compaction and exited after that, dirty state wasn't set in such case (IDEA-132488)
(cherry picked from commit 1b55bdb)