Mercurial > evolve
changeset 4034:215235c734e7 stable
obshashrange: force obshashrange invalidation by bumping schema
The fix in 8.1.1 deserve recomputing the obs hash range cache. So we bump its
schema version to declare the older cache invalid. The other caches, including
the expensive stablerange are unaffected.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 28 Aug 2018 20:00:46 +0200 |
parents | e8ce05aa9138 |
children | f1cde4c97806 |
files | CHANGELOG hgext3rd/evolve/obsdiscovery.py |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGELOG Tue Aug 28 10:24:18 2018 +0200 +++ b/CHANGELOG Tue Aug 28 20:00:46 2018 +0200 @@ -5,6 +5,8 @@ ------------------- * obshashrange: improved robusness of the cache under heavy load + * obshashrange: force recomputation of the final obshash related cache + (to make sure people benefit from the 8.1.1 fixes) 8.1.1 -- 2018-08-21 -------------------
--- a/hgext3rd/evolve/obsdiscovery.py Tue Aug 28 10:24:18 2018 +0200 +++ b/hgext3rd/evolve/obsdiscovery.py Tue Aug 28 20:00:46 2018 +0200 @@ -394,7 +394,7 @@ class _obshashcache(obscache.dualsourcecache): - _schemaversion = 2 + _schemaversion = 3 _cachename = 'evo-ext-obshashrange' # used for error message _filename = 'cache/evoext_obshashrange_v2.sqlite'