Page MenuHomePhabricator

Cached thresholds should be purged when model version is incremented
Closed, ResolvedPublic

Description

This should be part of handling a new model version. Old thresholds are meaningless for a new model.

Event Timeline

The proper way to handle it IMO is to include version in the cache key.

I might not pick this up immediately but will do it very soon.

Change 400196 had a related patch set uploaded (by Ladsgroup; owner: Amir Sarabadani):
[mediawiki/extensions/ORES@master] Clean up ThresholdLookup, make the cache key use model version

https://gerrit.wikimedia.org/r/400196

Yes, that looks great! I'll review once the predecessor patch is stabilized.

Change 400196 merged by jenkins-bot:
[mediawiki/extensions/ORES@master] Clean up ThresholdLookup, make the cache key use model version

https://gerrit.wikimedia.org/r/400196