Mercurial > evolve
diff CHANGELOG @ 4096:1630756a6a46 stable
obshashrange: force reset if many changes
If there is many new markers (or the markers affect many changesets) resetting
affected changeset can get slow. A common case for that is then changeset and
markers are added in different transaction, (eg: when using clone bundle).
When we detect such case, we reset the obshashrange cache, rewarming it should
be faster.
Here many is arbitrarily set to 10 000. The number might get adjusted.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 13 Sep 2018 02:49:58 +0200 |
parents | ecd90548a10d |
children | f56b58db0c06 |
line wrap: on
line diff
--- a/CHANGELOG Fri Sep 07 11:08:47 2018 -0700 +++ b/CHANGELOG Thu Sep 13 02:49:58 2018 +0200 @@ -5,6 +5,7 @@ ------------------- * obshashrange: issue the "long stable cache" update message only once + * obshashrange: reduce impact of cache invalidation from many new obsmarkers 8.2.0 -- 2018-09-03 -------------------