Page MenuHomePhabricator

Bumping up CACHE_VERSION must trigger re-rendering images
Open, Needs TriagePublic


This is to cover the discovered issue described in T218191#5180154 and following comments, before that task was resolved.

It seemed that on some items, bumping up CACHE_VERSION wasn't sufficient to cause generated score images to re-render.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 21 2019, 3:52 PM

Without knowing the full context or code at work here, it sounds like the cached parser output needs to be be actively rejected and then reparsed when CACHE_VERSION changes.
I guess that is not happening somehow?
As long as we are only talking about the parser cache.

Ebe123 added a subscriber: Ebe123.Jun 23 2019, 10:03 PM

The way it is supposed to work right now is when the cache version constant changes, the hash associated with all the files from previous versions change. As a result, the backend cannot get the old directory thus recreating it. Something here isn't working...