avoid problem with concurrent clearing of timestamp cache between thread saving indexed attributes (e.g. indexer thread) and another one (e.g. flushing thread)
(cherry picked from commit 47c896c) [r=Peter.Gromov]