# HG changeset patch # User Pierre-Yves David # Date 1535479246 -7200 # Node ID 215235c734e709559f3980ff608b939d9fd63c55 # Parent e8ce05aa9138c0e337cd44b920d60560590ac13a 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. diff -r e8ce05aa9138 -r 215235c734e7 CHANGELOG --- 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 ------------------- diff -r e8ce05aa9138 -r 215235c734e7 hgext3rd/evolve/obsdiscovery.py --- 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'