Mercurial > hg
diff contrib/relnotes @ 45435:64de86fd0984
tags: take lock instead of wlock before writing hgtagsfnodes1 cache
This cache is shared across stores and hence we should take store lock before
writing to it. Otherwise there will be race where one share with wlock is
writing to this cache and other share with wlock is trying to read it
simultaneously.
Differential Revision: https://phab.mercurial-scm.org/D9001
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Tue, 08 Sep 2020 19:36:40 +0530 |
parents | 99e231afc29c |
children |