Jens Frank wrote:
On Thu, Sep 13, 2007 at 04:36:47PM +0200, Platonides wrote:
Brion Vibber wrote:
The update doesn't really hurt anything if it's run multiple times, either -- the way the update works is that it will add a bogus entry for any page with no entries whatsoever (not even bogus ones).
The update is potentially very slow; running it every time update checks are done would be disruptive to a large site, thus unacceptable.
- -- brion vibber (brion @ wikimedia.org)
Add a field updates_applied to site_stats?
Or a field schema_version that's increased with each installed patch?
I was thinking along the same lines, but something a bit more general. A site_props table, with key-value pairs. It would be like objectcache but guaranteed persistent, and it could be used to hold things such as a boolean value showing when the update in question is applied.
-- Tim Starling